unit_basis

compas_cra.equilibrium.unit_basis(assembly, penalty=False)

Create interface reference system as unit basis.

Parameters:
assemblyAssembly

The rigid block assembly.

penaltybool, optional

Return penalty matrix if True.

Returns:
ndarray

the basis matrix # is Nx3