assembly_interfaces_numpy

compas_assembly.algorithms.assembly_interfaces_numpy(assembly: compas_assembly.datastructures.assembly.Assembly, nmax: int = 10, tmax: float = 1e-06, amin: float = 0.1)[source]

Identify the interfaces between the blocks of an assembly.

Parameters
  • assembly (compas_assembly.datastructures.Assembly) – An assembly of discrete blocks.

  • nmax (int, optional) – Maximum number of neighbours per block.

  • tmax (float, optional) – Maximum deviation from the perfectly flat interface plane.

  • amin (float, optional) – Minimum area of a “face-face” interface.

Returns

Assembly

References

The identification of interfaces is discussed in detail here [Frick2016].