move frame chopper into components for reuse

This commit is contained in:
Brian S. Stephan 2023-08-17 19:55:42 -05:00
parent a94836ff96
commit 0bea740cee
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
2 changed files with 5 additions and 1 deletions

View File

@ -148,6 +148,10 @@ module frame_panel_surround() {
}
}
module frame_side_chopper() {
translate([frame_x/2, 0, 0]) cube([10.001, 2*(frame_y+top_plate_y), 2*(frame_z+top_plate_z)], center=true);
}
module frame_connection_holes() {
translate([frame_x/2, (frame_y/4)+10, (frame_z/4)]) rotate([0, 90, 0]) m4_hole();
translate([frame_x/2, (frame_y/4)+10, -(frame_z/4)]) rotate([0, 90, 0]) m4_hole();

View File

@ -22,7 +22,7 @@ module base_left_frame() {
difference() {
frame();
// chop the right edge off
translate([frame_x/2, 0, 0]) cube([10.001, 2*(frame_y+top_plate_y), 2*(frame_z+top_plate_z)], center=true);
frame_side_chopper();
}
}