Re: [Maya-Python] accurate bezier curve fitting

2021-06-01 Thread vince touache
@Marcus: as you can see, *fitBspline* (green) produces a better result than *my version* (red). Moreover, it requires way too many controls. My original curve is 4 CVs, so I would expect a solution close to 4 CVs as well. You can see the difference b/w mine and the maya one on *fitting_curve1.jp

Re: [Maya-Python] accurate bezier curve fitting

2021-06-01 Thread Marcus Ottosson
Would it be possible to post the results you weren't happy with, along with the results in Maya you thought gave better results? On Tue, 1 Jun 2021 at 14:24, Alok Gandhi wrote: > This might be a useful read maybe? > https://raphlinus.github.io/curves/2021/03/11/bezier-fitting.html > > On Tue, Ju

Re: [Maya-Python] accurate bezier curve fitting

2021-06-01 Thread Alok Gandhi
This might be a useful read maybe? https://raphlinus.github.io/curves/2021/03/11/bezier-fitting.html On Tue, Jun 1, 2021 at 6:20 PM vince touache wrote: > hello, > > I was looking for an algorithm to predict the best Bezier curve, given a > vector of points. I ended up implementing "An Algorith