draw_sections#

FrameArtist.draw_sections(state=None, rotation=None, position=None, scale=1.0, config=None)#

Draw extruded sections

Parameters#

statedict, np.ndarray, callable, optional

The state of the model, see States. Default is None, in which case the reference state of the model is rendered.

rotationnp.ndarray, optional

A callable that returns a quaternion representing the rotation of a given node. In OpenSeesRT models, the nodeRotation method of a Model object is typically used.

configdict, optional

Configuration dictionary for drawing surfaces. If None, a default configuration is used based on the SketchConfig.

scalefloat, optional

Scale factor for the state transformation. Default is 1.0.