How to check part of my work?

General discussion about TexGen.

Moderators: Martin, Developers

Post Reply
bluezoe
Regular
Posts: 13
Joined: Tue Aug 20, 2019 2:38 am

How to check part of my work?

Post by bluezoe »

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.
louisepb
Project Leader
Posts: 998
Joined: Tue Dec 08, 2009 2:27 pm
Location: Nottingham

Re: How to check part of my work?

Post by louisepb »

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
Post Reply