1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-27 00:17:27 +02:00
This commit is contained in:
Justin Lin
2020-02-15 21:09:26 +08:00
parent 9a10484fee
commit 4a7abcf263

View File

@@ -2,6 +2,12 @@ use <util/rand.scad>;
use <hull_polyline3d.scad>; use <hull_polyline3d.scad>;
use <experimental/tf_ring.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) { module tiled_line_mobius(size, twist, step, line_width = 1) {
sizexy = is_num(size) ? [size, size] : size; sizexy = is_num(size) ? [size, size] : size;
s = is_undef(step) ? line_width * 2 : step; 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); tiled_line_mobius(size, twist, step, line_width);