Hi,
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[6];
- one polyline from my points collection
PolylineCurve polyline = new PolylineCurve(corners);
- now i try to generate the face
Brep[] brep = new Brep[1];
brep = Brep.CreatePlanarBreps(polyline);
doc.Objects.AddBrep(brep[0], iatt);
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,
Raul