Skip to content

fix(compare): the IFCSPACE compare note, the saved-mesh outline source and the wall-stub heuristic say what main does (#2130) - #2134

Merged
DrunkOnJava merged 4 commits into
mainfrom
fix/2130-stale-strings
Nov 21, 2026
Merged

DrunkOnJava merged 4 commits into
mainfrom
fix/2130-stale-strings

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

Three strings that ship with rvt-rs said less than main does. They now say what it does. No export, diagnostic or JSON shape changes; rvt-ifc-compare's note text for IFCSPACE changes.

  • SPACE_OUTLINE_SAVED_MESH (src/ifc/export_content.rs): its rustdoc described a room drawn with rvt-ifc --saved-meshes only. saved_meshes::attach_scoped_with_control sets it on any space drawn from its saved mesh, family instances written as spaces included. That is the default on Revit 2023 to 2027 since W6: draw family instances from their saved meshes by default (decode the remaining saved-graphics faces) #1191, and on any release with rvt-ifc --saved-meshes, as rvt-ifc's export_options describes.
  • The IFCSPACE note of catalogued_divergence_notes (src/ifc/compare.rs), which rvt-ifc-compare prints, said a room whose solid does not close keeps its bounding box. It now gives the order docs/rooms.md gives: the solid's faces or edges, then from Revit 2023 the saved mesh, and only otherwise the box.
  • The module doc of src/ifc/export_content/wall_profile.rs said every stretch measured is half the wall's thickness. RE-383 measured it half on 11 of 12 walls; Snowdon Towers' wall 1996082 is the exception.
  • docs/ifc-compare.md: its paragraph saying the IFCSPACE note lags the table is removed, since the note now matches.

Closes #2130.

Motivation

#2130, found while correcting the docs in #2131 and #2132.

Changes

Testing

Unit tests are banned in this repository: do not add them.

  • rustfmt --check passes on the three files, and tools/ci/api-doc-ids.py passes (RE-383 is now cited in rustdoc).
  • The note's old text is in nothing under rvt-mcp/, viewer/src or python/.
  • No test, schema or doc other than docs/ifc-compare.md holds the note's text (grep over tests/, docs/ and tools/).
  • Measure 44953635018, this head against main with Autodesk's samples and the same-project gates' scorers: 65 of 65 exports and 65 of 65 diagnostics identical, no scorer difference beyond what only the head side writes, and the same-project gates pass (15 samples held to their earlier saves, and the Areas on 4 saves and on the 2021 save).

Audit-honesty checklist

  • Each changed string agrees with the code and report it names.
  • A changelog fragment for the note rvt-ifc-compare prints; python3 tools/release/changelog.py check passes.
  • No emojis, private paths or internal jargon.

Legal and contribution hygiene

  • Apache-2.0.
  • No Autodesk proprietary content.
  • No fixtures.

Breaking changes

None.

Review: rvtReview, the maintainer session, wrote this change. As rvtDevelop is not running, it re-reads the diff and approves the change itself on a green head (Griffin, 2026-11-12).

@DrunkOnJava
DrunkOnJava merged commit 6f6dabc into main Nov 21, 2026
37 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/2130-stale-strings branch November 21, 2026 22: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.

docs(ifc): three shipped strings lag the measured state: SPACE_OUTLINE_SAVED_MESH's rustdoc, IFCSPACE's compare note and wall_profile's stub heuristic

1 participant