mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-07 07:16:36 +02:00
dedup befor drawing
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
use <turtle/lsystem2.scad>;
|
use <turtle/lsystem2.scad>;
|
||||||
|
use <util/dedup.scad>;
|
||||||
use <line2d.scad>;
|
use <line2d.scad>;
|
||||||
|
|
||||||
for(line = fern()) {
|
for(line = dedup(fern())) {
|
||||||
line2d(
|
line2d(
|
||||||
line[0],
|
line[0],
|
||||||
line[1],
|
line[1],
|
||||||
|
@@ -1,7 +1,8 @@
|
|||||||
use <turtle/lsystem3.scad>;
|
use <turtle/lsystem3.scad>;
|
||||||
|
use <util/dedup.scad>;
|
||||||
use <hull_polyline3d.scad>;
|
use <hull_polyline3d.scad>;
|
||||||
|
|
||||||
for(line = hilbert_curve()) {
|
for(line = dedup(hilbert_curve())) {
|
||||||
hull_polyline3d(
|
hull_polyline3d(
|
||||||
[line[0], line[1]],
|
[line[0], line[1]],
|
||||||
diameter = 0.5,
|
diameter = 0.5,
|
||||||
|
Reference in New Issue
Block a user