You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pset_validate's allow-list predates the IFC4 set table: it calls IFC4's own sets unknown #831
rvt::ifc::pset_validate (public, called by nothing in the crate, its binaries, the Python bindings or the viewer) classifies property set names against a hand-written allow-list of seven sets (KNOWN_PSET_COMMON: Pset_WallCommon, Pset_DoorCommon, Pset_WindowCommon, Pset_StairCommon, Pset_ColumnCommon, Pset_BeamCommon, Pset_MemberCommon). Since #821 the crate carries IFC4's 278 standard sets generated from buildingSMART's definitions (ifc::standard_property_sets), and the production exporter writes many sets outside that list.
What it gets wrong today:
classify_pset_name and is_unknown_reserved_pset call every other IFC4 set rvt-rs writes reserved-looking and unknown: Pset_SpaceCommon, Pset_EnvironmentalImpactIndicators, Pset_SpaceCoveringRequirements, Pset_ManufacturerOccurrence and the rest.
mapping_examples says typed door recovery is unsupported (RE-19). RE-19 closed one route, the opening-index rows; doors are typed from their element records' BuiltInCategory and exported as IfcDoor with Pset_DoorCommon.
Measure's IFC4 property set check (#826) now does what the module set out to do, against buildingSMART's definitions.
What would close this: route the classification through ifc::standard_property_sets (a set IFC4 defines is standard, any other Pset_ set is reserved and unknown), or remove the module as superseded. It is public, so either change belongs in the CHANGELOG.
Activity
refactor(ifc)!: remove pset_validate and its mapping examples, which …
refactor(ifc)!: remove pset_validate and its mapping examples, which …