ensure the frame solid has the proper, complete dimensions

something about the sharp corners of the default cylinder was slightly
shrinking the overall solid by a fraction of a mm. I thought this was a
defect of how I was chopping pieces, but no, it was the core solid. this
shouldn't be a reason to rebuild anything, but it makes the models
slightly more consistent, especially when looking at the STLs

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
Brian S. Stephan 2024-12-04 14:24:47 -06:00
parent 2880018913
commit ef16559b95
Signed by: bss
GPG Key ID: 3DE06D3180895FCB

View File

@ -274,13 +274,13 @@ module frame_solid() {
];
hull() {
for (p = top_points) {
translate(p) cylinder(r=2, h=frame_bevel_height, center=true);
translate(p) cylinder(r=2, h=frame_bevel_height, center=true, $fn=4);
}
for (p = base_points) {
translate(p) cylinder(r=2, h=frame_z-(frame_bevel_height*2), center=true);
translate(p) cylinder(r=2, h=frame_z-(frame_bevel_height*2), center=true, $fn=4);
}
for (p = bottom_points) {
translate(p) cylinder(r=2, h=frame_bevel_height, center=true);
translate(p) cylinder(r=2, h=frame_bevel_height, center=true, $fn=4);
}
}
}