Hello,
After learning script models in the user guide, I am trying to build my own model with code in Spyder.
Now I finished the calculation of master node of each yarn.
And I wonder how to check the node position or debug in TexGen?
Thanks.
How to check part of my work?
Moderators: Martin, Developers
Re: How to check part of my work?
Hello,
If you use the Python->Run Script option in TexGen you should be able to see the textile that you have created. If you render the nodes you will be able to see their positions. The Modeller option in the Controls window also shows the x,y,z position of selected nodes. The Outliner window allows for easy selection of specific nodes if you have created a large textile.
Otherwise I assume that Spyder has a debug mode but I am not familiar with this myself.
Hope that helps,
Louise
If you use the Python->Run Script option in TexGen you should be able to see the textile that you have created. If you render the nodes you will be able to see their positions. The Modeller option in the Controls window also shows the x,y,z position of selected nodes. The Outliner window allows for easy selection of specific nodes if you have created a large textile.
Otherwise I assume that Spyder has a debug mode but I am not familiar with this myself.
Hope that helps,
Louise