1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-29 11:58:39 +01:00

fixed issue in box_extrude extension

This commit is contained in:
chilL1n 2020-07-01 16:34:40 +02:00
parent 3258596d85
commit d9664b3b14

View File

@ -13,8 +13,8 @@ module box_extrude(height, shell_thickness,
offset_mode = "delta", chamfer = false, convexity = 3,
twist, slices, scale) {
linear_extrude(shell_thickness + bottom_thickness_delta, scale = scale / height * (shell_thickness + bottom_thickness_delta), convexity = convexity)
offset(delta = -(shell_thickness + bottom_thickness_delta)* 0.99999, chamfer = chamfer)
linear_extrude(shell_thickness + bottom_thickness_delta, scale = scale / height * shell_thickness, convexity = convexity)
offset(delta = -shell_thickness * 0.99999, chamfer = chamfer)
children();