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

How to generate a closed NURBS curve? #100

Closed QiWang-SJTU closed 4 years ago

QiWang-SJTU commented 4 years ago

Are there any parameters that control whether the generated curve is "open" or "closed"?

orbingol commented 4 years ago

This is something you could easily achieve by changing the control points. There are also some examples in the examples repo. If you would like, you could add properties that controls the curve behavior by extending the class.