mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 21:12:22 +00:00
903baa9e5c
MEP elements imported as tessellation / brep (no IfcExtrudedAreaSolid or IfcSweptDiskSolid in their body representation) can't be parametrically edited — the gizmos offer affordances the geometry kernel has no path to honour. tool.System.has_parametric_body inspects the Model/Body/MODEL_VIEW representation and returns True only when at least one item resolves to one of the two profile-sweep primitives. The gate is wired into: - GizmoMEPActions.is_eligible_object (the action icon group) - _active_is_flow_segment / _active_is_bend_fitting visibility predicates the icon row consults per-icon - GizmoPipeSegmentEdition / GizmoDuctSegmentEdition is_element_type tool.Parametric.is_pipe_segment / is_duct_segment stay IFC-class-only so their truth-table contract test keeps reading a single concern. Generated with the assistance of an AI coding tool.