From ed1d59dc4ffbdf2a031594c2fe16db8f773146d5 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Thu, 16 Apr 2020 08:31:46 +0800 Subject: [PATCH] fix rules --- examples/lsystem3_collection.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/lsystem3_collection.scad b/examples/lsystem3_collection.scad index 6137722a..c0ca1f50 100644 --- a/examples/lsystem3_collection.scad +++ b/examples/lsystem3_collection.scad @@ -1,7 +1,7 @@ use ; use ; -for(line = spring()) { +for(line = vine()) { hull_polyline3d( [line[0], line[1]], thickness = 0.25, @@ -45,7 +45,7 @@ function vine(n = 3, angle = 18, leng = 1, heading = 0, start = [0, 0, 0]) = let( axiom = "--F", rules = [ - ["F", "/F[++F]-\F[--F]+//F"] + ["F", "/F[++F]-\\F[--F]+//F"] ] ) lsystem3(axiom, rules, n, angle, leng, heading, start);