1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-10 08:44:20 +02:00

change pr

This commit is contained in:
Justin Lin
2020-04-16 09:02:56 +08:00
parent 697698a296
commit de08b72240

View File

@@ -1,7 +1,7 @@
use <experimental/lsystem3.scad>; use <experimental/lsystem3.scad>;
use <hull_polyline3d.scad>; use <hull_polyline3d.scad>;
for(line = tree2()) { for(line = plant()) {
hull_polyline3d( hull_polyline3d(
[line[0], line[1]], [line[0], line[1]],
thickness = 0.25, thickness = 0.25,
@@ -38,7 +38,7 @@ function plant(n = 4, angle = 30, leng = 1, heading = 0, start = [0, 0, 0]) =
["B", "A/B"] ["B", "A/B"]
] ]
) )
lsystem3(axiom, rules, n, angle, leng, heading, start, forward_chars = "AB", rules_pr = [1, .5, 1]); lsystem3(axiom, rules, n, angle, leng, heading, start, forward_chars = "AB", rules_pr = [1, .5, .5]);
function hilbert_curve(n = 3, angle = 90, leng = 1, heading = 0, start = [0, 0, 0]) = function hilbert_curve(n = 3, angle = 90, leng = 1, heading = 0, start = [0, 0, 0]) =
let( let(