built-in method for Delaunay mesh - Grasshopper2024-03-29T09:04:45Zhttps://www.grasshopper3d.com/forum/topics/built-in-method-for-delaunay-mesh?feed=yes&xn_auth=noAh!
Ok, David, I got it!
…tag:www.grasshopper3d.com,2011-10-15:2985220:Comment:4531072011-10-15T14:15:49.507ZMiguel Vidalhttps://www.grasshopper3d.com/profile/MiguelVidal
<p>Ah!</p>
<p> </p>
<p>Ok, David, I got it!</p>
<p> </p>
<p>Thanks.</p>
<p> </p>
<p>Cheers.</p>
<p>Ah!</p>
<p> </p>
<p>Ok, David, I got it!</p>
<p> </p>
<p>Thanks.</p>
<p> </p>
<p>Cheers.</p> If you want a Mesh, you shoul…tag:www.grasshopper3d.com,2011-10-14:2985220:Comment:4508382011-10-14T12:50:35.939ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<p>If you want a Mesh, you should use Solve_Mesh() as it returns a Rhino.Geometry.Mesh instance.</p>
<p> </p>
<p>--</p>
<p>David Rutten</p>
<p>david@mcneel.com</p>
<p>Poprad, Slovakia</p>
<p>If you want a Mesh, you should use Solve_Mesh() as it returns a Rhino.Geometry.Mesh instance.</p>
<p> </p>
<p>--</p>
<p>David Rutten</p>
<p>david@mcneel.com</p>
<p>Poprad, Slovakia</p> Hi David,
Thanks for your r…tag:www.grasshopper3d.com,2011-10-14:2985220:Comment:4508162011-10-14T10:00:00.943ZMiguel Vidalhttps://www.grasshopper3d.com/profile/MiguelVidal
<p>Hi David,</p>
<p> </p>
<p>Thanks for your reply.</p>
<p> </p>
<p>Just a quick question: how could I actually get the Delaunay mesh from a set of points then?</p>
<p>I tried:<br></br> <code><br></br> Grasshopper.Kernel.Geometry.Node2List nodes = new Grasshopper.Kernel.Geometry.Node2List();<br></br>
for(int i = 0; i < points.Count; i++)<br></br>
{<br></br>
nodes.Append(new Grasshopper.Kernel.Geometry.Node2(points[i].X, points[i].Y));<br></br>
}<br></br>
List faces =…</code></p>
<p>Hi David,</p>
<p> </p>
<p>Thanks for your reply.</p>
<p> </p>
<p>Just a quick question: how could I actually get the Delaunay mesh from a set of points then?</p>
<p>I tried:<br/> <code><br/>
Grasshopper.Kernel.Geometry.Node2List nodes = new Grasshopper.Kernel.Geometry.Node2List();<br/>
for(int i = 0; i < points.Count; i++)<br/>
{<br/>
nodes.Append(new Grasshopper.Kernel.Geometry.Node2(points[i].X, points[i].Y));<br/>
}<br/>
List faces = Grasshopper.Kernel.Geometry.Delaunay.Solver.Solve_Faces(nodes, 0.0);<br/>
M = faces;</code></p>
<p>to get the faces but I don´t obtain the actual mesh faces and don´t know how to convert them.</p>
<p>I used that because I didn´t know what the List of faces referred to in the .Delaunay.Solver(node2List, double jitter, List<faces>) type.</p>
<p> </p>
<p>With the code above what I get is a set of Delaunay.FaceEx.</p>
<p> </p>
<p>Many thanks!</p> Hi Miguel,
no constructors,…tag:www.grasshopper3d.com,2011-10-14:2985220:Comment:4507422011-10-14T09:46:21.913ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<p>Hi Miguel,</p>
<p> </p>
<p>no constructors, it exposes a bunch of static Solve_XXXX methods.</p>
<p> </p>
<p>--</p>
<p>David Rutten</p>
<p>david@mcneel.com</p>
<p>Poprad, Slovakia</p>
<p>Hi Miguel,</p>
<p> </p>
<p>no constructors, it exposes a bunch of static Solve_XXXX methods.</p>
<p> </p>
<p>--</p>
<p>David Rutten</p>
<p>david@mcneel.com</p>
<p>Poprad, Slovakia</p> Sorry, what are the construct…tag:www.grasshopper3d.com,2011-10-14:2985220:Comment:4506532011-10-14T09:31:39.329ZMiguel Vidalhttps://www.grasshopper3d.com/profile/MiguelVidal
<p>Sorry, what are the constructors for this type, I did not find them in the help file.</p>
<p> </p>
<p>Thanks!</p>
<p>Sorry, what are the constructors for this type, I did not find them in the help file.</p>
<p> </p>
<p>Thanks!</p> Thanks Andy!tag:www.grasshopper3d.com,2011-08-29:2985220:Comment:3980362011-08-29T08:26:21.212ZMiguel Vidalhttps://www.grasshopper3d.com/profile/MiguelVidal
Thanks Andy!
Thanks Andy! grasshopper.Kernel.Geometry.D…tag:www.grasshopper3d.com,2011-08-28:2985220:Comment:3974142011-08-28T18:57:03.390ZAndy VanMaterhttps://www.grasshopper3d.com/profile/AndyVanMater
grasshopper.Kernel.Geometry.Delaunay.Solver.
grasshopper.Kernel.Geometry.Delaunay.Solver.