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
Bind recovered columns to storeys via the record bbox base elevation #213
The 256 recovered columns are emitted with storey_index: None, so they land under the writer's default storey and RvtColumnGeometry.LevelBindResolved is false. That is honest — no Level ElementId was recovered — but the binding may be available geometrically without solving #86.
Observation: the recovered records' bbox min_z values cluster on exactly the elevations rvt-rs already recovers as storeys. On 2024_Core_Interior.rvt the column base z values are {0.0, 31.0, 46.0, 61.0, 76.0, 91.0, 106.0, 121.0, 136.0, 151.0} — a 15 ft floor-to-floor rhythm, and Revit's own export puts column 20375 under the storey whose placement is z = 76.0, exactly the record's min_z.
Proposal: bind a column to the storey whose recovered elevation equals its bbox min_z within a tight tolerance, fail closed when no storey matches or more than one does. That is a measured join, not an invented one, and unlike the Level ElementId map RE-20 falsified it does not require an id table that is not in the file.
Caveat that makes this non-trivial and is the reason it is not in #204: rvt-rs currently recovers 12 storeys against the export's 15, and the recovered elevations are often 0.0 because partition Level names arrive without ArcWall elevation trailers (levels is decoder_baseline at 12 for exactly this reason). So the join has nothing to match against on this file until storey elevations are real. The column base elevations are themselves evidence about what those elevations should be — 10 distinct base z values from column records is a stronger elevation signal than the name strings currently used.
Sequence: recover storey elevations from the element-record bbox distribution first, then bind. Both fail-closed.
Activity
feat(elements): recover 256/256 IFCCOLUMN from Revit 2024 partition e…
feat(elements): recover exact Wall/Door/Window/Column instance sets f…
feat(elements): recover 80/80 IFCSLAB and 20/20 IFCSHADINGDEVICE from…
feat(elements): recover all 15 Revit Level names and elevations from …
feat(elements): recover 256/256 IFCCOLUMN from Revit 2024 partition e…
fix(ifc): full IFC4 attribute lists on every emitted instance, and st…
feat(elements): recover exact Wall/Door/Window/Column instance sets f…
feat(elements): recover 80/80 IFCSLAB and 20/20 IFCSHADINGDEVICE from…
feat(elements): recover all 15 Revit Level names and elevations from …
feat(ifc)!: bind storeys from the Level ElementId the element record …
fix(ifc): the storey warning counts each way an element reached its s…