Offset a brep in Grasshopper

Hi all,

I’m trying to offset an open polysurface in grasshopper, but the software tells me it is unable to convert a brep into a surface

yet, if I bake the said polysurface and then use _Offsetsurface in regular rhino, it works just fine (see “expected result”)

is there a way to convert a brep in a polysurface in grasshopper (considering all faces are planar, or at least are supposed to be), and if not, how may I proceed otherwise?

thank you in advance

bre-offset-gh.gh (9.1 KB)

offset-brep-rhino.3dm (7.6 MB)

Please try to use GhPython to call OffsetBrep in Rhinocommon achieving it, and for your reference.


bre-offset-gh.gh (26.3 KB)

2 Likes

the reason why the Brep is still open after the Offset can be found in the center surfaces, and it’s unrelated to the Brep Offset operation:

There’s a problem with the central surfaces, the ones you initially merge, probably the common central vertex does not lie (XY wise) on the polar rotation plane

2 Likes

Hi

Thank you for your help,

but in my rhino, the Python component is declared as “old”, is it an issue?

my issue was not the brep being open, but I did notice the gap afterwars

it was due to an imprecision in the defining surfaces and has been fixed since

thank you for your help

Yes, you are right, it’s a old GhPython component and It’s not an issue.

1 Like