Previous topic

civpy.structures.ElementLoad.set_element

Next topic

civpy.structures.transformation_matrix

This Page

civpy.structures.rotation_matrix

civpy.structures.rotation_matrix(dx, dy, dz, roll=0)[source]

Returns the rotation matrix of shape (3, 3) for an element.

Parameters:
dx, dy, dz : float

The distance changes from the i to j end of the element.

roll : float

The roll of the element counter clockwise about its axis.