algorithmic modeling for Rhino
Thanks Peter, this is great and certainly a lot to soak up. It works pretty well on a variety of geometry and I'm looking forward to trying it out under more conditions!
Well ...
IF ... you have CERTIFIED and VALID triangles/quads in a given line graph (and just that) and you can SWEAR that these are OK (don't blame me if not) there's another waaaaay smarter way (and rather bulletproof) to cut the mustard:
See the attached that works on chaotic points solely having triads in mind (not suitable for your case as it is ... but if you dig into the code ... you'll get the gist of my meaning with regard List intersections and other freaky stuff).
Of course if you modify this for finding/making something and feed the thing with garbage > garbage is what you'll get (life sucks).
Moral: Learn C# ASAP - forget the rest.
BTW: Make a test: "triangulate" some thingy roughly describing a building. By that I mean create a line graph kinda like having the building envelope (as Brep or Mesh) and then getting the edges out of the BrepFaces or Mesh Faces. Ensure that we talking unique lines in the graph.
If the triangulation is wrong or describes wrongly the "building" then > go for a ride with a proper super-bike (what about an all black KTM RC8R?).
If the triangulation is good > then use the FindTriads def.
BTW: why not higher order of pts clusters?
1. I hate meshes.
2. I hate patch
BTW: And since I have a feeling that all the above sound Greek to you( (s%$!t happens) here's a demo:
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
© 2024 Created by Scott Davidson. Powered by