algorithmic modeling for Rhino
Hi there,
I have a process that simply involves creating a sphere from a point that is trimmed using a box. I am able to change the size of the box to trim the sphere at varying heights.
On the next point in a series of points the same process is applied, however, this object is culled until the first sphere reaches a certain height, implying that until one object has grown to full size the next object can begin to grow.
I am wanting to find a way of using hoopsnake to replicate the process along a series of points. So automatically increasing the height of a sphere until it hits a certain true value then hoopsnake restarts the same process on the next point and so on.
Ive been stuck on this for a while now so any ideas would be appreciated.
My gh file and rhino file are attached.
Thanks!!
George
Tags:
Since Hoopsnakes is a recursive tool I think you should first identify what the geometry, value or condition from the first instance is going to be fed into the function. From what I see it's some presupplied points (center of dome) and values (height of dome), so it's not really recursive (please correctly if I'm wrong).
The most I could do is merge the presupplied conditions so that they feed into the function at the time the function needs them. There's a bug in the termination condition, so it'll not play automatically (Loop All button on Hoopsnake panel); maybe you can work it out.
I've never really used the Termination Condition or the Trigger input. BTW, what is the Trigger input for and how is it used?
Hi there!
Thanks a lot for taking the time to look at this! What you said sounds about right but for some reason i cant seem to open the help 1.gh file in grasshopper as it says IO generated 1 message..... and this is the message:Object reference not set to an instance of an object.
Any ideas?
Thanks again!
George
Sorry you'll have to install GH 0.9 for Rhino 5. In any case, doesn't the screenshot help.
ahhh i didnt realise that sorry. Could you possibly screenshot with text labels opposed to icons, im quite new to the world of grasshopper.
Thanks
I've created an example using Hoopsnake and ShortestWalk some time ago which explains some of the basics. You can take a look at it and see if it helps.
http://dap3.nl/3d-pathfinding-with-hoopsnake-shortestwalk
The real power of hoopsnake is in the way it can handle and store complete datatrees for each iteration.
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