Skip to content

fix(ifc): a floor drawn along its shape-edited plane keeps its PitchAngle in the mode without geometry, as a level slab keeps its 0 (#1193) (RE-384) - #1627

Merged
DrunkOnJava merged 2 commits into
mainfrom
fix/pitch-angle-no-geometry-mode
Nov 9, 2026
Merged

DrunkOnJava merged 2 commits into
mainfrom
fix/pitch-angle-no-geometry-mode

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Summary

rvt-ifc --mode typed-no-geometry now keeps the PitchAngle of a floor drawn along its shape-edited plane, as the geometry modes do since #1619. The rule read the floor's body source after that mode strips it, so the mode left the angle out while a level slab kept its 0.

Motivation

rvtReview's question on #1619: the angle is read after the typed-no-geometry strip, so is that mode meant to leave it out? It was not intended. Revit's export writes the angle whatever the body, and a mode that drops the body should not drop a value that does not come from it. The office's 8 sloped floors per file show it: in the mode without geometry they had no PitchAngle at all (8 missing), where the geometry modes write all 62 of the office's values equal to Revit's.

Changes

  • src/ifc/export_content.rs: the test "is this slab drawn along its shape-edited plane" is shaped_floor_body, called twice: before the mode strips the body source (for PitchAngle, as level_slab is read) and after it (for the plan-profile extrusion kept beside the solid, which stays a body matter and so stays out of a mode without a body).
  • changelog.d/fixed/384-shaped-floor-pitch-no-geometry.md.

Testing

Unit tests are banned in this repository; the change is shown end to end on real files:

Audit-honesty checklist

  • README / docs reflect the current state after this PR: no capability statement changes (the mode writes the value the geometry modes already write).
  • A user-visible change has its entry as a fragment under changelog.d/fixed/.
  • If a limitation was resolved, the docs are updated: none listed.
  • If a new limitation was introduced, it is documented in the PR body and in-code: none.
  • Commit messages describe what changed and why
  • No emojis in code, docs, or commit messages
  • No private paths, personal email addresses, or internal jargon in committed files
  • Reverse-engineering finding: none; this orders a read feat(ifc): a floor drawn along its shape-edited plane carries that plane's slope as PitchAngle, as Revit's export writes it (#1193) (RE-384) #1619 added (RE-384).

Legal and contribution hygiene

Breaking changes

None.

Related issues

Refs #1193 (W7), RE-384, #1619.

…ngle in the mode without geometry, as a level slab keeps its 0 (#1193) (RE-384)
… floors' PitchAngle, and the unfiltered run that moves nothing (#1193) (RE-384)
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 9, 2026 19:30
@DrunkOnJava
DrunkOnJava merged commit a9666c0 into main Nov 9, 2026
63 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/pitch-angle-no-geometry-mode branch November 9, 2026 19:39
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