Skip to content

fix(ifc): a ceiling exported as IfcSlab takes no level-slab PitchAngle, which RE-238 measured on floors, roofs and landings only (#1987) (RE-238) - #1992

Merged
DrunkOnJava merged 2 commits into
mainfrom
fix/1987-ceiling-slab-pitch
Nov 14, 2026
Merged

DrunkOnJava merged 2 commits into
mainfrom
fix/1987-ceiling-slab-pitch

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

Part of #1987. RE-238 writes Pset_SlabCommon.PitchAngle 0 on any IfcSlab known to be level (level_slab): a landing slab, or a slab drawn as an extrusion of its type's layers. RE-238 measured this on floors, roofs and stair landings only. On the BIM4LCA timber housing as built, a compound ceiling Revit exports as a slab (tag 2337931) gets the 0, and Revit's export writes no PitchAngle on it. The listing of #1987 (Measure 43553715065, psets_vs_ifc with PSETS_MISSING on research/1987-extra-values) named it. Now level_slab leaves out a Ceiling.

Testing

Measure 43554519222, unfiltered against main with nordic, r2025, samples and holdout. Registered before it runs:

  1. On the timber housing as built, Pset_SlabCommon.PitchAngle "values Revit does not write" goes from 1 to 0.
  2. No model's Pset_SlabCommon.PitchAngle equal count falls, held-out ones included. A fall means Revit writes a level ceiling's 0 on some file, and the change goes back.
  3. Only exports with a ceiling written as IfcSlab and drawn as its layers move.

Part of #1987.

…e, which RE-238 measured on floors, roofs and landings only (#1987) (RE-238)
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Measure 43554519222 of head b3e26b3 against main ce8f910, unfiltered with nordic, r2025, samples and holdout: the three registered rows hold.

  1. On the timber housing as built, Pset_SlabCommon.PitchAngle "values Revit does not write" goes from 1 to 0 (the file's total from 32 to 31).
  2. No model's PitchAngle equal count falls: 34 of 36 there, as before, and no other model's psets output moves, held-out ones included.
  3. Only that export moves: 119 of 120 are byte for byte main's, and diagnostics differ there alone.

The same-project gates pass on the head. Marking ready. It lands after the 0.23.0 tag.

@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 14, 2026 04:36
@DrunkOnJava
DrunkOnJava merged commit 3bd99aa into main Nov 14, 2026
36 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/1987-ceiling-slab-pitch branch November 14, 2026 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant