Grasshopper

algorithmic modeling for Rhino

Hi Guys, 

I currently have a script in VB for grasshopper to create a fractal tree. 

At the moment the script only works in 2D and I'm trying to get it to work in 3D as well unfortunately with not much knowledge about scripting its not going so well. 

If any one could help, that would be awesome!


Script attached. 

Thanks! :)

Views: 3130

Attachments:

Replies to This Discussion

Enjoy it :)

Attachments:

Thank you Daniel, your a life saver! 

Daniel, 

Just wondering if there is a way for me to specify a line or a point where the fractal tree begins? So I could specify multiple starting points? 

Set multiple planes. I use planes because then only with a geometry are giving a location (the origin of the plane) and a direction (the Z axis of the plane).

Thanks Daniel, If I wanted to do this only in 2D it wouldn't work the same way would it? Ideally I would like to specify where the fractal tree starts. 

To specify where the fractal starts sets the planes you want in the first input .

If you mean to draw the fractal in 2d, simply set all angles at zero except the AX.

So for example I have my fractal tree in 2D with two branches, I wouldn't be able to make a new fractal tree start from one of the branches?

But that's what does the code internally ... why you want to repeat that process?

(Using Anemone)

At the moment I'm working on it as a diagram so in 2D, and I wanted to repeat it so that I can make area's denser than others also having some overlapping areas. If that makes sense? 

Nice Script Daniel :)

How about this approach KJ:

1. make the tree as dense as desired.
2. bake tree
3. selectively delete what you don't want.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service