Ivy Unroll Mesh Optimization Problems - Grasshopper2024-03-29T01:59:46Zhttps://www.grasshopper3d.com/forum/topics/ivy-unroll-mesh-optimization-problems?groupUrl=ivy&commentId=2985220%3AComment%3A2111580&x=1&feed=yes&xn_auth=noPolyhedra%20Unfold_AN.gh
Hi…tag:www.grasshopper3d.com,2020-10-17:2985220:Comment:21115802020-10-17T14:41:32.163ZAndrei Nejurhttps://www.grasshopper3d.com/profile/deaarh
<p><a href="https://storage.ning.com/topology/rest/1.0/file/get/8044762264?profile=original" rel="noopener" target="_blank">Polyhedra%20Unfold_AN.gh</a></p>
<p></p>
<p>Hi Priestess,</p>
<p>Here is an update version of you Ivy based GH script. </p>
<p>Ivy is a mesh unfolder so it has different requirements than RhinoUnfold that works with breps.</p>
<p></p>
<p>1. You need to specifically triangulate the polygons of your polyhedron. I've used delaunay mesh for this. This will give you a minimal…</p>
<p><a href="https://storage.ning.com/topology/rest/1.0/file/get/8044762264?profile=original" target="_blank" rel="noopener">Polyhedra%20Unfold_AN.gh</a></p>
<p></p>
<p>Hi Priestess,</p>
<p>Here is an update version of you Ivy based GH script. </p>
<p>Ivy is a mesh unfolder so it has different requirements than RhinoUnfold that works with breps.</p>
<p></p>
<p>1. You need to specifically triangulate the polygons of your polyhedron. I've used delaunay mesh for this. This will give you a minimal nr. or tris for each polygon.</p>
<p>2. You need to set up a strategy for edge weight. In the example I've set the weight through a combination of angle and fold edge length. If angle is close to flat => weight is set to 0. Else weight is set to the inverse of the length of the fold edge (1/x)</p>
<p></p>
<p>This gives a nice unfold I think. But you can change it if you have something more suitable in mind.</p>
<p>As always you can just ignore the flat edges in the fabrication step to get the polygons cut. </p>
<p></p>
<p>Hope this helps. </p>
<p></p>
<p>Ps. For other requests please move the discussion on the McNeel Forum <a rel="nofollow noopener" href="https://discourse.mcneel.com/c/grasshopper/ivy-unroll/97" target="_blank">https://discourse.mcneel.com/c/grasshopper/ivy-unroll/97</a> </p>
<p> </p>