Hi Louise,
I want to know if there is a way to generate textile model and output the voxel mesh through a terminal (without GUI). Let's say we have the python script, which can run through GUI->Python->Run script.... Now I want to run this script through terminal by typing something like "$ python model.py". I know I need somehow connect python with the lib files generated by TexGen, but I cannot figure it out. Thanks a lot for your kind help.
Thanks
Xin
Run TexGen from terminal
Moderators: Martin, Developers
Re: Run TexGen from terminal
Hi Xin,
You should be able to run your script as a standalone without the user interface as long as you import the TexGen Python libraries. For example,
from TexGen.Core import *
Hope that helps,
Louise
You should be able to run your script as a standalone without the user interface as long as you import the TexGen Python libraries. For example,
from TexGen.Core import *
Hope that helps,
Louise
-
- Regular
- Posts: 14
- Joined: Fri Oct 07, 2016 5:09 pm
Re: Run TexGen from terminal
Hi Louise,
Thank you very much for your reply. It works. Thanks for your kind help.
Best
Xin
Thank you very much for your reply. It works. Thanks for your kind help.
Best
Xin