1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 12:30:33 +02:00

dedup befor drawing

This commit is contained in:
Justin Lin
2021-08-31 10:02:48 +08:00
parent 3d1a4cbb33
commit fb0672480f
2 changed files with 4 additions and 2 deletions

View File

@@ -1,7 +1,8 @@
use <turtle/lsystem2.scad>;
use <util/dedup.scad>;
use <line2d.scad>;
for(line = fern()) {
for(line = dedup(fern())) {
line2d(
line[0],
line[1],

View File

@@ -1,7 +1,8 @@
use <turtle/lsystem3.scad>;
use <util/dedup.scad>;
use <hull_polyline3d.scad>;
for(line = hilbert_curve()) {
for(line = dedup(hilbert_curve())) {
hull_polyline3d(
[line[0], line[1]],
diameter = 0.5,