There are commands in Grasshopper like:
“Brep Repair” -
“Check Brep” -
“Brep Validity”
clod.gh (460.2 KB)
…When you’re working with Breps,
and they’re invalid and need to be repaired.
What’s the best way to repair them in this case?
Thanks for your comment.
…
Could you maybe point a bit more specifically? When opening your script, I was not quite sure what to look for? There are several things in C# if you’re willing to go that route?
I was simply transferring the Voronoi from a rectangular surface to a more complex surface, but the result was an invalid Brep (that was what I wanted to solve). Thanks
Since there is no geometry internalized, it’s a bit hard to follow… Would it be possible to just internalize the invalid brep?
Im just guessing here but these sometimes work for me
brep.Repair(tollerance);
brep.Edges.MergeAllEdges(aTollerace);