Hi everyone, this is my first time writing here as Im also super unexperienced with Grasshopper and Im trying to start with it.
Im trying to make a triangulation with Delaunay of a shape that includes holes. I achieved the triangulation I want but only in shapes without holes, so the problem comes when I add the holes and the triangulation is made inside that hole instead of inside of the mesh I want. I attach a screenshot so you can se what I mean
The red surface is supossed to be filled with the triangulation (which is basically joining all the vertex in the best way possible making triangles) but instead of that I get the triangulation in the shape I specifically don’t want to.
Is there any way to “invert” it somehow and get the result Im looking for?
Hello @Erik_Beeren thanks for your reply! it is almost working now, as you can see in the pic I attach, I get extra edges and what I want is the edges to connect the vertex of my shape making triangles. Do you know why is happening this?
Thank you very much!! looks like its working now! Some minor errors when aplying to other boundaries but nothing I cant manage manually. Im heading now to my next step, making it 3d with random heights
Thank you so so much again, I will also wait for the other user to reply about the triremesh as this grasshopper learning is getting interesting
The RhinoCommon mesh class has the CreatePatch method, which does what you need. It is not exposed in Grasshopper as far as I know, but is simple to implement in a scripting component:
Thanks for pointing this method, as I made some tools to group curves by plane then by region, meshing them with CreatePatch was straightforward. So I added this to Nautilus plugin (will be in 0.9.4 version). The tools accept curves (that will be transformed to polylines)
It is super fast.
Hi guys I now have a problem following this topic. Once I have the triangulation made (I used @AndersDeleuran method for its simplicity) Im trying to change the height of vertex randomly just like its presented in this topic: Move generated Triangles up or down a specific amount
I try to follow this method combined with Anders previous method but I dont know why, when trying to move randomly the points, I get multiple copies of points, generating an unwanted cloudpoints, and I dont know how to keep going. Ill show you in this pic:
Hey guys sorry to open this topic again but Im again having some issues.
Triangulation parameters work perfectly for the shapes I already showed, Im using @AndersDeleuran method, but now Im trying to make a triangulation with a “square” as the outer boundary. The problem comes with the points of the outer polyline. I already have those points made on rhino, but when running the script it only trace edges with the corners and the first control point as you can see in the pic.