studioNest GEAR (released)
Re: studioNest GEAR (released)
I'm not really the Python head, but can one run the Gear tools with the python version that comes with Softimage?
If so, can somebody explain how to get things installed on the modules part.
cheers,
rob
If so, can somebody explain how to get things installed on the modules part.
cheers,
rob
SI UI tutorials: Toolbar http://goo.gl/iYOL0l | Custom Layout http://goo.gl/6iP5xQ | RenderManager View http://goo.gl/b4ZkjQ
So long, and thanks for all the Fish!!
So long, and thanks for all the Fish!!
- Hirazi Blue
- Administrator
- Posts: 5107
- Joined: 04 Jun 2009, 12:15
Re: studioNest GEAR (released)
It should be possible.
Quit Softimage
The easiest way (to explain?) is probably to add the following to your setenv.bat
Restart Softimage
;)
Haven't tried this myself, as I used the PYTHONPATH on the level of the Windows environment variables, but this should work. If not: let me know...
Quit Softimage
The easiest way (to explain?) is probably to add the following to your setenv.bat
Code: Select all
set PYTHONPATH=[your very own path to the modules folder here]
;)
Haven't tried this myself, as I used the PYTHONPATH on the level of the Windows environment variables, but this should work. If not: let me know...
Stay safe, sane & healthy!
Re: studioNest GEAR (released)
Nope, not working.
I have set the path in the setenv.bat to the modules folder:
rem StudioNest GEAR Python Modules
set PYTHONPATH=\\SERVER\xsiwg\StudioNest_2011\modules
but the test command gives me a error about the module not found.
Do you have Python installed outside SI? I'm trying to get it working for SI SAP. All other stuff is working for the StudioNest tools.
All other Python bases tools do work in SI, so installing Python separate from Si isn't neccessary for these tools.
Will try again tomorrow, any more tips are welcome.
rob
I have set the path in the setenv.bat to the modules folder:
rem StudioNest GEAR Python Modules
set PYTHONPATH=\\SERVER\xsiwg\StudioNest_2011\modules
but the test command gives me a error about the module not found.
Do you have Python installed outside SI? I'm trying to get it working for SI SAP. All other stuff is working for the StudioNest tools.
All other Python bases tools do work in SI, so installing Python separate from Si isn't neccessary for these tools.
Will try again tomorrow, any more tips are welcome.
rob
SI UI tutorials: Toolbar http://goo.gl/iYOL0l | Custom Layout http://goo.gl/6iP5xQ | RenderManager View http://goo.gl/b4ZkjQ
So long, and thanks for all the Fish!!
So long, and thanks for all the Fish!!
- Hirazi Blue
- Administrator
- Posts: 5107
- Joined: 04 Jun 2009, 12:15
Re: studioNest GEAR (released)
Just as a test: what happens if you temporarily locate the modules folder locally and not define it by an UNC address (but by a garden variety "C:\LookHere\modules")?
Or maybe place the workgroup address between quotation marks...
(belated edit: and double all the backslashes)
Or maybe place the workgroup address between quotation marks...
(belated edit: and double all the backslashes)
Stay safe, sane & healthy!
Re: studioNest GEAR (released)
Hi,
Got it working with the lines mentioned in my previous post:
So it's working with the internal SI install of Python, and in a workgroup without much hassle.
Repo steps:
1. Create workgroup folder, e.g. 'StudioNest'
2. In the plugin manager, connect to this workgroup folder, and be sure to move it up so it's the first workgroup in the list
3. Copy the 'modules' folder from the downloaded gear zipfile into the workgroup folder, so you get 'StudioNest\modules'
4. Edit setenv.bat with the PYTHONPATH line, linking the python scripts. Edit this file with a text editor on admin rights, or change the properties of the SI 'UserTools' link/app to 'run as administrator'! If not, you cannot save the file...
5. After restarting SI, go to the plugin manager, and install the gear addon into the StudioNest workgroup
6. Restart SI again, and see the GEAR menu appear. Open up the demo scenes to see if all works, if so....
rob
Got it working with the lines mentioned in my previous post:
I probably was a bit too impatient yesterday ;)rem StudioNest GEAR Python Modules
set PYTHONPATH=\\SERVER\xsiwg\StudioNest_2011\modules
So it's working with the internal SI install of Python, and in a workgroup without much hassle.
Repo steps:
1. Create workgroup folder, e.g. 'StudioNest'
2. In the plugin manager, connect to this workgroup folder, and be sure to move it up so it's the first workgroup in the list
3. Copy the 'modules' folder from the downloaded gear zipfile into the workgroup folder, so you get 'StudioNest\modules'
4. Edit setenv.bat with the PYTHONPATH line, linking the python scripts. Edit this file with a text editor on admin rights, or change the properties of the SI 'UserTools' link/app to 'run as administrator'! If not, you cannot save the file...
5. After restarting SI, go to the plugin manager, and install the gear addon into the StudioNest workgroup
6. Restart SI again, and see the GEAR menu appear. Open up the demo scenes to see if all works, if so....
rob
SI UI tutorials: Toolbar http://goo.gl/iYOL0l | Custom Layout http://goo.gl/6iP5xQ | RenderManager View http://goo.gl/b4ZkjQ
So long, and thanks for all the Fish!!
So long, and thanks for all the Fish!!
- farhaad_yousefi
- Posts: 178
- Joined: 08 Jun 2009, 22:45
- Location: tehran-iran
- Contact:
Re: studioNest GEAR (released)
hi .Rork wrote:Hi,
Got it working with the lines mentioned in my previous post:I probably was a bit too impatient yesterday ;)rem StudioNest GEAR Python Modules
set PYTHONPATH=\\SERVER\xsiwg\StudioNest_2011\modules
So it's working with the internal SI install of Python, and in a workgroup without much hassle.
Repo steps:
1. Create workgroup folder, e.g. 'StudioNest'
2. In the plugin manager, connect to this workgroup folder, and be sure to move it up so it's the first workgroup in the list
3. Copy the 'modules' folder from the downloaded gear zipfile into the workgroup folder, so you get 'StudioNest\modules'
4. Edit setenv.bat with the PYTHONPATH line, linking the python scripts. Edit this file with a text editor on admin rights, or change the properties of the SI 'UserTools' link/app to 'run as administrator'! If not, you cannot save the file...
5. After restarting SI, go to the plugin manager, and install the gear addon into the StudioNest workgroup
6. Restart SI again, and see the GEAR menu appear. Open up the demo scenes to see if all works, if so....
rob
could you explain it for a newbie like me.?!
i can't find PYTHONPATH line inside setenv.bat..!!!
- Hirazi Blue
- Administrator
- Posts: 5107
- Joined: 04 Jun 2009, 12:15
Re: studioNest GEAR (released)
That is correct: you'll have to add a line to the setenv.bat yourself.
This line should read:
followed directly (no spaces) by the path you want to use as PYTHONPATH
I add these kinds of lines near the end, but before the line
but that might just be superstition...
;)
This line should read:
Code: Select all
set PYTHONPATH=
I add these kinds of lines near the end, but before the line
Code: Select all
set XSI_SetenvDone=1
;)
Stay safe, sane & healthy!
- farhaad_yousefi
- Posts: 178
- Joined: 08 Jun 2009, 22:45
- Location: tehran-iran
- Contact:
Re: studioNest GEAR (released)
thanks a million Hirazi problem solvedHirazi Blue wrote:That is correct: you'll have to add a line to the setenv.bat yourself.
This line should read:followed directly (no spaces) by the path you want to use as PYTHONPATHCode: Select all
set PYTHONPATH=
I add these kinds of lines near the end, but before the linebut that might just be superstition...Code: Select all
set XSI_SetenvDone=1
;)
- farhaad_yousefi
- Posts: 178
- Joined: 08 Jun 2009, 22:45
- Location: tehran-iran
- Contact:
Re: studioNest GEAR (released)
what if we had multiple tools ;that work on python.?! is this solvable too by this method .!?
- Hirazi Blue
- Administrator
- Posts: 5107
- Joined: 04 Jun 2009, 12:15
Re: studioNest GEAR (released)
Yes, it would. You'd probaby just have to append the other paths, delimited by a semi-colon... (I haven't tried this yet, as it hasn't come up yet). IIRC GEAR so far is the only tool for Softimage I found that explicitly asks to set the PYTHONPATH (but I haven't tried all tools, obviously - and my memory isn't all that great either)
;)
;)
Stay safe, sane & healthy!
- farhaad_yousefi
- Posts: 178
- Joined: 08 Jun 2009, 22:45
- Location: tehran-iran
- Contact:
Re: studioNest GEAR (released)
thanks any wayHirazi Blue wrote:Yes, it would. You'd probaby just have to append the other paths, delimited by a semi-colon... (I haven't tried this yet, as it hasn't come up yet). IIRC GEAR so far is the only tool for Softimage I found that explicitly asks to set the PYTHONPATH (but I haven't tried all tools, obviously - and my memory isn't all that great either)
;)
Who is online
Users browsing this forum: No registered users and 83 guests