algorithmic modeling for Rhino
Could you explain the idea behind the simulation/what you are aiming for?
(also the initial mesh wasn't internalized in the definition above)
I see that you are using both pressure and volume goals, which do similar things, so it might be possible to drop one to speed things up.
Similarly with the SolidPtCollide between the balloons and the SphereCollide between their vertices - these are doing similar things so it might be possible with only one of them.
In general collision goals will be faster when fewer collisions are occurring, since it only has to make a quick check to see which parts might be colliding, whereas once the objects actually overlap, it has to do a more detailed calculation to see exactly where the collision is and compute the response. The sudden jump in iteration time in your simulation might just be the point where most overlaps kick in.
Finally, when changing the actual number of input geometries to Kangaroo (not just their parameters) it is sometimes good to reset the simulation. (This has improved since Kangaroo1 where you always had to reset, and now for some types of simulation it works to add more points while running, but still in certain more complicated setups it is just better to redo the indexing)
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