Skip to content

7. Visualization

Craig edited this page Jan 19, 2020 · 12 revisions

Model Visualization

A useful tool for checking input is visualization. You can visualize your models in 3D by importing the Visualization script and running the RenderModel method. The textHeight argument can be used to set the height of annotations and nodes in the rendering, depending on which unit system your model is based on. textHeight defaults to 5, meaning 5 model length units.

Example:

from PyNite import Visualization
Visualization.RenderModel(myModel, textHeight)

Analyzing a Model

Once a model is complete you can call the Analyze method to analyze it. Keep in mind the responsibility for correctness of a model is with the user. Errors will occur if the model is incorrect or unstable in any way.

Example:

myModel.Analyze()
Clone this wiki locally