1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-07-31 20:10:36 +02:00

printable setting

This commit is contained in:
Justin Lin
2020-02-13 20:56:00 +08:00
parent a4ff4a7746
commit 40589cf204

View File

@@ -24,17 +24,17 @@ module tiled_line_mobius(size, twist, step, line_width = 1) {
[[size[0], i], [size[0], i + step]] [[size[0], i], [size[0], i + step]]
] ]
); );
for(line = lines) { for(line = lines) {
pts = [for(p = line) tf_ring(size, p, size[0], 360, twist)]; pts = [for(p = line) tf_ring(size, p, size[0], 360, twist)];
hull_polyline3d(pts, thickness = line_width); hull_polyline3d(pts, thickness = line_width);
} }
} }
size = [20, 100]; size = [20, 75];
line_width = .5; line_width = 1.5;
step = 1; step = 1;
twist = 180; twist = 180;
$fn = 4; $fn = 8;
tiled_line_mobius(size, twist, step, line_width); tiled_line_mobius(size, twist, step, line_width);