ScriptSpot

Forum topic · General Scripting

Move spline knot in local space

By le1setreter · 2012-02-23

Description

hi all,

i am stuck moving spline knots (vertex) in local space.

i use "getKnotPoint [...]" and "setKnotPoint [...]" functions to get and set knot position but the point3 values are in current working coordinate system.

how can i (relative) move a knot in local space in the desired axis by a specified value?

any hint into the right direction is really appreciated.

thanks in advance
-le1se

Attachments
Comments (2)

le1setreter · 2012-02-28

forgot to thank you, anubis.
i had very less time the last days. fast testing with coordsys local did not work for me but maybe i did something wrong. will give it a decent try as soon as possible and come back if i still need help on this. thanks.

Anubis · 2012-02-24

in coordsys local

should works