1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-31 10:11:53 +02:00

update all

This commit is contained in:
Justin Lin
2019-10-02 09:57:22 +08:00
parent 9d751ada18
commit 69cbd7e88a

View File

@@ -5921,11 +5921,16 @@ function __edge_r_end(orig_r, a, a_step, n) =
* *
**/ **/
module box_extrude(height, shell_thickness, offset_mode = "delta", chamfer = false) { module box_extrude(height, shell_thickness,
linear_extrude(shell_thickness) offset_mode = "delta", chamfer = false,
twist, slices, scale) {
linear_extrude(shell_thickness, scale = scale / height * shell_thickness)
offset(delta = -shell_thickness * 0.99999, chamfer = chamfer)
children(); children();
linear_extrude(height)
linear_extrude(height, twist = twist, slices = slices, scale = scale)
difference() { difference() {
children(); children();
if(offset_mode == "delta") { if(offset_mode == "delta") {
@@ -5936,9 +5941,7 @@ module box_extrude(height, shell_thickness, offset_mode = "delta", chamfer = fal
children(); children();
} }
} }
} }
/** /**
* archimedean_spiral_extrude.scad * archimedean_spiral_extrude.scad