Say I have a polysurface I intend to be water tight, but it has some naked edges I can see via “ShowEdges”.
Manually, I’m able to choose adjacent pairs with “JoinEdges” and, after doing this for a few edges, it’s sealed up.
I’m wondering how I can do this programatically with rhinocommon for a given polysurface with naked edges.
Any suggestions?
Thanks,
Sam
dale
(Dale Fugier)
October 10, 2018, 3:18pm
2
Hi @samlochner ,
Rhino has these two functions that might be helpful.
Brep.JoinEdges
Brep.CreateFromJoinedEdges
– Dale
Hi Dale,
That worked, thanks.
One other quick question for you: I have a brep consisting of a single trimmed surface. I’m trying to rebuild the trimmed surface but while keeping it trimmed. I don’t see the option to retrim like in the command within Rhino. Is it not available or perhaps I’m missing something?
Thanks,
Sam
dale
(Dale Fugier)
October 10, 2018, 7:03pm
4
Hi @samlochner ,
No, the build
option is not available in the SDK. I’ve make a wish list item to add this option.
https://mcneel.myjetbrains.com/youtrack/issue/RH-48931
The best you can do, at this time, is script the Rebuild
command.
– Dale