I have three curves I am trying to fit, they have
38, 106 and 33 points and are basically arcs of a circle.
The reason there are so many points for arcs of a circle is that
they come from a section of a scan.
With
curveI = fitting.interpolate_curve(points,
degree)
print(len(curveI._control_points)
The number printed is the same as the number of
points.
With
curve = fitting.approximate_curve(points,
degree)
print(len(curve._control_points)
The number printed is one more than the number of
points.
Is there a way to perform a fit reducing/minimising the number
of control points
Note : As I need to process the Spline in some
other software I have to get details via calls to curve ( curveI
)
========== Art & Ceramics =========== https://www.instagram.com/ksloan1952/
--
You received this message because you are subscribed to the Google Groups "NURBS-Python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nurbs-python...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nurbs-python/a32b4cb3-f18b-bef6-3b58-59ac432c8e0f%40sloan-home.co.uk.
To view this discussion on the web visit https://groups.google.com/d/msgid/nurbs-python/20c655a6-ed6c-4bb8-bb20-c75cd840481cn%40googlegroups.com.