From 7a71c8cd81ee5f6d63e529764bc31ac96d5b34ac Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Fri, 8 Sep 2023 12:22:53 -0500 Subject: [PATCH] simple naming consistency change sed -i 's/topplate_with_raised/top_plate_with_raised/' **/*.scad --- src/components.scad | 6 +++--- src/top-panel-left-lever.scad | 2 +- src/top-panel-middle-dir_arc-plus-w-30mm.scad | 2 +- src/top-panel-right-sega-2p-plus-one.scad | 2 +- src/top-panel-solo-dir_arc-24mm-6-button.scad | 2 +- src/top-panel-solo-dir_arc-plus-w-24mm-8-button.scad | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components.scad b/src/components.scad index 4b01443..2590f01 100644 --- a/src/components.scad +++ b/src/components.scad @@ -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(); } } diff --git a/src/top-panel-left-lever.scad b/src/top-panel-left-lever.scad index 19604c6..2dd30dd 100644 --- a/src/top-panel-left-lever.scad +++ b/src/top-panel-left-lever.scad @@ -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 diff --git a/src/top-panel-middle-dir_arc-plus-w-30mm.scad b/src/top-panel-middle-dir_arc-plus-w-30mm.scad index cf916a9..1aab53a 100644 --- a/src/top-panel-middle-dir_arc-plus-w-30mm.scad +++ b/src/top-panel-middle-dir_arc-plus-w-30mm.scad @@ -20,7 +20,7 @@ include 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(); diff --git a/src/top-panel-right-sega-2p-plus-one.scad b/src/top-panel-right-sega-2p-plus-one.scad index 871d1a0..93ebab0 100644 --- a/src/top-panel-right-sega-2p-plus-one.scad +++ b/src/top-panel-right-sega-2p-plus-one.scad @@ -20,7 +20,7 @@ include 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(); } diff --git a/src/top-panel-solo-dir_arc-24mm-6-button.scad b/src/top-panel-solo-dir_arc-24mm-6-button.scad index 9774660..59fc874 100644 --- a/src/top-panel-solo-dir_arc-24mm-6-button.scad +++ b/src/top-panel-solo-dir_arc-24mm-6-button.scad @@ -20,7 +20,7 @@ include 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(); } } diff --git a/src/top-panel-solo-dir_arc-plus-w-24mm-8-button.scad b/src/top-panel-solo-dir_arc-plus-w-24mm-8-button.scad index 4388467..8101a17 100644 --- a/src/top-panel-solo-dir_arc-plus-w-24mm-8-button.scad +++ b/src/top-panel-solo-dir_arc-plus-w-24mm-8-button.scad @@ -21,7 +21,7 @@ use 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(); }