Repository navigation
feat(ifc)!: the project, site, building and storeys take the GlobalIds the file stores (#878) (RE-220) - #970
Merged
Merged
Conversation
DrunkOnJava
enabled auto-merge (squash)
October 25, 2026 08:41
This was referenced Oct 25, 2026
DrunkOnJava
added a commit
that referenced
this pull request
Oct 25, 2026
… as retitled (#979) ## Summary The contribution map's rows for #323, #810, #824 and #878 take their issues' current titles, and ROADMAP's 0.8.0 paragraph names what each still owes. ## Motivation Today's landings narrowed four issues: #968 and #974 left #323 only its roof parts, #972 left #810 two doors, #975 and #978 left #824 the roof hatch openings, and #970 left #878 the 2015 elements' GlobalIds. The map says it lists each open issue "with each issue's own title". ## Changes - `docs/contribution-map.md`: four rows retitled. - `ROADMAP.md`: #323 (roof parts), #810 (two doors), #824 (roof hatch openings). ## Testing Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead. - [ ] `tools/check-local.sh`: CI. - [x] Docs only; every map row compared with `gh issue list --state open`. ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR - [ ] A user-visible change has its entry as a fragment under `changelog.d/`: not needed, docs only - [x] Commit messages describe what changed and why - [x] No emojis in code, docs, or commit messages - [x] No private paths, personal email addresses, or internal jargon in committed files ## Legal and contribution hygiene - [x] Apache-2.0 - [x] No Autodesk proprietary content - [x] No fixtures ## Breaking changes None. ## Related issues Refs #323, #810, #824, #878
12 tasks done
DrunkOnJava
added a commit
that referenced
this pull request
Oct 25, 2026
## Summary Prepares v0.8.0 (RELEASE.md steps 4 to 8), on the maintainer's go-ahead in chat (2026-10-25: "Cut 0.8.0 after #988"). Scope: `main` at 7483b2b (#988), nothing after it. ## Changes - Version 0.8.0 in `Cargo.toml`, `rvt-py/Cargo.toml` (and its `=0.8.0` pin), `rvt-wasm/Cargo.toml`, `tools/stream_evidence/Cargo.toml`, `viewer/package.json`, `CITATION.cff` (dated 2026-10-25), `.release-please-manifest.json`, `Cargo.lock` and `fuzz/Cargo.lock`. - `CHANGELOG.md`: the 25 fragments assembled (`changelog.py assemble`) into `[0.8.0] — 2026-10-25`, with an introduction and "Upgrading from 0.7" (`ElementId`, `IfcModel::type_property_sets`, `RevitGlobalIds`'s new fields); `[Unreleased]` empty above it. - `README.md`: the release section names 0.8.0 (packed into the crate and the wheel). - `rvt-py/README.md` (the wheel's README): saved parameters reach IFC with `--revit-property-sets`. - The Core Interior witness observations and verdicts follow from this pull request's CI run (the IFC header carries the version), in a second commit. ## Testing Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead. - [x] `tools/check-local.sh`: CI run 40223501543 green on e8e450d (`CI passed`). - [x] Witness files refreshed from run 40223501543's `octetproof-core-interior` artifact (5c701eb): only `witness_version` (0.7.0 to 0.8.0) and the two verdict hashes differ; the IfcOpenShell and IFClite observations are unchanged. ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR - [x] A user-visible change has its entry in `CHANGELOG.md` (the release assembles the fragments) - [x] Resolved limitation updated (support matrix, status): no change in this PR - [x] Limitation documented: no change - [x] Commit messages describe what changed and why - [x] No emojis in code, docs, or commit messages - [x] No private paths, personal email addresses, or internal jargon in committed files ## Legal and contribution hygiene - [x] I agree this work is licensable under Apache-2.0 (see `CONTRIBUTING.md`) - [x] This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content (see `CLEANROOM.md`) - [x] Any new test fixtures use synthetic values: none added ## Breaking changes The release carries #923, #934 and #970's, listed under "Upgrading from 0.7".
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
The project, site, building and storeys take the GlobalIds the file stores, as Revit's export does, where rvt-rs generated all four kinds. On BIMcollab's Revit 2015 structural example the project's, site's and building's GlobalIds are now Revit's (0 → 3 of 3) and so are its five storeys' (0 → 5 of 5); on both BIM4LCA office files the project's, site's and building's (0 → 3 of 3). Part of #878 (RE-220).
Motivation
#878 is Revit's own GlobalIds on Revit 2015, where none were rebuilt. revit-ifc's
GUIDUtil.CreateProjectLevelGUID(CLEANROOM.md source 5) takes the project's, building's and site's from the project information'sIFC_PROJECT_GUID,IFC_BUILDING_GUIDandIFC_SITE_GUIDwhere they hold a valid value, and a Level's from itsIFC_GUID. RE-208 found the 2015 example's storey values stored; RE-220 finds where all of them sit and reads them.Changes
src/revit_global_ids.rs:stored_global_idsreads each stored value (<i32 parameter><u32 22><22 UTF-16 chars>): the project's, site's and building's under their own parameters where the file holds one value each; else, among values under parameter -1, the one triple related as Revit's export relates them (building = project XOR 1, site = project XOR 2 in the last bits); a storey'sIFC_GUIDvalue where its Level's id stands twice, 58 bytes apart, within 512 bytes before it, and none for a Level given two.src/ifc/mod.rs:RevitGlobalIdscarriesproject,siteandbuilding(serde default); a storey prefers its stored value over RE-48's.src/ifc/step_writer.rs: the project, site and building take them in place of generated ones.examples/probe_878_stored_guids.rs,probe_878_project_guids.rs,probe_878_text_guids.rs; scorerstools/re/stored_guids_vs_ifc.py,project_guids_vs_ifc.py,text_guids_vs_ifc.py;tools/re/global_ids_vs_ifc.pynow scores storeys by GlobalId as well as by name, and the project, site and building.reports/element-framing/RE-220-stored-global-ids.md,docs/status.md,docs/support-matrix.json(revit-global-ids),docs/release-1.0-criteria.md(W5),changelog.d/added/stored-global-ids.md.Testing
Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead.
tools/check-local.sh: CI.Verified end to end on real Revit files. Measure 40176601924, this change against
main(fa7e56b), default models plus-f nordic=true -f r2025=true -f bimcollab=true,global_ids_vs_ifc:Only those three files' IFC changes, and no other scorer's output.
Measured negative, recorded in RE-220 §1: for files that store none, the base GUID revit-ifc's
GetExportIdXORs the fake ids -16/-15/-14 into is no element's RE-48 GlobalId, no history episode, not BasicFileInfo's Unique Document GUID, and no GUID the file holds as text (0 of 30 models each; Measure 40176521028 for the text GUIDs).Not re-measured: Snowdon Towers (local only).
Audit-honesty checklist
changelog.d/Legal and contribution hygiene
BuiltInParametervalues, and the rule for which value Revit uses is from revit-ifc, the open-source LGPL exporter CLEANROOM.md lists as source 5, read for behaviour, not copied. No Autodesk SDK source, disassembly or NDA material was used.Breaking changes
BREAKING CHANGE:
ifc::RevitGlobalIdsgains three public fields,project,siteandbuilding(Option<String>, serde default). Code that builds aRevitGlobalIdswith a struct literal needs them or..Default::default(); serialised values without them deserialise asNone.stored_global_idsandStoredGlobalIdsare new, in the research surface. Recorded inchangelog.d/changed/revit-global-ids-fields.md.Screenshots or output samples
Related issues
Refs #878