i have a question. How do i create a planar face/surface from more than 4 points?
Rhino 5 / VS 2010 / .net 4 / C#
At the moment i have:
- one points collection
Point3d corners = new Point3d;
- one polyline from my points collection
PolylineCurve polyline = new PolylineCurve(corners);
- now i try to generate the face
Brep brep = new Brep;
brep = Brep.CreatePlanarBreps(polyline);
I don't know what is wrong but i can't get the face. How do i generate faces with up to 8 points?
Thank you in advance,
Make sure the input polyline curve is both planar and closed. See the attached for an example.
Thank you. It works.