Grasshopper’s Offset Surface component silently fails (returns null) for this simple rectangular surface. Any idea what’s causing this?
Offset Fail.gh (4.6 KB)
Grasshopper’s Offset Surface component silently fails (returns null) for this simple rectangular surface. Any idea what’s causing this?
Offset Fail.gh (4.6 KB)
But other trimmed surfaces work fine. Offset Surface even has a “retrim” input parameter, implying that it is meant to handle trimmed input surfaces.
Offset Fail.gh (10.8 KB)
Hi @Measure,
I can see that the surface offsetting works but the retrimming is failing. For now, run ShrinkTrimmedSrf on the source surface in Rhino, then re-set and internalize it into the Surface parameter.
Does this work?
How was the trimmed Brep created?
– Dale
Yes, ShrinkTrimmedSrf fixes it. I’m not sure exactly how it was created. A coworker made it as part of a larger project, and I got it because I manage the grasshopper tool where he encountered the offset bug.
We can work around it in this case, but I was hoping to understand what’s going on here so I can make my tool robust against this sort of issue.
_rebuildEdges also fixes the issue.