Skip to content

compas_cra.algorithms ¤

Functions:¤

assembly_interfaces_numpy ¤

assembly_interfaces_numpy(assembly, nmax=10, tmax=1e-06, amin=0.1)

Identify the interfaces between the blocks of an assembly.

Parameters:

  • assembly (:class:`~compas_assembly.datastructures.Assembly`) –

    An assembly of discrete blocks.

  • nmax (int, default: 10 ) –

    Maximum number of neighbours per block.

  • tmax (float, default: 1e-06 ) –

    Maximum deviation from the perfectly flat interface plane.

  • amin (float, default: 0.1 ) –

    Minimum area of a "face-face" interface.

References