1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-29 01:11:30 +02:00
This commit is contained in:
Justin Lin
2019-09-29 16:41:47 +08:00
parent e3ff941430
commit 533a5b2833

View File

@@ -13,8 +13,8 @@ k2 = 0.3;
module fern_leaf(t, leng, min_leng, k1, k2, width) { module fern_leaf(t, leng, min_leng, k1, k2, width) {
t1 = t2d(t, "forward", leng = leng); t1 = t2d(t, "forward", leng = leng);
hull_polyline2d([t2d(t, "point"), t2d(t1, "point")], width); hull_polyline2d([t2d(t, "point"), t2d(t1, "point")], width);
if(leng > min_leng) { if(leng > min_leng) {
fern_leaf( fern_leaf(
t2d(t1, "turn", angle = 70), t2d(t1, "turn", angle = 70),