orbingol / NURBS-Python

Object-oriented pure Python B-Spline and NURBS library
https://onurraufbingol.com/NURBS-Python/
MIT License
623 stars 154 forks source link

Compute the derivative (hodograph) shape #35

Closed orbingol closed 5 years ago

orbingol commented 6 years ago

With PR #33 derivatives_ctrlpts method for computing the control points of the shape (curve and surface) derivative is added to BSpline class.

I think it would be a better idea to compute the derivative shape with the control points and knot vectors together, very much similar to how decompose method does.

orbingol commented 5 years ago

Added operations.derivative_curve() and operations.derivative_surface() functions with the release of v4.3.2

Please see the following link for more details: https://pages.mtu.edu/~shene/COURSES/cs3621/LAB/curve/1st-2nd.html