Moving the end of a path

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Posts: 2
Joined: Tue Jul 10, 2012 11:01 pm

Moving the end of a path

Postby LordCaptain » Tue Jul 10, 2012 11:04 pm


I'm planning on using a Curve (specifically the Path primitive) in combination with the Curve Guide field to guide a particle stream from one object to another. I can create and position the Path, but have been unable to move the endpoint to where I want it to go.

In Blender itself this is easy - right-click on the end vertex and drag it to wherever I want it. But how would I 'get' that vertex in Python, if I wanted to? Or is there a better way to move the endpoint of my path? Or even a better way to guide the particle stream?

Thanks to anyone who can help.

Posts: 2
Joined: Tue Jul 10, 2012 11:01 pm

Postby LordCaptain » Mon Jul 16, 2012 9:32 pm

No one so far? I'd be happy to add any more information if my post was unclear.

Posts: 894
Joined: Sun Apr 05, 2009 7:42 pm
Location: Germany

Postby CoDEmanX » Tue Jul 17, 2012 10:00 pm

like[0].points[-1].co = (-1,2,3,0)

I'm sitting, waiting, wishing, building Blender in superstition...

Return to “Python”

Who is online

Users browsing this forum: No registered users and 4 guests