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)

CRA Viewer, creating new viewer.

Parameters:
assemblyAssembly

The rigid block assembly.

scalefloat, optional

Force scale.

densityfloat, optional

Density of the block material.

dispscalefloat, optional

virtual displacement scale.

tolfloat, optional

Tolerance value to consider faces to be planar.

gridbool, optional

Show view grid.

resultantbool, optional

Plot resultant forces.

nodalbool, optional

Plot nodal forces.

edgebool, optional

Plot block edges.

blocksbool, optional

Plot block.

interfacesbool, optional

Plot interfaces.

forcesbool, optional

Plot forces.

forcesdirectbool, optional

Plot forces as vectors.

forceslinebool, optional

Plot forces as lines.

weightsbool, optional

Plot block self weight as vectors.

displacementsbool, optional

Plot virtual displacements.

Returns:
None