Convert Surface to Brep inside Python component

You should just be able to do

brep = surface.ToBrep()

https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Surface_ToBrep.htm

1 Like