I am trying to optimise a freeform surface to get as many typical sized panels as possible for a surface:
I have created the initial triangle paneling on the surface using the lunchbox plugin for grasshopper. From there, I am trying to use Kangaroo to relax the mesh and hopefully minimise the number of unique panels along the surface:
I have used 3 goals to try and achieve this:
- I am trying to clamp the lengths of each triangle within a certain tolerance. This force is what I hope will standardise each panel.
- Keeping the vertices of each triangle panel locked onto the surface. Otherwise it will not keep the original form.
3. Lock Edge Points
- I am relaxing an extended version of the original surface, this will give me more panels to work with when relaxing the mesh. I have locked the naked edges of this extended surface outside of a bounding box brep of the original surface. This will ensure that the panels will cover the portion of the surface that I want to optimise.
The issue I am having is that I am getting a “wrinkling” affect in many of my simulations… I think this is due to the panels wanting to flip over each other in order to achieve the previous goals. Obviously this is not what I want, I have tried using the Hinge component to lock them in place but it hasn’t been working…
I have attached both my rhino and simplified grasshopper file with data internalised to this post. If anyone had any other suggestions on how to fix this? Or propose reasons why this is happening in the first place? I’ll be honest, I am still fairly new to kangaroo so this may be an easy fix for some people out there. Any help would be greatly appreciated.
Sock_Optimiser.gh (284.9 KB)
Sock_Optimiser.3dm (76.8 KB)