You've got a little problem in the semi template for the fractal plant definition (or any other branching l-system). I don't know if you've seen this thread before: http://groups.google.com/group/grasshopper3d/browse_thread/thread/5d22e025ad94bfd3 What I did in the simple ones is a similar method to yours, add points and then create a polyline thought the points. The problem of your fractal plant is that when a sub-branch finishes and returns to the main branch, that line (from the tip of the sub-branch to the return of the main branch) should not be drawn. I solved it by simply drawing lines in the script instead of adding points. In that thread is the definition.
On Feb 10, 4:53 pm, Rajaa <[email protected]> wrote: > Hi, > > I posted few L-Systems algorithms to GH Gallery > page:http://en.wiki.mcneel.com/default.aspx/McNeel/GrassHopperGallery.html > > I wrote them in semi-template format to make it easy to modify. They > all basically involve three parts: system definition and 2 script > components. The first script is to generate the instructions string > and the other is to implement these instructions. I'll add the > parallel RhinoScript code to these samples in the coming days. > > Enjoy!
