Closed chill1n closed 4 years ago
That's indeed even better. What's the purpose of the following code: intersection() { linear_extrude(btm_thickness) square(65536, center = true); // 65536: just large enough size to cover the children
linear_extrude(height, convexity = convexity, twist = twist, slices
= slices, scale = scale) children(); }
Isn't it simpler to just use: linear_extrude(btm_thickness, convexity = convexity, twist = twist, slices = slices, scale = scale) children();
On Thu, Jul 2, 2020 at 3:15 PM Justin Lin notifications@github.com wrote:
Thanks, I changed bottom_thickness_delta to bottom_thickness, default to shell_thickness.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JustinSDK/dotSCAD/pull/12#issuecomment-652998571, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7BXHEPH62FWKMACGCOCSTRZSB5JANCNFSM4ONPMYPA .
Not that simple. Given the code:
use <box_extrude.scad>;
box_extrude(height = 30, shell_thickness = 2, scale = 1.5)
text("X", size = 40, font = "Cooper Black", valign="center", halign="center");
Your simpler code will generate a bottom like this:
Although some math might be useful for creating a seamless bottom, the intersection section is an easy way, especially for situations that users specify twist
, slices
, and scale
.
Indeed, for those use cases, something like this is needed and still simple. Thanks for explaining.
On Fri, Jul 3, 2020 at 4:12 AM Justin Lin notifications@github.com wrote:
Although some math might be useful for creating a seamless bottom, the intersection section is a simpler way, especially for situations that users specify twist, slices and scale.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JustinSDK/dotSCAD/pull/12#issuecomment-653296916, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7BXHF3BDIBHL7GPAADGMLRZU5BNANCNFSM4ONPMYPA .
Thanks, I changed
bottom_thickness_delta
tobottom_thickness
, default toshell_thickness
.