InteractionMixin.show_collisions

InteractionMixin.show_collisions(tolerance=1e-06, min_depth=0.0001, element_types=None)

Show the model with an interactive collision list in compas_viewer.

Runs collision detection (if not already done), then opens a viewer with all building elements and a sidebar panel listing every collision pair. Selecting a pair highlights the two colliding elements in red and dims everything else.

Parameters:
tolerancefloat, optional

Tolerance for the collision detection.

min_depthfloat, optional

Minimum penetration depth.

element_typeslist[str], optional

IFC type names to include in collision detection.