moduleify middle_frame for testing purposes

This commit is contained in:
Brian S. Stephan 2023-08-18 10:08:34 -05:00
parent 42f417d86a
commit 78ea95ecbd
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
1 changed files with 18 additions and 13 deletions

View File

@ -18,7 +18,7 @@
include <components.scad>
module middle_frame() {
module base_middle_frame() {
difference() {
frame();
// chop the left and right edge off
@ -27,18 +27,23 @@ module middle_frame() {
}
}
difference() {
middle_frame();
// connection holes to other frames
frame_connection_holes();
mirror([1, 0, 0]) frame_connection_holes();
module middle_frame() {
difference() {
base_middle_frame();
// connection holes to other frames
frame_connection_holes();
mirror([1, 0, 0]) frame_connection_holes();
// cable routing holes
frame_cable_routing_hole();
mirror([1, 0, 0]) frame_cable_routing_hole();
// cable routing holes
frame_cable_routing_hole();
mirror([1, 0, 0]) frame_cable_routing_hole();
// neutrik mounts for connector, switches
translate([0, 100, 0]) rotate([90, 0, 0]) neutrik_d_mount();
translate([-40, 100, 0]) rotate([90, 0, 0]) neutrik_d_mount();
translate([40, 100, 0]) rotate([90, 0, 0]) neutrik_d_mount();
// neutrik mounts for connector, switches
translate([0, 100, 0]) rotate([90, 0, 0]) neutrik_d_mount();
translate([-40, 100, 0]) rotate([90, 0, 0]) neutrik_d_mount();
translate([40, 100, 0]) rotate([90, 0, 0]) neutrik_d_mount();
}
}
middle_frame();