I am trying to extrude a quadrilateral closed curve to obtain a brep. I am using RhinoExtrudeCurveStraight function, but this returns a surface. If I obtain the brep (surface.BrepForm()), the brep only has one face. How can I get a correct brep when I extrude a curve with corners? In this case, I’d like a brep with four faces.
Thanks in advance.