mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-26 16:04:46 +02:00
refactor
This commit is contained in:
@@ -2,6 +2,12 @@ use <util/rand.scad>;
|
||||
use <hull_polyline3d.scad>;
|
||||
use <experimental/tf_ring.scad>;
|
||||
|
||||
size = [20, 100];
|
||||
line_width = 1;
|
||||
step = 1;
|
||||
twist = 180;
|
||||
$fn = 8;
|
||||
|
||||
module tiled_line_mobius(size, twist, step, line_width = 1) {
|
||||
sizexy = is_num(size) ? [size, size] : size;
|
||||
s = is_undef(step) ? line_width * 2 : step;
|
||||
@@ -31,10 +37,4 @@ module tiled_line_mobius(size, twist, step, line_width = 1) {
|
||||
}
|
||||
}
|
||||
|
||||
size = [20, 100];
|
||||
line_width = 1;
|
||||
step = 1;
|
||||
twist = 180;
|
||||
$fn = 8;
|
||||
|
||||
tiled_line_mobius(size, twist, step, line_width);
|
||||
|
Reference in New Issue
Block a user