mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-30 01:40:02 +02:00
add params
This commit is contained in:
@@ -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)
|
linear_extrude(shell_thickness)
|
||||||
|
offset(delta = -shell_thickness, 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") {
|
||||||
|
Reference in New Issue
Block a user