netDxf icon indicating copy to clipboard operation
netDxf copied to clipboard

How to get the PolygonalVertexes of SPline witch is made by fit?

Open kchbpy opened this issue 4 years ago • 2 comments

Is there any way to get the PolygonalVertexes of spline(fit method)?

Or how to convert the Spline from fit method to control method (AutoCAD have this function)

kchbpy avatar Sep 28 '20 08:09 kchbpy

This is not implemented. You can find more information about how to calculate the control points from a set of fit points here, check the sample "BSplineCurveFitter". There is also more information in the book "The NURBS book" by Les Piegl and Wayne Tiller, chapter "9.4.1 Least square curve approximation" page 410.

haplokuon avatar Sep 29 '20 15:09 haplokuon

This is not implemented. You can find more information about how to calculate the control points from a set of fit points here, check the sample "BSplineCurveFitter". There is also more information in the book "The NURBS book" by Les Piegl and Wayne Tiller, chapter "9.4.1 Least square curve approximation" page 410.

Thanks for your reply

kchbpy avatar Sep 30 '20 12:09 kchbpy