cra_view
- compas_cra.viewers.cra_view(assembly, scale=1.0, density=1.0, dispscale=1.0, tol=1e-05, grid=False, resultant=True, nodal=False, edge=True, blocks=True, interfaces=True, forces=True, forcesdirect=True, forcesline=False, weights=True, displacements=True)[source]
CRA Viewer, creating new viewer.
- Parameters
assembly (
Assembly
) – The rigid block assembly.scale (float, optional) – Force scale.
density (float, optional) – Density of the block material.
dispscale (float, optional) – virtual displacement scale.
tol (float, optional) – Tolerance value to consider faces to be planar.
grid (bool, optional) – Show view grid.
resultant (bool, optional) – Plot resultant forces.
nodal (bool, optional) – Plot nodal forces.
edge (bool, optional) – Plot block edges.
blocks (bool, optional) – Plot block.
interfaces (bool, optional) – Plot interfaces.
forces (bool, optional) – Plot forces.
forcesdirect (bool, optional) – Plot forces as vectors.
forcesline (bool, optional) – Plot forces as lines.
weights (bool, optional) – Plot block self weight as vectors.
displacements (bool, optional) – Plot virtual displacements.
- Returns
None