mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-05 14:27:45 +02:00
fixed issue in box_extrude extension
This commit is contained in:
@@ -13,8 +13,8 @@ module box_extrude(height, shell_thickness,
|
|||||||
offset_mode = "delta", chamfer = false, convexity = 3,
|
offset_mode = "delta", chamfer = false, convexity = 3,
|
||||||
twist, slices, scale) {
|
twist, slices, scale) {
|
||||||
|
|
||||||
linear_extrude(shell_thickness + bottom_thickness_delta, scale = scale / height * (shell_thickness + bottom_thickness_delta), convexity = convexity)
|
linear_extrude(shell_thickness + bottom_thickness_delta, scale = scale / height * shell_thickness, convexity = convexity)
|
||||||
offset(delta = -(shell_thickness + bottom_thickness_delta)* 0.99999, chamfer = chamfer)
|
offset(delta = -shell_thickness * 0.99999, chamfer = chamfer)
|
||||||
children();
|
children();
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user