chamfer the frame bottom

chamfering a new bottom panel also chamfers the bottom of the frame,
since the panel subtracts from the cube, the goal being to need fewer
supports on the frame and simplify the overall post-print

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
Brian S. Stephan 2024-02-11 18:44:02 -06:00
parent 773433cd10
commit fd2f1da28c
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
2 changed files with 21 additions and 4 deletions

View File

@ -6,8 +6,8 @@
include <parameters.scad>
include <components.scad>
module bottom_panel() {
mirror([0, 0, 1]) panel();
module inset_bottom_panel() {
bottom_panel();
}
bottom_panel();
inset_bottom_panel();

View File

@ -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();