algorithmic modeling for Rhino
Hi there,
I'm trying to created some Koch fractals using python, but for some reason when i try to append the "l" in the def to "lineList", the script editor comes up with "unexpected token". I've tried to alter it a few times but around that same area it just keeps failing! I need help!
Here's the link to the tutorial I was trying to emulate https://www.youtube.com/watch?v=iWfepR9gKDg
and here's the gh file I've been working on KochFractals.gh
thanks heaps
Tags:
Hi Max,
You are not appending the polyline you create with AddPolyline, to lineList (line 37).
Other than that when accessing an element inside of list (or tuple) use the square brackets, not the round ones.
Simple as that! boy, thanks mate, you're a life saver!
much appreciated
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by