put the rocker mount holes in components, give the plate a better name

This commit is contained in:
Brian S. Stephan 2023-12-13 13:50:24 -06:00
parent 3ee8745d09
commit feebf5a38d
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
2 changed files with 10 additions and 4 deletions

View File

@ -87,6 +87,13 @@ module neutrik_d_mount() {
translate([-9.5, -12, 0]) neutrik_d_screw_hole(); 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 // space for a neutrik D mount or 24mm button - Z is to cut the whole inside without affecting panel lip
module frame_cutout() { module frame_cutout() {
cube([36.5, 8, frame_z-(top_plate_z*2)], center=true); cube([36.5, 8, frame_z-(top_plate_z*2)], center=true);

View File

@ -20,12 +20,11 @@ include <parameters.scad>
include <components.scad> include <components.scad>
use <misc-neutrik-d-plate.scad> use <misc-neutrik-d-plate.scad>
module neutrik_d_plate_20mm() { module rocker_plate_20mm() {
difference() { difference() {
neutrik_d_plate(); neutrik_d_plate();
cylinder(r=10+hole_tolerance, h=5, $fn=50, center=true); rocker_20mm_mount();
cube([2.2, 22, 5], center=true);
} }
} }
neutrik_d_plate_20mm(); rocker_plate_20mm();