I am trying to build a patch out of points and a boundary curve in C #. Below is the code. It creates the Brep, but no matter what, it doesn’t trim the Brep along the boundary. Do you have any suggestions?
private void RunScript(Curve edg, List<Point3d> pnts, ref object a)
{
var gmtrs = new List<GeometryBase>();
gmtrs.Add(edg);
gmtrs.AddRange(pnts.Select(p => new Rhino.Geometry.Point(p)));
var tangency = new bool[4]{false, false, false, false};
var m = Brep.CreatePatch(gmtrs, null, 10, 10, true, false, 0.7, 100, 100, tangency, 0.01);
a = m;
}