group the three 24mm buttons used in frames in one component
this is a bit cleaner/DRY, and also lets me experiment with a decorative plate easily
This commit is contained in:
parent
769f184d1d
commit
62c804ed35
@ -92,6 +92,13 @@ 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// bank of three 24mm buttons, commonly on a frame face
|
||||||
|
module aux_control_three_button_cluster() {
|
||||||
|
translate([-40, 0, 0]) button_24mm_hole();
|
||||||
|
translate([0, 0, 0]) button_24mm_hole();
|
||||||
|
translate([40, 0, 0]) button_24mm_hole();
|
||||||
|
}
|
||||||
|
|
||||||
module m2_mount_post() {
|
module m2_mount_post() {
|
||||||
difference() {
|
difference() {
|
||||||
cylinder(r=m2_screw_selftap_radius*2.25, h=3, $fn=6, center=true);
|
cylinder(r=m2_screw_selftap_radius*2.25, h=3, $fn=6, center=true);
|
||||||
|
@ -37,11 +37,9 @@ module left_frame() {
|
|||||||
frame_cable_routing_hole();
|
frame_cable_routing_hole();
|
||||||
|
|
||||||
// aux button holes
|
// aux button holes
|
||||||
translate([-30, 101.5, 0]) rotate([270, 0, 0]) button_24mm_hole();
|
translate([-30, 101.5, 0]) rotate([270, 0, 0]) aux_control_three_button_cluster();
|
||||||
translate([-30, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
|
translate([-30, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
|
||||||
translate([-70, 101.5, 0]) rotate([270, 0, 0]) button_24mm_hole();
|
|
||||||
translate([-70, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
|
translate([-70, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
|
||||||
translate([10, 101.5, 0]) rotate([270, 0, 0]) button_24mm_hole();
|
|
||||||
translate([10, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
|
translate([10, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
|
||||||
|
|
||||||
// neutrix button hole
|
// neutrix button hole
|
||||||
|
@ -37,11 +37,9 @@ module right_frame() {
|
|||||||
mirror([1, 0, 0]) frame_cable_routing_hole();
|
mirror([1, 0, 0]) frame_cable_routing_hole();
|
||||||
|
|
||||||
// aux button holes
|
// aux button holes
|
||||||
translate([30, 101.5, 0]) rotate([270, 0, 0]) button_24mm_hole();
|
translate([30, 101.5, 0]) rotate([270, 0, 0]) aux_control_three_button_cluster();
|
||||||
translate([30, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
|
translate([30, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
|
||||||
translate([70, 101.5, 0]) rotate([270, 0, 0]) button_24mm_hole();
|
|
||||||
translate([70, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
|
translate([70, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
|
||||||
translate([-10, 101.5, 0]) rotate([270, 0, 0]) button_24mm_hole();
|
|
||||||
translate([-10, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
|
translate([-10, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
|
||||||
|
|
||||||
// neutrix button hole
|
// neutrix button hole
|
||||||
|
@ -32,23 +32,14 @@ module solo_frame() {
|
|||||||
translate([40, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
|
translate([40, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
|
||||||
|
|
||||||
// aux button holes
|
// aux button holes
|
||||||
translate([-frame_x/2+2.5, 0, 0]) rotate([0, 0, 270])
|
translate([-frame_x/2+2.5, 0, 0]) rotate([90, 0, 270]) aux_control_three_button_cluster();
|
||||||
translate([0, 0, 0]) rotate([90, 0, 0]) button_24mm_hole();
|
|
||||||
translate([(frame_x/2)-neutrik_panel_thickness-4, 0, 0]) rotate([0, 0, 90]) frame_cutout();
|
translate([(frame_x/2)-neutrik_panel_thickness-4, 0, 0]) rotate([0, 0, 90]) frame_cutout();
|
||||||
translate([-frame_x/2+2.5, 0, 0]) rotate([0, 0, 270])
|
|
||||||
translate([-40, 0, 0]) rotate([90, 0, 0]) button_24mm_hole();
|
|
||||||
translate([(frame_x/2)-neutrik_panel_thickness-4, -40, 0]) rotate([0, 0, 90]) frame_cutout();
|
translate([(frame_x/2)-neutrik_panel_thickness-4, -40, 0]) rotate([0, 0, 90]) frame_cutout();
|
||||||
translate([-frame_x/2+2.5, 0, 0]) rotate([0, 0, 270])
|
|
||||||
translate([40, 0, 0]) rotate([90, 0, 0]) button_24mm_hole();
|
|
||||||
translate([(frame_x/2)-neutrik_panel_thickness-4, 40, 0]) rotate([0, 0, 90]) frame_cutout();
|
translate([(frame_x/2)-neutrik_panel_thickness-4, 40, 0]) rotate([0, 0, 90]) frame_cutout();
|
||||||
translate([frame_x/2-2.5, 0, 0]) rotate([0, 0, 90])
|
|
||||||
translate([0, 0, 0]) rotate([90, 0, 0]) button_24mm_hole();
|
translate([frame_x/2+2.5, 0, 0]) rotate([90, 0, 270]) aux_control_three_button_cluster();
|
||||||
translate([-(frame_x/2)+neutrik_panel_thickness+4, 0, 0]) rotate([0, 0, 90]) frame_cutout();
|
translate([-(frame_x/2)+neutrik_panel_thickness+4, 0, 0]) rotate([0, 0, 90]) frame_cutout();
|
||||||
translate([frame_x/2-2.5, 0, 0]) rotate([0, 0, 90])
|
|
||||||
translate([-40, 0, 0]) rotate([90, 0, 0]) button_24mm_hole();
|
|
||||||
translate([-(frame_x/2)+neutrik_panel_thickness+4, -40, 0]) rotate([0, 0, 90]) frame_cutout();
|
translate([-(frame_x/2)+neutrik_panel_thickness+4, -40, 0]) rotate([0, 0, 90]) frame_cutout();
|
||||||
translate([frame_x/2-2.5, 0, 0]) rotate([0, 0, 90])
|
|
||||||
translate([40, 0, 0]) rotate([90, 0, 0]) button_24mm_hole();
|
|
||||||
translate([-(frame_x/2)+neutrik_panel_thickness+4, 40, 0]) rotate([0, 0, 90]) frame_cutout();
|
translate([-(frame_x/2)+neutrik_panel_thickness+4, 40, 0]) rotate([0, 0, 90]) frame_cutout();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user