copy keyframes formatted for Cinema 4D inport
Posted: June 30th, 2006, 2:47 pm
Hey, I'm a javascript noob, but I'm going to try writing a .jsx script this weekend. I'm hoping that I can automate the copying of keyframes to cinema4D by the following method: http://forums.cgsociety.org/showthread. ... t=yuppster
If someone can give me some pointers or encouragement, I'd appreciate it. I'm hoping to script the following actions:
1. create a null layer that is linked by expresions to whatever layer is selected when the script is run.
2. convert expressions to keyframes so there is 1 key per frame.
3. copy the keyframes
4. format the keyframe data so that rotation data is next to postion data and not below it.
5. strip out extraneous header data.
6. multiply Y postion data by -1
7. write as tab delimited text file, or just copy to clipboard.
Thanks to anyone who can point me in the right direction. links to good reading materials would be appreciated.
Thanks
909
If someone can give me some pointers or encouragement, I'd appreciate it. I'm hoping to script the following actions:
1. create a null layer that is linked by expresions to whatever layer is selected when the script is run.
2. convert expressions to keyframes so there is 1 key per frame.
3. copy the keyframes
4. format the keyframe data so that rotation data is next to postion data and not below it.
5. strip out extraneous header data.
6. multiply Y postion data by -1
7. write as tab delimited text file, or just copy to clipboard.
Thanks to anyone who can point me in the right direction. links to good reading materials would be appreciated.
Thanks
909