assembly_interfaces
- compas_assembly.algorithms.assembly_interfaces(assembly: compas_assembly.datastructures.assembly.Assembly, nmax: int = 10, tmax: float = 1e-06, amin: float = 0.1, nnbrs_dims: int = 3)[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