Repository navigation
fix(compare): the IFCSPACE compare note, the saved-mesh outline source and the wall-stub heuristic say what main does (#2130) - #2134
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three strings that ship with rvt-rs said less than
maindoes. They now say what it does. No export, diagnostic or JSON shape changes;rvt-ifc-compare's note text forIFCSPACEchanges.SPACE_OUTLINE_SAVED_MESH(src/ifc/export_content.rs): its rustdoc described a room drawn withrvt-ifc --saved-meshesonly.saved_meshes::attach_scoped_with_controlsets 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 withrvt-ifc --saved-meshes, asrvt-ifc'sexport_optionsdescribes.IFCSPACEnote ofcatalogued_divergence_notes(src/ifc/compare.rs), whichrvt-ifc-compareprints, said a room whose solid does not close keeps its bounding box. It now gives the orderdocs/rooms.mdgives: the solid's faces or edges, then from Revit 2023 the saved mesh, and only otherwise the box.src/ifc/export_content/wall_profile.rssaid 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 theIFCSPACEnote lags the table is removed, since the note now matches.Closes #2130.
Motivation
#2130, found while correcting the docs in #2131 and #2132.
Changes
src/ifc/export_content.rs,src/ifc/compare.rs,src/ifc/export_content/wall_profile.rs: the doc comments and the note string above.docs/ifc-compare.md: the paragraph above.changelog.d/fixed/2130-compare-space-note.md: the note isrvt-ifc-compareoutput, so it carries a fragment, as docs(research): comments, module docs, reports and compare notes say what the research they cite measured (batch 7) #1930's change to these notes did.Testing
Unit tests are banned in this repository: do not add them.
rustfmt --checkpasses on the three files, andtools/ci/api-doc-ids.pypasses (RE-383 is now cited in rustdoc).rvt-mcp/,viewer/srcorpython/.docs/ifc-compare.mdholds the note's text (grepovertests/,docs/andtools/).mainwith 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
rvt-ifc-compareprints;python3 tools/release/changelog.py checkpasses.Legal and contribution hygiene
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).