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