Delaunay diagrams
-
Can this be incorporated into sketchup ruby? By simply touching a surface it will do simlar triangulation an color.
see link...
http://www.cs.cornell.edu/Info/People/chew/Delaunay.html -
Long ago I wrote an
AddVertex
tool that splits edges and faces with new vertices, triangulation etc - see Didier's site [it's down ?]
so here it isAddVertex+.rb -
One of the books I'm reading describes the algorithm of delaunay geometry. It's something wanted to play with - but it has not been on the top of my todo list.
-
FYI - in Didier's archive, there are 2 scripts named delauney.rb and delauney2.rb.
-
I believe didiers got a triangulation script or two that utilise the stuff in delauney.rb and delauney2.rb, cant remember what its called though
-
Triangulation.rb (and point_cloud that also incorporates it) uses delaunay.rb for sure.
-
And if I'm not mistaken, the sandbox tools also use dalauney algorithm to make the TIN, same with the DEM importer (possibly).
I had started writing an intersting script that was aimed to work more satisfactorily than the from contours tool. Got started on it and got overwhelmed. But these scripts that create meshes are super fascinating to me. This is something I would love to tackle someday. Just don't count it anytime soon
Chris
Advertisement