algorithmic modeling for Rhino
Replies are closed for this discussion.
Hi Axel,
I think the most direct approach would be to convert your mesh into a graph in order to analyze it and retrieve this type of information. Then it should be easy to collect all the closed polygons from it and check for the neighbors.
I don't have with me any python script that does that but there exist a grasshopper plug-in written by Tobias that does already the job.
If you want to stay within the python environment you can just reference the right component with the ghcomp node-in-code method - see definition attached. A bit hacky and definitely not the quickest way, but that's a start. Hope it helps.
Cheers from Copenhagen!
Paul
Hi Paul!!
I hope everything is fine in Copenhagen?
Thank you for your reply.
I also found a way now with the TopologyEdges.GetConnectedFaces() command...
Hi Axel,
Perhaps I could help. Can you share your Python code or GH definition?
Thanks,
Devang
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