-
-
Notifications
You must be signed in to change notification settings - Fork 97
7. Visualization
Craig edited this page Mar 29, 2020
·
12 revisions
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=5)
PyNite can display the deflected shape of a model. After importing Visualization
(see Model Visualization above) you can use the DeformedShape
method. The code in the example below plots the deflected shape for load combination '1.2D+1.6L+0.5S' magnified 30 times.
Example:
from PyNite import Visualization
Visualization.DeformedShape(myModel, scale_factor=30, textHeight=5, combo_name='1.2D+1.6L+0.5S')