diff --git a/src/bottom-panel-inset.scad b/src/bottom-panel-inset.scad index 2a5e3c4..6baca76 100644 --- a/src/bottom-panel-inset.scad +++ b/src/bottom-panel-inset.scad @@ -6,8 +6,8 @@ include include -module bottom_panel() { - mirror([0, 0, 1]) panel(); +module inset_bottom_panel() { + bottom_panel(); } -bottom_panel(); +inset_bottom_panel(); diff --git a/src/components.scad b/src/components.scad index 01aa330..f624e4b 100644 --- a/src/components.scad +++ b/src/components.scad @@ -166,6 +166,16 @@ module base_panel() { cube([panel_x, panel_y, panel_z], center=true); } +module base_bottom_panel() { + difference() { + base_panel(); + translate([0, panel_y/2, panel_z]) rotate([45, 0, 0]) cube([panel_x+0.01, 10, 10], center=true); + translate([0, -panel_y/2, panel_z]) rotate([315, 0, 0]) cube([panel_x+0.01, 10, 10], center=true); + translate([panel_x/2, 0, panel_z]) rotate([0, 45, 0]) cube([10, panel_y+0.01, 10], center=true); + translate([-panel_x/2, 0, panel_z]) rotate([0, 315, 0]) cube([10, panel_y+0.01, 10], center=true); + } +} + module panel() { difference() { base_panel(); @@ -173,6 +183,13 @@ module panel() { } } +module bottom_panel() { + difference() { + base_bottom_panel(); + mirror([0, 0, 1]) panel_holes(); + } +} + module overhang_plate() { roundedcube([overhang_panel_x, overhang_panel_y, panel_z], center=true, radius=1); } @@ -250,7 +267,7 @@ module frame() { difference() { base_frame(); translate([0, 0, frame_z/2]) scale([1, 1, 2]) base_panel(); - translate([0, 0, -frame_z/2]) scale([1, 1, 2]) base_panel(); + translate([0, 0, -frame_z/2]) scale([1, 1, 2]) base_bottom_panel(); translate([panel_to_frame_point_x, panel_to_frame_point_y, 0]) frame_hex_bolt_hole(); translate([-panel_to_frame_point_x, panel_to_frame_point_y, 0]) frame_hex_bolt_hole(); translate([panel_to_frame_point_x, -panel_to_frame_point_y, 0]) frame_hex_bolt_hole();