Compare commits

...

2 Commits

Author SHA1 Message Date
7a71c8cd81
simple naming consistency change
sed -i 's/topplate_with_raised/top_plate_with_raised/' **/*.scad
2023-09-08 12:22:53 -05:00
350fc27285
break up the sega 2P layout into parts
messing with something that may never see the light of day, but no harm
in doing this
2023-09-08 12:15:46 -05:00
6 changed files with 19 additions and 12 deletions

View File

@ -192,7 +192,7 @@ module overhang_plate() {
}
// this takes the base_topplate and makes it a small frame, putting a larger top plate
module base_topplate_with_raised_overhang() {
module base_top_plate_with_raised_overhang() {
// make a frame out of the top plate (and keep the main plate on the center plane)
translate([0, 0, -5]) difference() {
base_topplate();
@ -219,9 +219,9 @@ module bottom_plate_with_overhang() {
}
}
module topplate_with_raised_overhang() {
module top_plate_with_raised_overhang() {
difference() {
base_topplate_with_raised_overhang();
base_top_plate_with_raised_overhang();
top_plate_holes();
}
}
@ -357,17 +357,24 @@ module sega_2p_p1() {
translate([-top_plate_x/2, -top_plate_y/2, 0]) translate([28.06, 145, 0]) button_30mm_hole();
}
module sega_2p_plus_one() {
module sega_2p_6_button() {
// via slagcoin
sega_2p_p1();
translate([30.5, 11+9, 0]) sega_2p_p1();
translate([30.5+36, 11+9, 0]) sega_2p_p1();
translate([30.5+36+36, 11, 0]) sega_2p_p1();
translate([0, -19-9-11, 0]) sega_2p_p1();
translate([30.5, -19, 0]) sega_2p_p1();
translate([30.5+36, -19, 0]) sega_2p_p1();
translate([30.5+36+36, -19-9, 0]) sega_2p_p1();
}
// just my guesstimate on this one, but note that this is the same position as sega 2p
module sega_2p() {
sega_2p_6_button();
translate([30.5+36+36, 11, 0]) sega_2p_p1();
translate([30.5+36+36, -19-9, 0]) sega_2p_p1();
}
module sega_2p_plus_one() {
sega_2p();
// just my guesstimate on this one
translate([0, -19-9-11-19-9-11, 0]) sega_2p_p1();
}

View File

@ -23,7 +23,7 @@ module top_panel_left_lever() {
difference() {
// base plate
union() {
translate([0,-20,0]) topplate_with_raised_overhang();
translate([0,-20,0]) top_plate_with_raised_overhang();
translate([0, 0, -((top_plate_z/2)+(lever_mount_z/2))]) levermountbase();
}
// holes to mount the lever

View File

@ -20,7 +20,7 @@ include <components.scad>
module top_panel_middle_dir_arc_w_30mm() {
difference() {
topplate_with_raised_overhang();
top_plate_with_raised_overhang();
dir_arc_w_30mm();
rotate([0, 0, 180]) side_chopper();
side_chopper();

View File

@ -20,7 +20,7 @@ include <components.scad>
module top_panel_right_sega_2p_plus_one() {
difference() {
topplate_with_raised_overhang();
top_plate_with_raised_overhang();
sega_2p_plus_one();
rotate([0, 0, 180]) side_chopper();
}

View File

@ -20,7 +20,7 @@ include <components.scad>
module dir_arc_24mm_6_button_panel() {
difference() {
rotate([0, 0, -90]) topplate_with_raised_overhang();
rotate([0, 0, -90]) top_plate_with_raised_overhang();
translate([-top_plate_x+105, -top_plate_y/2+135, 0]) dir_arc_24mm_6_button();
}
}

View File

@ -21,7 +21,7 @@ use <top-panel-solo-dir_arc-24mm-6-button.scad>
module dir_arc_plus_w_24mm_8_button_panel() {
difference() {
rotate([0, 0, -90]) topplate_with_raised_overhang();
rotate([0, 0, -90]) top_plate_with_raised_overhang();
translate([-top_plate_x+105, -top_plate_y/2+123, 0]) dir_arc_24mm_8_button_compressed();
translate([-34.5, 51, 0]) button_24mm_hole();
}