cleanups to the decorative plates

This commit is contained in:
Brian S. Stephan 2023-11-09 12:29:18 -06:00
parent b9d66a4a2f
commit 544f4fb4ce
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
6 changed files with 21 additions and 25 deletions

View File

@ -20,11 +20,10 @@ include <components.scad>
module button_24mm_decorative_plate() {
difference() {
decorative_add=10;
// get a 1mm slice of the bigger button cylinders
translate([0, 0, -45]) button_24mm_hole();
translate([0, 0, -50]) cube([500, 500, 98], center=true);
translate([0, 0, 50]) cube([500, 500, 98], center=true);
// get a 2mm slice of the bigger button cylinders
translate([0, 0, -55]) button_24mm_hole();
translate([0, 0, -100]) cube([500, 500, 198], center=true);
translate([0, 0, 100]) cube([500, 500, 198], center=true);
// cut out the normal holes
translate([0, 0, -1]) button_24mm_hole();
}

View File

@ -20,11 +20,10 @@ include <components.scad>
module dir_arc_plus_w_24mm_8_button_decorative_plate() {
difference() {
decorative_add=10;
// get a 1mm slice of the bigger button cylinders
translate([0, 0, -45]) dir_arc_plus_w_24mm_8_button();
translate([0, 0, -50]) cube([500, 500, 98], center=true);
translate([0, 0, 50]) cube([500, 500, 98], center=true);
// get a 2mm slice of the bigger button cylinders
translate([0, 0, -55]) dir_arc_plus_w_24mm_8_button();
translate([0, 0, -100]) cube([500, 500, 198], center=true);
translate([0, 0, 100]) cube([500, 500, 198], center=true);
// cut out the normal holes
translate([0, 0, -1]) dir_arc_plus_w_24mm_8_button();
}

View File

@ -20,7 +20,7 @@ include <components.scad>
module dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate() {
difference() {
// get a 1mm slice of the bigger button cylinders
// get a 2mm slice of the bigger button cylinders
union() {
translate([-top_plate_x/2, 0, -65]) dir_arc_w_30mm();
translate([top_plate_x/2, 0, -65]) sega_2p_plus_one();

View File

@ -20,10 +20,10 @@ include <components.scad>
module dir_arc_plus_w_30mm_decorative_plate() {
difference() {
// get a 1mm slice of the bigger button cylinders
translate([0, 0, -45]) dir_arc_w_30mm();
translate([0, 0, -50]) cube([500, 500, 98], center=true);
translate([0, 0, 50]) cube([500, 500, 98], center=true);
// get a 2mm slice of the bigger button cylinders
translate([0, 0, -55]) dir_arc_w_30mm();
translate([0, 0, -100]) cube([500, 500, 198], center=true);
translate([0, 0, 100]) cube([500, 500, 198], center=true);
// cut out the normal holes
translate([0, 0, -1]) dir_arc_w_30mm();
}

View File

@ -20,11 +20,10 @@ include <components.scad>
module sega_2p_6_button_decorative_plate() {
difference() {
decorative_add=10;
// get a 1mm slice of the bigger button cylinders
translate([0, 0, -45]) sega_2p_6_button();
translate([0, 0, -50]) cube([500, 500, 98], center=true);
translate([0, 0, 50]) cube([500, 500, 98], center=true);
// get a 2mm slice of the bigger button cylinders
translate([0, 0, -55]) sega_2p_6_button();
translate([0, 0, -100]) cube([500, 500, 198], center=true);
translate([0, 0, 100]) cube([500, 500, 198], center=true);
// cut out the normal holes
translate([0, 0, -1]) sega_2p_6_button();
}

View File

@ -20,11 +20,10 @@ include <components.scad>
module sega_2p_plus_one_decorative_plate() {
difference() {
decorative_add=10;
// get a 1mm slice of the bigger button cylinders
translate([0, 0, -45]) sega_2p_plus_one();
translate([0, 0, -50]) cube([500, 500, 98], center=true);
translate([0, 0, 50]) cube([500, 500, 98], center=true);
// get a 2mm slice of the bigger button cylinders
translate([0, 0, -55]) sega_2p_plus_one();
translate([0, 0, -100]) cube([500, 500, 198], center=true);
translate([0, 0, 100]) cube([500, 500, 198], center=true);
// cut out the normal holes
translate([0, 0, -1]) sega_2p_plus_one();
}