mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-07 15:26:39 +02:00
move to example
This commit is contained in:
@@ -1,4 +1,15 @@
|
|||||||
use <experimental/lsystem2.scad>;
|
use <experimental/lsystem2.scad>;
|
||||||
|
use <line2d.scad>;
|
||||||
|
|
||||||
|
for(line = koch_curve_3()) {
|
||||||
|
line2d(
|
||||||
|
line[0],
|
||||||
|
line[1],
|
||||||
|
.2,
|
||||||
|
p1Style = "CAP_ROUND",
|
||||||
|
p2Style = "CAP_ROUND"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
function tree(n = 2, angle = 36, leng = 1, heading = 0, start = [0, 0]) =
|
function tree(n = 2, angle = 36, leng = 1, heading = 0, start = [0, 0]) =
|
||||||
let(
|
let(
|
@@ -1,12 +0,0 @@
|
|||||||
use <experimental/lsystem2_collections.scad>;
|
|
||||||
use <line2d.scad>;
|
|
||||||
|
|
||||||
for(line = sierpinski_square()) {
|
|
||||||
line2d(
|
|
||||||
line[0],
|
|
||||||
line[1],
|
|
||||||
.5,
|
|
||||||
p1Style = "CAP_ROUND",
|
|
||||||
p2Style = "CAP_ROUND"
|
|
||||||
);
|
|
||||||
}
|
|
Reference in New Issue
Block a user