pub fn has_geometry_by_name(type_name: &str) -> boolExpand description
Check if a type name (UPPERCASE STEP string) represents an IfcProduct
subtype that can bear geometry (has ObjectPlacement + Representation).
Implementation:
- Modern names go through
IfcType::from_strand are accepted iff they inherit fromIfcProduct, with a small block-list for abstract spatial containers (IfcBuildingStorey,IfcFacility,IfcFacilityPart,IfcSpatialElement,IfcSpatialStructureElement) that don’t carry geometry directly.IfcSpace,IfcSite,IfcSpatialZoneandIfcBuilding(and any concrete subtype of those) are intentionally kept — they have boundary representations the renderer consumes. See [is_non_geometric_spatial] for how that exempt set is maintained. - The only non-EXPRESS compatibility spellings are the documented exporter stratum aliases.
- Reinforcement variants not covered above fall back to a substring
match (
REINFORCING…/REINFORCED…).