unit_basis

compas_cra.equilibrium.unit_basis(assembly, penalty=False)[source]

Create interface reference system as unit basis.

Parameters
  • assembly (Assembly) – The rigid block assembly.

  • penalty (bool, optional) – Return penalty matrix if True.

Returns

ndarray – the basis matrix # is Nx3