From feebf5a38d0694d81bc2cdc546cea0a136e23b6a Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Wed, 13 Dec 2023 13:50:24 -0600 Subject: [PATCH] put the rocker mount holes in components, give the plate a better name --- src/components.scad | 7 +++++++ ...-d-plate-20mm-hole.scad => misc-rocker-20mm-plate.scad} | 7 +++---- 2 files changed, 10 insertions(+), 4 deletions(-) rename src/{misc-neutrik-d-plate-20mm-hole.scad => misc-rocker-20mm-plate.scad} (85%) diff --git a/src/components.scad b/src/components.scad index 520e160..3f4fbca 100644 --- a/src/components.scad +++ b/src/components.scad @@ -87,6 +87,13 @@ module neutrik_d_mount() { translate([-9.5, -12, 0]) neutrik_d_screw_hole(); } +module rocker_20mm_mount() { + cylinder(r=10+hole_tolerance, h=5, $fn=50, center=true); + cube([2.2, 22, 5], center=true); + translate([9.5, 12, 0]) neutrik_d_screw_hole(); + translate([-9.5, -12, 0]) neutrik_d_screw_hole(); +} + // space for a neutrik D mount or 24mm button - Z is to cut the whole inside without affecting panel lip module frame_cutout() { cube([36.5, 8, frame_z-(top_plate_z*2)], center=true); diff --git a/src/misc-neutrik-d-plate-20mm-hole.scad b/src/misc-rocker-20mm-plate.scad similarity index 85% rename from src/misc-neutrik-d-plate-20mm-hole.scad rename to src/misc-rocker-20mm-plate.scad index f2f3a12..c5370e3 100644 --- a/src/misc-neutrik-d-plate-20mm-hole.scad +++ b/src/misc-rocker-20mm-plate.scad @@ -20,12 +20,11 @@ include include use -module neutrik_d_plate_20mm() { +module rocker_plate_20mm() { difference() { neutrik_d_plate(); - cylinder(r=10+hole_tolerance, h=5, $fn=50, center=true); - cube([2.2, 22, 5], center=true); + rocker_20mm_mount(); } } -neutrik_d_plate_20mm(); +rocker_plate_20mm();