attilako opened this issue on Jul 09, 2011 · 4 posts
attilako posted Sat, 09 July 2011 at 4:13 AM
I tried many of Ockham's python script but none is working perfectly on my
Poser 7 Mac.
For example when I use the script "Snap to" Poser crashes when I save.
With another script called "Find this" I get the message:
"Traceback (most recent call last) :
File "/Application/Poser 7/Runtime/Python/poserScriptsMenu/Utility/FindThis.py" , line 117, in ?
CenVecAngle - CenVecAngle - CamVecAngle
NameError: name 'CamVecAngle is not defined
Are you able to run Ockham Scripts perfectly?
http://www.ockhamsbungalow.com/Python/
Thanks
Attila
millighost posted Sat, 09 July 2011 at 4:57 AM
Quote - ... With another script called "Find this" I get the message:
"Traceback (most recent call last) :
File "/Application/Poser 7/Runtime/Python/poserScriptsMenu/Utility/FindThis.py" , line 117, in ?
CenVecAngle - CenVecAngle - CamVecAngle
NameError: name 'CamVecAngle is not defined
...
At least with this error, i can see that the script will not run correctly when the yOrbit value of your current camera is 0. Which has nothing to do with running on Mac or PC. I did not try the other scripts, but unless the scripts do something with filenames or so, they should work more or less the same.
markschum posted Sat, 09 July 2011 at 10:05 AM
Mac had a problem that they did not support TKINTER so some scripts using TK for an interface just did not run on macs. Other wise everything should work the same.
have a look in the script or where camvecangle is first used. Thats where the error is occuring.
attilako posted Sun, 10 July 2011 at 3:02 PM
Thanks for the info. I'll try to examin those scripts which don't have TKINTER in it