orbingol / NURBS-Python

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

Help: Given x, how to quickly get y for a NURBS curve #148

Closed CFDerZhang closed 2 years ago

CFDerZhang commented 2 years ago

for NURBS : x=x(t) y=y(t)

Given x, how to quickly get y for a NURBS curve?

orbingol commented 2 years ago

geomdl only supports (u, v, w) -> (x, y, z) mapping. You might need to use some other optimization methods to find y from a given x, such as the ones included in scipy.