1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-28 17:00:00 +02:00

use polyline_join

This commit is contained in:
Justin Lin
2021-10-08 09:36:01 +08:00
parent e9440e55d6
commit a14c5676d4
36 changed files with 158 additions and 136 deletions

View File

@@ -1,5 +1,5 @@
use <experimental/tile_truchet.scad>;
use <hull_polyline3d.scad>;
use <polyline_join.scad>;
use <ptf/ptf_ring.scad>;
size = [20, 100];
@@ -28,9 +28,10 @@ module tiled_line_mobius(size, twist, line_diameter = 1) {
]
);
half_line_diameter = line_diameter / 2;
for(line = lines) {
pts = [for(p = line) ptf_ring(size, p, size[0], twist = twist)];
hull_polyline3d(pts, diameter = line_diameter);
polyline_join(pts) sphere(half_line_diameter);
}
}