orbingol / NURBS-Python

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

{bezier} <-> b-spline conversion #89

Closed dec1 closed 4 years ago

dec1 commented 4 years ago

Hello.

Is it possible to use your library to perform (automatic) conversion of b-spline to corresponding set of bezier curves, and vice-versa?

Also mentioned here

If not would it be possible to add this feature?

Thanks in Advance

orbingol commented 4 years ago

@dec1 Would this work for you? https://nurbs-python.readthedocs.io/en/latest/visualization_splitting.html

dec1 commented 4 years ago

Hello. Thanks. So the actual code to do so would be operations.decompose_curve() as used eg. here?

orbingol commented 4 years ago

@dec1 yes, you are correct. You can find links to the function references on the doc page above.

dec1 commented 4 years ago

Great. Thank you very much