On 3/17/2011 1:42 AM, Astan Chee wrote:
>
> I have 2 points in 3D space and a bunch of points in-between them. I'm
> trying to fit a polynomial curve on it. Currently I'm looking through
> numpy but I don't think the function exists to fit a function like this:
> y = ax**4 + bx**3 + cx**2 + dx + e
On Thu, Mar 17, 2011 at 5:44 PM, Astan Chee wrote:
>
> On Thu, Mar 17, 2011 at 5:09 PM, Terry Reedy wrote:
>
>> Look at scipy.
>>
>
> Thanks for the info. I realized I made some mistakes. Anyway, what I'm
> trying to do is in maya (python), fit selected vertices on a curve. Here is
> what I have
On Thu, Mar 17, 2011 at 5:09 PM, Terry Reedy wrote:
> Look at scipy.
>
> --
>
Thanks for the info. I realized I made some mistakes. Anyway, what I'm
trying to do is in maya (python), fit selected vertices on a curve. Here is
what I have so far:
import maya.cmds as cmds
import numpy
def run_mai
On 3/17/2011 1:42 AM, Astan Chee wrote:
Hi,
I have 2 points in 3D space and a bunch of points in-between them. I'm
trying to fit a polynomial curve on it. Currently I'm looking through
numpy but I don't think the function exists to fit a function like this:
y = ax**4 + bx**3 + cx**2 + dx + e
(I'm
Hi,
I have 2 points in 3D space and a bunch of points in-between them. I'm
trying to fit a polynomial curve on it. Currently I'm looking through numpy
but I don't think the function exists to fit a function like this:
y = ax**4 + bx**3 + cx**2 + dx + e
(I'm not sure what thats called but one degree