1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-11 17:24:20 +02:00

scale bottom

This commit is contained in:
Justin Lin
2019-10-02 09:12:03 +08:00
parent e7e0494aa1
commit 07b95f0240

View File

@@ -12,8 +12,8 @@ module box_extrude(height, shell_thickness,
offset_mode = "delta", chamfer = false,
twist, slices, scale) {
linear_extrude(shell_thickness)
offset(delta = -shell_thickness, chamfer = chamfer)
linear_extrude(shell_thickness, scale = scale / height * shell_thickness)
offset(delta = -shell_thickness * 1.00001, chamfer = chamfer)
children();