assembly_hull
- compas_assembly.algorithms.assembly_hull(assembly, keys=None, unify=True)[source]
Construct the convex hull of an assembly.
- Parameters
assembly (Assembly) – The assembly data structure.
keys (list, optional) – The identifiers of the blocks to include in the hull calculation. Defaults to all blocks.
unify (bool, optional) – Unify the face cycles of the hull. Default is
True
.
- Returns
tuple – The vertices and faces of the hull.
Examples
>>>