get_element_body_mapping
Retrieve the body mapping matrix for IFC elements with mapped items, detecting baked rotations and mirroring via determinant analysis.
Instructions
Get the body mapping matrix for an element with IfcMappedItem geometry. Returns: has_mapped_item, body_mapping_matrix (4x4), world_transform (OPM × body mapping), world_transform_determinant, is_mirrored (det<0 means Y-negation needed). Essential for detecting baked rotations in luminaire imports.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ||
| global_id | Yes |