How can I get this to generate points in a curve parameter? I forgot how to use a python expression, any help is appreciated!
for (x,y,z) in zip(range(10),range(10),range(10)):
print “%f,%f,%f ” % (x,y,z)
(Im using a mac btw if that makes it a different story)
Python for curve expression
4401 4 0- pyramation
- Member
- 176 posts
- Joined: July 2005
- Offline
- onlyoneHai
- Member
- 17 posts
- Joined: July 2007
- Offline
- pyramation
- Member
- 176 posts
- Joined: July 2005
- Offline
- graham
- Member
- 1922 posts
- Joined: Nov. 2006
- Offline
It looks like the coordinates parameter isn't able to change the expression type. A solution is to add a spare parm and use that to contain your code and reference that from the coordinate parameter. See attached.
You might also be able to do it using a custom Python Sop operator.
I'll see about submitting a bug for not being able to change the parameter to Python.
You might also be able to do it using a custom Python Sop operator.
I'll see about submitting a bug for not being able to change the parameter to Python.
Graham Thompson, Technical Artist @ Rockstar Games
- pyramation
- Member
- 176 posts
- Joined: July 2005
- Offline
-
- Quick Links