algorithmic modeling for Rhino
Hello,
I found that there is a new tool "CPMesh" in kangaroo, I find it useful because i don't know how to perform a circle packing on a surface. I read Mathias Hobinger's Master Thesis as well, but don't know how to optimize a given mesh. Anyway thanks a lot Daniel!
However I ran into the problem of "index out of range".....please help,how to use CPMesh?
having Rhino5 SR6 + GH0.9.0070 + kangaroo0096
Tags:
Hi there, circle packing mesh optimization may also be performed using this freely available tool, it is the original code that was used for Mathias Hobinger's Master Thesis: http://www.evolute.at/software-en/evolutetools-for-rhino/evolutetoo...
Hi,
The circle packing optimization will adjust the vertices of any mesh towards having the tangent incircle property, but your starting mesh only has 12 vertices (it also had an internal non-manifold face, which had to be removed). So I ran the remeshing tool on it to get a larger number of fairly even triangles as a starting point.
Presumably you want to keep close to the original geometry, so I added a pull to mesh force, and pulled the boundary points towards the mesh boundary curve (letting them slide instead of fixing them in place completely).
You could also work from a subdivision mesh starting point if you wanted a different topology.
I hope that helps,
Daniel
Thanks a lot Daniel! It's really a great help to me!
What does it mean when the kangaroo physics engine says "object reference is not set to an instance of an object?"
It depends - this error doesn't tell us much, but it often relates to not all particles getting properly initialized, or the forces not having been updated.
If you share your definition I can take a look though.
Hi Daniel, the definition is actually the cp mesh1 you posted above! I'm running the latest version of grasshopper and kangaroo.
Hi JS, I encountered the same problem at first. Probably you need to check the "RestLengthFactor" input of "SpringsFromMesh". It should be 1 rather than "null".(Or 0, Daniel?I dont's quite understand)
I think it is a bug of grasshopper, I set it to 1 and resave and reload and it becomes null.
Good luck!
Thanks it works! I'll keep this in mind if I run into this error again.
You could also actually even do the remeshing and optimization simultaneously, using the tool I posted here:
http://www.grasshopper3d.com/group/plankton/forum/topics/dynamic-re...
sorry - forgot to include the input mesh. Here's the re-saved file:
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2025 Created by Scott Davidson. Powered by