diff --git a/examples/turtle/lsystem2_collection.scad b/examples/turtle/lsystem2_collection.scad index 6fec3e70..fd2fc0c8 100644 --- a/examples/turtle/lsystem2_collection.scad +++ b/examples/turtle/lsystem2_collection.scad @@ -1,7 +1,8 @@ use ; +use ; use ; -for(line = fern()) { +for(line = dedup(fern())) { line2d( line[0], line[1], diff --git a/examples/turtle/lsystem3_collection.scad b/examples/turtle/lsystem3_collection.scad index 11093f45..8ae1b243 100644 --- a/examples/turtle/lsystem3_collection.scad +++ b/examples/turtle/lsystem3_collection.scad @@ -1,7 +1,8 @@ use ; +use ; use ; -for(line = hilbert_curve()) { +for(line = dedup(hilbert_curve())) { hull_polyline3d( [line[0], line[1]], diameter = 0.5,