Closed firai closed 2 years ago
The algorithm for displaying supports has been improved in the current opsvis and will be further simplified as soon as the following PR https://github.com/OpenSees/OpenSees/pull/729 is merged. Let me know if it works now?
plot_supports_and_loads_2d()
used the number of dimensions (ndim
), which is 2 for 2D models by definition, to determine whether rotationally-restrained supports are possible, which led to all supports being displayed as triangles (pins). See https://github.com/sewkokot/opsvis/issues/17.Revised to use the number of DOFs per node (
ndofs
) to determine whether rotationally-restrained supports are possible, so that fixed supports are displayed appropriately.