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

add params

This commit is contained in:
Justin Lin
2019-10-02 09:03:34 +08:00
parent 64ada004ba
commit 19185c677a

View File

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