algorithmic modeling for Rhino
Hi All,
I was wondering if anyone could help me with this problem.
I have generated some 3D points outlining something like steps and ledges. I was hoping when I use delaunay triangular that would become something close to the blue lines i have sketched, but some how it ended up more the the green underneath.
Can someone show me how the delaunay triangulation works? How can i sort out the points that it could behave more like the blue sketched? Or any other alternative.
thanks in advance.
r.
Tags:
As I did some tests, I figured the mesh you create differ when the order of the points list change. So I think you should find some way the sort the list of your points first.
Thanks Furion,
I am of the same opinion, it doesn't seem to have a simple approach. Perhaps i need to sort these by edges rather than creating points from mesh.
R.
Delaunay basically just finds the shortest connection beween the points projected to a common plane (WorldXY by default). If two points are on top of each other, Delaunay has no idea how to connect those to the other points.
If you have points that would project on top of each other, you can choose a working plane that would prevent the points to be projected to the same location.
Then you have the problem of resolving/traingualting polygons(quads). Say you take two points on the step edge, one on the top level and one at the bottom of the riser. You can connect all the outer edges without a problem. To find triangles, you'd need to add one more edge across the diagonal. Now there is a choice to connect the two on the edge (as you want) or to connect top and bottom. Since the algorithm doesn't know/care what you want, it just chooses one of the two rather randomly.
To get the result you want, you would need to order the points and basically define all the edges and/or faces you want by hand... or some logic.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by