I have attached my script below:
GrevillePoints.gh (5.4 KB)
I am quite puzzled with the two greville points outside of the curve. I wonder what caused this erroneous output?
I have attached my script below:
GrevillePoints.gh (5.4 KB)
I am quite puzzled with the two greville points outside of the curve. I wonder what caused this erroneous output?
Hi @Wiley,
If you want the same outpoint as EditPtOn, then pass a false
to GrevillePoints.
public Point3d[] RecalculateGrevilleMatrix(Curve curve)
{
if (null != curve)
{
var nurb = curve.ToNurbsCurve();
if (null != nurb)
return nurb.GrevillePoints(false).ToArray();
}
return new Point3d[0];
}
– Dale
just for the sake of satisfying my curiosity, what are those two points outside of the curve?