1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-19 13:01:37 +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,13 +1,10 @@
use <turtle/lsystem3.scad>;
use <util/dedup.scad>;
use <hull_polyline3d.scad>;
use <polyline_join.scad>;
for(line = dedup(hilbert_curve())) {
hull_polyline3d(
[line[0], line[1]],
diameter = 0.5,
$fn = 4
);
polyline_join([line[0], line[1]])
sphere(.25, $fn = 4);
}
function tree1(n = 4, angle = 22.5, leng = 1, heading = 0, start = [0, 0, 0]) =