From 19185c677a695a86ca17cbfed0f7b208bc75326d Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Wed, 2 Oct 2019 09:03:34 +0800 Subject: [PATCH] add params --- src/box_extrude.scad | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/box_extrude.scad b/src/box_extrude.scad index 689d6075..feebdc5e 100644 --- a/src/box_extrude.scad +++ b/src/box_extrude.scad @@ -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") {