Adding points to curve with object model in python

2013-10-08 Thread Leonard Koch
Hey guys, I have this script that creates a curve and then adds points to it. Right now I'm doing this through the basic command: Application.SIAddPointOnCurveAtEnd(createdCurveName, x, y, z, False, 0, ) This is quite slow and I would like to replace this with an implementation using the object

Re: Adding points to curve with object model in python

2013-10-08 Thread Vladimir Jankijevic
I think you will need to use the NurbsCurve.Get and NurbsCurve.Set methods to recreate the curves geometry with the new points added in. Cheers On Tue, Oct 8, 2013 at 9:32 AM, Leonard Koch leonardkoch...@gmail.comwrote: Hey guys, I have this script that creates a curve and then adds points

Re: Adding points to curve with object model in python

2013-10-08 Thread Alok Gandhi
Doesn't the om method AddNurbsCurve() command fit your needs ? On Tue, Oct 8, 2013 at 9:37 AM, Vladimir Jankijevic vladi...@elefantstudios.ch wrote: I think you will need to use the NurbsCurve.Get and NurbsCurve.Set methods to recreate the curves geometry with the new points added in.

Re: Adding points to curve with object model in python

2013-10-08 Thread Leonard Koch
Yes, AddNurbsCurve() totally fullfills my needs. I don't know how I missed that one. Thanks guys. On Tue, Oct 8, 2013 at 3:45 PM, Alok Gandhi alok.gandhi2...@gmail.comwrote: Doesn't the om method AddNurbsCurve() command fit your needs ? On Tue, Oct 8, 2013 at 9:37 AM, Vladimir Jankijevic