Expand description
Product placement and representation selection.
§Why placement is composed here and not per item
A representation item is authored in its product local space. The product hangs off an IfcLocalPlacement chain that walks up the spatial tree to the site. Lowering an item without that chain puts every product at the world origin: the geometry is individually correct and the building is a heap.
§Units are converted once
Placement coordinates are raw file units, so the resolver composes the chain unconverted and this module converts the composed result. Converting per link would raise the scale to the power of the chain depth.
Re-exports§
pub use crate::constraint::product_world_transform;
Functions§
- geometric_
products - Products in the model that carry geometry, in stable id order.
- lower_
product_ items - Lower every item of a product selected representation into one graph.
- lower_
product_ representation - Select and lower a product representation for an explicit consumer path.
- select_
shape_ representation - Pick the representation a viewer should draw for this product.