Repository navigation
feat(ifc): Revit 2026 and 2027 beams, stair runs, landings and sketch lines (#421) - #1426
Merged
DrunkOnJava merged 21 commits intoNov 5, 2026
Merged
Conversation
…lopes are read as on 2024 and 2025 (DrunkOnJava#1190) (RE-340) Six readers were limited to 2024 or 2025 by their release lists: a beam's axis (RE-49), a sketch line's segment (RE-50, RE-199), a stair run's native records (DrunkOnJava#357) and shape (DrunkOnJava#323), a landing's top and thickness (DrunkOnJava#824) and a roof edge's slope (RE-56). On 2026 and 2027 the records they read are the 2025 ones (RE-124, RE-179), so each list gains 2026 and 2027 and nothing else in the readers changes. A wall's profile openings (RE-151) checked the beam reader's list. They are measured on 2024 only, so they get their own list, 2024. Measured against the same Autodesk samples saved by an earlier release, element for element by ElementId (tools/re/save_pair_bodies.py; there is no Revit 2026 or 2027 export): rst_basic 2026's and 2027's 355 beams and stair run are their 2024 save's, and the bodies that differ from 2024 fall from 35 of 453 to 1 (a column, as on main); rac_advanced 2026's and 2027's 37 beams, 5 landings and sloped roof are its 2024 save's, and its 10 stair runs and rac_basic's 2 are their 2025 saves'. Of 107 local files, 101 export byte for byte as on main, every 2015 to 2025 file among them; the 6 that change are the 2026 and 2027 samples. 2025 is left as it is: its beams and landings would change too, and there is no publishable Revit 2025 export to measure them against.
…nd renumber the report RE-341 RE-340 is DrunkOnJava#1401's embedded wall stubs on main, so this report and the lines that cite it become RE-341. The conflict in docs/format-reconnaissance.md keeps both addenda.
This was referenced Nov 5, 2026
…h's curve list there (DrunkOnJava#1190) (RE-341) The roof slope list goes back to 2024 and 2025: on 2026 and 2027 an edge takes the 2024 reading, the fascia, rafter cut and several-arrow readers are 2025 only, and no scorer compares a 2026 or 2027 roof with Revit's export. The Sketch curve list reader (RE-97) now runs on 2026 and 2027, so the guard for an edited sketch is live where the sketch lines are read. Refs DrunkOnJava#1190, DrunkOnJava#421
… 1 on them (DrunkOnJava#1190) (RE-341) A shape that did not mesh, or a Tag two products carry, was dropped without a word, so a count such as 355 of 355 could not say how many bodies were never paired. Both are now counted and printed, products with no Tag too, and the exit status is 1 on the first two. A Tag that is not a number no longer stops the sort. The docstring says the check is box and volume, not shape equality. Refs DrunkOnJava#1190, DrunkOnJava#421
…t, and what was measured (DrunkOnJava#1190) (RE-341) The support matrix, evidence page, README, compatibility page, status, supported profile, export diagnostics, changelog fragment and RE-341 now name the floors, ceilings, slabs, footprint roofs and shaft voids the sketch line readers change on 2026 and 2027, give the stair property sets and quantities read from native records, and list what stays unread (sloped roofs, spiral runs, stair names, railing heights and lengths, a wall's profile openings, IFC export overrides, the opening index). The figures are Measure run 41988011289 on head 1d5bbf0, as counts for the held-out models, and the current head is marked not yet measured. Refs DrunkOnJava#1190, DrunkOnJava#421
…ava#1190) (RE-341) Clippy's manual_range_patterns names the OR pattern. Refs DrunkOnJava#1190, DrunkOnJava#421
…ith no Sketch list, exact line ends or shaft void (DrunkOnJava#1190) (RE-341) A roof whose slope is not read is drawn as its outline at the record box's full height, so a sloped roof would become a level block, and no scorer compares a 2026 or 2027 roof with Revit's export. Floors, ceilings and slabs take the widened readers; a roof is read as on main. Refs DrunkOnJava#1190, DrunkOnJava#421
…ct's earlier save, and fail the head side on a difference (DrunkOnJava#1190) (RE-341) bodies_across_saves.py compares each 2026 and 2027 save of rac_advanced, rac_basic and rst_basic with its 2024 and 2025 saves by Tag: beams and landings and sketch outlines with 2024, stair runs with 2025, on class, GlobalId, storey, BodySource, representation, placement, volume and vertices. It fails on a difference, a missing or extra element, a missing save, fewer bodies than the sample holds and a check that compared nothing. Refs DrunkOnJava#1190, DrunkOnJava#421
…er save, roofs keep the record-box solve, and the figures of run 42004827803 (DrunkOnJava#1190) (RE-341) Refs DrunkOnJava#1190, DrunkOnJava#421
DrunkOnJava
added a commit
that referenced
this pull request
Nov 5, 2026
…types, material associations (#1430) (#1432) ## Summary Brings the EXPRESS WHERE-rule findings Measure reports (#1106) to zero in the default export by fixing the three kinds of finding at the writer, keeps Revit's way of breaking one of them behind `rvt-ifc --revit-set-placement`, makes everything that lists a material follow the default export, and adds a CI gate so a finding cannot come back on a model CI holds. ## Motivation #1430. IfcOpenShell's default validation finds none of these, which is why no gate caught them. Findings on main, from Measure run 41988011289 (`rules:` section of each model's `schema.txt`): | Rule | Where | What was written | |---|---|---| | `IfcShapeRepresentation.CorrectItemsForType` | `rst_basic` 2024 (14), `rac_advanced` 2024 (2), Snowdon structural 2024 (10); #1426 carries it to 2026 and 2027 | an `IfcFixedReferenceSweptAreaSolid` (the sloped beam's body) under `SweptSolid` | | `CorrectPredefinedType` on `IfcAirTerminalType`, `IfcElectricApplianceType`, `IfcSpaceType` | BIM4LCA office as built and at permit, 1 each | `PredefinedType` `USERDEFINED` with no `ElementType` | | `IfcRelAssociatesMaterial.AllowedElements` | the same two files and both terrain files, 1 each | a material associated with an `IfcSpace` (the `Turning Free Space` instances: 42 on each office file, 2 on each terrain file) | ## Decision (Griffin, 2026-11-05, through the question tool: "Valid IFC4, Revit's behind flag") Revit's own office export breaks the second and third rules the same way. Measured with this check (IfcOpenShell 0.9.0.post1) on the BIM4LCA As-Built Revit IFC: 1,194 findings, among them `IfcAirTerminalType`, `IfcElectricApplianceType`, `IfcFurnitureType` and `IfcBuildingElementProxyType` with `USERDEFINED` and `ElementType` `$`, and on the terrain-concrete Revit IFC a material associated with 2 `IfcSpace` and 1 `IfcSpaceType`. So the default export is valid IFC4, and Revit's behaviour is behind the flag, the same split as the property sets (RE-235): - Default: a `USERDEFINED` type object writes its own name as `ElementType` (kept either way, per the decision) and an `IfcSpace` has no material association. - `rvt-ifc --revit-set-placement` (and the MCP server's `revit_set_placement`) keeps the material association Revit's export writes on an `IfcSpace`. **That output breaks `IfcRelAssociatesMaterial.AllowedElements`, as Revit's own export does** (42 spaces on each office file, 2 on each terrain file); the CLI help, `docs/supported-profile.md`, `docs/status.md`, `docs/validation-evidence.md`, `docs/evidence.md` and the fragment say so. The CI gate and Measure's `rules:` section read the default output. - `PredefinedType` stays `USERDEFINED` (type GlobalIds hash it); `ElementType` is a value Revit's export leaves `$`. - The sloped beam stays a fixed-reference sweep under `AdvancedSweptSolid`. Revit draws a beam as an `IfcExtrudedAreaSolid` under `SweptSolid` (checked on the 8 beams of one held-out model: counts only); redrawing it is a geometry change left out of this PR. ## Changes First commits (c4b6e86, dab7621): - `src/ifc/step_writer.rs`: `SolidShape::SweptPath` under `AdvancedSweptSolid`; a body of several solids takes the one `RepresentationType` IFC4 takes for all its items (`shared_representation_type`); a `USERDEFINED` type object writes its name in `ElementType`; `IfcSpace` material associations are left out by `write_step_with_options` and `write_step_to` and kept by the new `write_step_with_space_materials` and `write_step_to_with_space_materials` (additive entry points: `StepOptions` is unchanged, so no struct literal and no semver surface breaks). - `src/bin/rvt_ifc.rs`, `rvt-mcp/src/exports.rs`: `--revit-set-placement` / `revit_set_placement` pick the entry point. `rvt-mcp/src/args.rs` changes that option's description in the MCP contract, which the watcher's commit 00bd7dd carries into `docs/mcp-tools.json` and `.md`. - `tools/ci/ifc_validate_summary.py --gate FILE...`; the CI step; `tools/ci/scrub-holdout-results.sh` keeps `schema validate:` / `schema rules:` counts for held-out models. This push answers the second read: 1. **Union.** A tessellated item in a union of solids broke `IfcBooleanResult.FirstOperandClosed` and `SecondOperandClosed` (the face set records `Closed` as `$`). It is now written as the faceted brep of the same triangles (`emit_solid_shape`'s `operand`; the top-level mix decides this from `solid_kind` before writing, the nested compound and the explicit `BooleanResult` operands always). Checked with IfcOpenShell on hand-written STEP files: the union with the face set as the second operand, and as the first, finds one finding each; the same union with the face set marked closed, or written as the faceted brep (either position), finds none; extruded and tessellated items under `CSG` find `CorrectItemsForType`, under `SurfaceOrSolidModel` none. No current producer builds such a union, so no current output changes. 2. **Consumers.** `step_writer::associates_material` is the one decision; the writer, the elements CSV (`schedule_csv`, so `rvt-schedule`, Python's `schedule_csv()` and the viewer's download), the viewer's info panel, schedule and material count (`scene_graph`) and the viewer's material highlight (`main.ts`) list no material for an `IfcSpace`. There is no CSV under `--revit-set-placement`: `rvt-ifc` writes none and `rvt-schedule` has no such flag, so no schedule keeps a space's material. Left alone: the glTF colours (`gltf.rs`), because a colour on a space's mesh is a drawing choice and not an association; the MCP server and `rvt-py` list no material of their own. 3. **Option docs.** `ExportOptions::revit_set_placement` now says it places properties only, that the space material half is the writer's two entry points, that library, Python and wasm callers of `write_step` get the default, and why the two are not one setting: a setting both read would be a field of `StepOptions` (a struct callers construct by literal, so a new field is a semver break) or of the model, which would also take the material from the glTF and the viewer. 4. **Docs.** `docs/evidence.md` (the `--revit-set-placement` row), `docs/support-matrix.json` (`ifc-type-objects` and `ifc-material-layer-sets` notes; there is no capability of the flag itself), the fragment and this body now state the rule-breaking behaviour and the measured flag-on result; the stale comment at the representation maps (`SweptSolid / CSG / Brep`) is fixed. 5. **`%` in a message.** `json_logger.log` does `message % args`, so a finding on an instance whose string holds a `%` raised and ended the check. `literal_logger` takes a message without arguments as written. Reproduced on a hand-written file (an `IfcSpaceType` named `50 % Space %d %s` and a second violating type): the old logger raised `TypeError` after 1 finding; `--gate` reports both and exits 1; `--both` (Measure's path) writes both findings to its rules file. 6. **Gate position.** The step runs after the witness steps, with `if: ${{ !cancelled() }}`, so a gate failure never skips the observation export a REPLAY_DRIFT fix needs; it also gates the two witness exports. It fails on a file an earlier failed step did not write, which is red already. The gate exits 1 on Revit's terrain export (52 findings) and, with all three kinds, on a hand-written file (`CorrectItemsForType`, `CorrectPredefinedType`, `AllowedElements`, plus `WR11` and `WR41` the stub file adds). The three kinds occur on none of Core Interior, Einhoven and the four RE1 projects, which read 0 on `main` (run 41994889680 base side), so the gate would have passed those on `main`; the tier-1 and synthetic exports were not checked on `main`. The gate is a tripwire for the next regression, not proof that CI's own files had the old findings. 7. **`USERDEFINED`.** An occurrence with `.USERDEFINED.` and no `ObjectType` read is written without a `PredefinedType` (the writer invents no value); an unnamed `USERDEFINED` type states an empty `ElementType`. Neither occurs on a measured model (the rules check reads 0 on all 90 models whose export it checks), so no measured byte should move; Measure below checks that. 8. **Scrub.** The awk stops at `property sets:`, and prints `schema rules: not read` when the `rules:` section has no `findings` line (a timed-out check), and `schema validate: not read` / `schema rules: not read` for `unreadable:`. Run against hostile `schema.txt` inputs (names and ids in finding messages, fake `findings 0` lines, a rules section cut off, an unreadable file, a validation skipped for size): only counts and `Entity Entity.Rule` names leave, in 7 of 7 cases. - `probes/examples/probe_1430_space_materials.rs`: counts the model's spaces with a material and the CSV's space rows that list one (expected 0), and the other rows that list one. ## Testing Unit tests are banned: nothing added. `cargo fmt --all -- --check`, `python3 -m py_compile`, `actionlint` and `tools/release/changelog.py check` pass locally; nothing was compiled or run locally (CI and Measure are the build). Measured: - Run 41994889680 (code head c4b6e86, default output, `base=main`, `nordic`, `r2025`, `holdout`, `samples`): `rules:` reads `findings 0` on the 90 models whose export it checks; the 18 held-out models report `schema rules: findings 0` as counts; 3 samples over the 30 MB the schema step reads are not measured, as before. - Run 42002548557 (head f3c87e4, same flags), read by the main session: 104 of 111 exports byte-identical, 7 move (the four office files and the 2024 `rac_advanced`, `rst_basic` and Snowdon structural); 0 rule findings on every model checked; the held-out counts at 0 on all 18; the MCP server's answers equal on 1,258 lines. CI's gate printed `findings 0` on 13 files in 48 s on the CI run at f3c87e4. - Run 42002553349 (head f3c87e4, `ifc_flags=--revit-set-placement`, the two office files, `base=main`, `schema`, `psets_vs_ifc`, `element_materials_vs_ifc`): the rules check reads `findings 1` on each office file at the head (`IfcRelAssociatesMaterial.AllowedElements`, 42 spaces in its message) and `findings 4` at `main`; the property set and material outputs are the same at both. **This is the one flag-on export whose `rules:` section reads non-zero, and it is expected.** - `ifc.sha256`, `element_materials_vs_ifc` and every other output apart from `schema.txt` and `ifc.sha256` are the same at the two sides of run 41994889680 (diagnostics, timings, logs and MCP dump apart). Pending, on the head of this push (f5895a9): Measure run 42010709009, filtered, `base=main`, `nordic`, `samples` with `sample_years="2024 2024"`, `models="nordic-office-* core-interior re1-architecture"`, `scorers=schema`, `probe=probe_1430_space_materials`. `models` does not reach the samples, so the run has all 10 of the 2024 samples (the 3 that moved and 7 that did not; 3 of them skip the schema step for size and are still hashed), the four office files, Core Interior and RE1 Architecture. Its `ifc.sha256` should equal run 42002548557's head side on all of them (the 7 that moved at their moved bytes, the rest unchanged), which is what confirms the union, `USERDEFINED` occurrence and consumer changes move no export byte; for the `USERDEFINED` occurrence rule that means this: the 42 `Turning Free Space` spaces keep `.USERDEFINED.` because their `ObjectType` is `Family:Type` (the tagged-space scorer reads `ObjectType` equal on all 44), so only an occurrence with no `ObjectType` loses its `PredefinedType`, and the rules check reads 0 on every model where one would have shown. The probe prints, per model, the spaces the model holds a material for and the CSV's space rows that list one (expected 0); `main` has no such probe, so the base side skips it and shows no before count. Not measured at all: the elements CSV in the viewer's download; the viewer's panels and highlight (no browser run); the gate on the head of this push (it now reads 15 files, the 13 of the earlier shape and the two witness exports, so the 48 s above is for the old step shape); the 2026 and 2027 sample exports that #1426 will give their findings; and that the Rust and TypeScript of this push compile, which only CI says. **Final unfiltered Measure on this head, run 42010834977 (f5895a9, `base=main`, `nordic`, `r2025`, `holdout`, `samples`), read by the maintainer:** 104 of 111 exports are identical to main. The 7 that move are the four office files and the 2024 `rac_advanced`, `rst_basic` and Snowdon structural. The scorer diff is `schema.txt` on those 7 only. The `rules:` section reads `findings 0` on all 90 models it checks and on all 18 held-out models (counts). MCP consistency: 0 differ on 629 lines. The semantic check on this commit reads `pass: no semantic difference in 34 models`. It compares sampled dumps, and the space materials this PR removes are not in them, so that pass says nothing about those materials: the rules check and the file comparison do. Not measured: the 3 samples over the schema step's 30 MB cap, as before, and the viewer's panels in a browser. ## Audit-honesty checklist - Changelog fragment: `changelog.d/fixed/1430-express-rules.md`, with the figures read from the runs above and what is not measured. - New limitation: spaces carry no material in the default IFC, the elements CSV and the viewer's panels where Revit's export associates one; `--revit-set-placement` writes it into the IFC and then breaks `AllowedElements`. ## Breaking changes None. Two public functions are added to `ifc::step_writer`. The IFC text moves in three places only: `RepresentationType` of a sloped beam's body, `ElementType` of `USERDEFINED` type objects, and the material associations on `IfcSpace` (default output). The elements CSV's `material` cell is empty on `IFCSPACE` rows. ## Related issues Refs #1430
…rce each save gives it, and print it (DrunkOnJava#1190) (RE-341) Run 42010304828 required the ceiling as a sketch outline; the 2024 save draws it as its record box, so it was never compared. It is now a named element, held to the 2024 save under any source, with its class, BodySource, ProfileResolved and volume printed in every save. ProfileResolved joins the fields compared, and a least number of outlines is required. Refs DrunkOnJava#1190, DrunkOnJava#421
… the held-out roof back in the box list (DrunkOnJava#1190) (RE-341) Refs DrunkOnJava#1190, DrunkOnJava#421
…rtial reference sets say so, an unknown project fails, outlines are compared with both earlier saves (DrunkOnJava#1190) (RE-341) A failed step in a measure shard skipped Compare, and a run without the 2024 and 2025 saves (sample_years 2026 2027) failed falsely on a one-argument call. The check now reads the head results in the job bodies-across-saves, which Compare does not need; a sample without its earlier saves is SKIPPED, one with only some PARTIAL, and each skip prints a notice and a summary line. An unrecognised project fails. Sketch outlines are also compared, without scoring, with the 2025 save, and rac_advanced's floor 139803 is printed in every save. Refs DrunkOnJava#1190, DrunkOnJava#421
…an still be a level block, the final run's figures, and the open floor (DrunkOnJava#1190) (RE-341) The monolithic landing's outline lines are read through scan_run_data, which reads 2024 only, so it stays its box. The report and fragment are renamed away from roofs. Refs DrunkOnJava#1190, DrunkOnJava#421
# Conflicts: # docs/format-reconnaissance.md # tools/ci/measure-reference-models.sh
…s Compare's report (DrunkOnJava#1190) (RE-341) DrunkOnJava#1428's Areas gate was a step of the measure job, so a failure skipped Compare. It and the bodies check are now steps of the job same-project-gates, each running whatever the other did, reading the head shards one directory each (two shards write an areas_across_saves.txt), with a notice and a summary line on every skip. Refs DrunkOnJava#1190, DrunkOnJava#421
11 tasks done
This was referenced Nov 5, 2026
DrunkOnJava
added a commit
that referenced
this pull request
Nov 5, 2026
…space or family_instance (#1437) (#1439) ## Summary Every `IfcSpace` gains a `SpaceKind` property in its `RvtElementRecordGeometry` set: `room`, `area`, `mep_space` or `family_instance`, from the Revit class of the record it was read from. In diff terms, on each model with spaces: - the IFC export: each `IfcSpace`'s `RvtElementRecordGeometry` gains one `IfcPropertySingleValue` named `SpaceKind` (an added property, one per space; `IFCPROPERTYSINGLEVALUE` rises by the space count, 116 on Core Interior, and `IFCPROPERTYSET` and `IFCRELDEFINESBYPROPERTIES` do not move); - the MCP server: each row of `list_rooms` gains `space_kind`; the summary (`open_model`, `get_summary`) gains `space_kinds`, the spaces by kind, and its `room_count`, which has always counted every `IfcSpace` (308 on the office, of which 234 are rooms), is described as that; a sampled `get_element` on a space shows the added property in its `RvtElementRecordGeometry` set; and `get_diagnostics` (`diagnostics.json`) gains `exported.space_kinds` and `exported.spaces_without_kind`; - the room schedule (`rvt-schedule --schedule rooms`, Python `schedule_csv`, the viewer's room schedule) gains a last column, `space_kind`; - nothing else in the export moves: `SpaceOutlineSource` is unchanged and keeps meaning only where an outline came from. ## Motivation #1437 (Griffin, 2026-11-05). An importer cannot tell an Area from a room by asking what it is: the only marker in a default export was `SpaceOutlineSource`, and a filter on its values stops catching Areas when a release reads them by another rule (#1428, merged, gives the office's 30 Areas `area_plan_topology` and the Areas of Revit 2025 to 2027 `area_plan_topology_unchecked`). #1359 reports what that costs an importer that places rooms by footprint. `docs/rooms.md` now leads with which property answers which question and says never to filter on the values of `SpaceOutlineSource`. Closes #1437. The reply on #1359 was corrected by a comment Griffin approved (issuecomment-6657669525). ## Changes - `src/ifc/export_content.rs`: `SPACE_KIND_PROPERTY` and the four values; the kind is added to the space's `RvtElementRecordGeometry` (made for a space that has none) after every other step, in every export mode, so `typed_no_geometry` carries it too. Taken from the class (`Room`, `Area`, `Space`) or, for any other class written as `IfcSpace` through its own "Export to IFC As" (#763), `family_instance`. `contain_in_spaces` now takes an Area from its kind and not from four values of `SpaceOutlineSource` (the same Areas: an Area with a body has a kind and an extrusion, one without has no extrusion to contain anything in). `SpaceOutlineSource` is otherwise untouched. - `src/ifc/mod.rs`, `src/bin/rvt_ifc.rs`, `docs/schemas/export-diagnostics.schema.json`, `docs/export-diagnostics.md`: `exported.space_kinds` and `exported.spaces_without_kind`, counted from the model the IFC is written from; `rvt-ifc` says so when a space has no kind. - `src/ifc/schedule_csv.rs`, `docs/user-guide.md`, `python/`, `rvt-py/`, `viewer/index.html`: the `space_kind` column and `RoomRow.space_kind`, and the texts that list the room schedule's columns. - `rvt-mcp/src/{schema,views,server}.rs`, `docs/mcp.md`: `RoomOut.space_kind`, `SummaryOut.space_kinds` and the redescribed `room_count`, and the `list_rooms` description, which lists no outline values beside the advice not to filter on them. The tool contract in `docs/mcp-tools.*` is main's, synced by the watcher on this head. - `tools/re/space_kinds_vs_ifc.py` (new): per-model count of `IfcSpace` by kind, the spaces with no kind or another value, and the disagreements: `area` holds exactly where `SpaceOutlineSource` is one of `AREA_SOURCES`, and no other kind holds one. `AREA_SOURCES` and `ROOM_SOURCES` are the one list of the values in code; a value in neither fails, on any kind, so a release that writes a new one has it listed here first. `--total` judges a run on each model's counts and not its verdict word, fails a model whose spaces are not the number its own export counted (`diagnostics.json`, or for a model kept as counts only the MCP server's `rooms`), so a result that saw none of a model's spaces cannot pass, and fails a geometry export whose spaces have lost their `SpaceOutlineSource` (an export whose diagnostics say `typed_no_geometry` has none by design). A run of models with no space, such as one filtered to two Revit 2025 roofs, passes when every export agrees it has none. Wired into `tools/ci/measure-reference-models.sh` (every model and every sample), `tools/ci/scrub-holdout-results.sh` (the `space kinds:` lines, fixed words and integers only, kept for the held-out models), the Measure compare job (last step, in a run that names no `scorers` or names this one) and the IfcOpenShell job of CI. - `tools/re/mcp_answers_vs_ifc.py`: `mcp answers` checks each room's `space_kind` against the IFC's `SpaceKind`, the summary's `space_kinds` against the rooms and the diagnostics, and counts the rooms by kind. With `--require-space-kind` (Measure passes it on the head side, as it does `--require-folded-field`) a missing kind, in the answer, the IFC or the summary, is a difference, where two absences used to read as equal. - `tools/re/space_profiles_vs_ifc.py` and `tools/re/areas_across_saves.py` take an Area from `SpaceKind` (the first keeps its old inference, from the shared list in `space_kinds_vs_ifc.py`, for an export from before this change, so main's side of a run prints the same lines); the second no longer has a list of its own. - Docs: `docs/rooms.md`, `docs/status.md`, `docs/support-matrix.json`, `docs/maintaining.md`, `docs/python.md`, a changelog fragment; the Core Interior witness observations and the dated notes of the two project-count manifests. Looked at and left alone: the viewer's info panel lists the whole `RvtElementRecordGeometry` group, so `SpaceKind` appears in it with no code change; the viewer's schedule summary groups by IFC entity and does not split `IfcSpace`; the viewer's support matrix is drawn from `docs/support-matrix.json`. `docs/schemas/` has no schema for the room schedule or `list_rooms`. `RvtElementRecordGeometry` is rvt-rs's own set: `pset_property_value_count` and `psets_vs_ifc` count `Pset_` sets only, so `SpaceKind` is in none of `Pset_` counting, `decoded.parameter_value_count` and the W7 census. Not done, and why: - **A space whose property set is not `RvtElementRecordGeometry` gets no kind.** That is a wall or floor read through the schema walker (`RvtWallGeometry`, `RvtFloorGeometry`) whose "Export to IFC As" names `IfcSpace`; the diagnostics count it (`exported.spaces_without_kind`) and the texts now say so. Giving it a kind means a second property set on the entity and a second place to read it from in the diagnostics, the schedule and the MCP server: not a one-line change, for a case no model measured has (0 on all 111). A wall or floor read as a partition record carries `family_instance`. - **`ifc::build_ifc_model`**, the library builder, adds no kind: it writes the property sets its caller hands it, and no rvt-rs exporter uses it. - **`mep_space` is never written today**, and "no model measured holds a Revit Space" is a statement about what rvt-rs writes: the schema walker's `Space` class is the only source, `PRODUCT_RECORD_CATEGORIES` has no MEP space category, and none of the 93 class censuses (`diagnostics.json`) of Measure run 42019512273 lists a `Space`, among them the 12 `rme_*` samples', which list ducts, pipes and rooms. A census says what rvt-rs reads, not what the files hold. The texts say so. ## Testing No local build; GitHub's runners are the build. The figures of record are those of Measure run 42027776156 at 04d1b10 (`-f base=main -f nordic=true -f r2025=true -f holdout=true -f samples=true`, base main 5988d83); the code of the Rust and the scorers is the same at 34fcf83 (the watcher's contract sync) and at this head, which adds main's #1426 (other elements) and the figures. - CI at 34fcf83 is green, `full / CI passed` included. Its IfcOpenShell job runs the check on Core Interior (116 spaces, 116 rooms, PASS) and RE1 Architecture (11, PASS), then on three broken copies of Core Interior's export, each failing as it should: property renamed `no SpaceKind 116`, every room called an area `area without an Area outline source 116`, every room's outline source made an Area's `other kind with an Area outline source 116`. It also runs a `typed-no-geometry` export of Core Interior (`room 116`, `not checked 116`, PASS) and five cases of the run total (`--total`): a geometry export beside the typed one passes; a run of a model with no space passes; spaces that lost their outline source in a geometry export, a PASS over a failure count and a result that saw none of the 116 spaces each fail. The `pull_request` Measure at 34fcf83 is green. - Measure run 42027776156 (success): `tools/re/space_kinds_vs_ifc.py` passes on all 117 models and samples it exported, 66 of them with spaces, and its compare step passes: 4,453 `IfcSpace`s, 3,733 rooms, 628 Areas, 92 family instances, 0 `mep_space`. No space without a kind or with another value, none with an outline source the scorer does not know, no `area` without an Area outline source (all 628 have one) and no other kind with one. | Group | Checked | With spaces | Spaces | room | area | family_instance | |---|---|---|---|---|---|---| | BIM4LCA office files | 4 | 4 | 634 | 482 | 60 | 92 | | Autodesk samples | 58 | 32 | 2,575 | 2,163 | 412 | 0 | | held-out and spent | 19 | 16 | 409 | 403 | 6 | 0 | | rac_advanced saves against the IFC2X3 export (counts only) | 6 | 6 | 696 | 546 | 150 | 0 | | reference models | 6 | 2 | 127 | 127 | 0 | 0 | | Revit 2025 models | 24 | 6 | 12 | 12 | 0 | 0 | The 93 exports that keep their own results hold 3,421 spaces: 2,857 rooms, 472 Areas, 92 family instances; the 24 kept as counts only (18 held-out, 330 rooms and 6 Areas, and the six `rac_advanced` saves) hold 876 rooms and 156 Areas. The office holds 308 at both stages: 234 rooms, 30 Areas, 44 family instances; `rac_advanced` 25 Areas and 91 rooms on every save but 2021's (91 rooms). - Against base on that run, nothing else moved: `ifc.sha256` (which leaves out `FILE_NAME` and `IFCOWNERHISTORY`) differs on exactly the 66 models and samples with spaces and on none of the other 51; `diagnostics.json` differs on every model only by `exported.space_kinds` and `exported.spaces_without_kind`; `mcp answers` and the held-out `counts.txt` differ only by the kind lines and the three checks it gained; the schema rules read 0 findings on all 90 models that have them; every other scorer's output is equal; the Core Interior witness moves `IFCPROPERTYSINGLEVALUE` 27708 to 27824 and nothing else. `mcp answers` is PASS on every model it scores except the six `rac_advanced` saves against the IFC2X3 export, whose `rooms` check reads 1 difference of 116 on base and head alike (not from this change). - The Areas gate (`same-project-gates`), which now takes Areas from `SpaceKind`, passes on that run, and `space_profiles_vs_ifc` prints the same lines as base. - The new `--total` was also run, in a Python session, on the 111 result files of the earlier run 42019512273 (with the one line the scorer has added since injected) and passes, then on copies with one thing changed each: a PASS over `no SpaceKind 1` fails; the same over `SpaceOutlineSource this scorer does not know 3` fails; `not checked 116` on a geometry export fails and on a `typed_no_geometry` one passes; a result of 0 spaces for Core Interior's 116 fails and for a model with none passes; a held-out count that differs from the MCP server's fails; a model with no result fails. - Witness: refreshed from Measure, identical to the committed files on run 42027776156; `tools/ci/witness-verdict.py` replays PASS for both artifacts with the committed verdict files unchanged. The project-count manifests' `IFCPROPERTYSET` stays 6510; their notes say so. - An earlier run (42016267367, head a2dc72c) had the check crash on every file with a space, because it kept no reference to its IFC file; the compare step caught it and failed the run, as designed. Fixed in 0207224. ## Audit-honesty checklist - [x] A user-visible change has its entry as a fragment: `changelog.d/added/1437-space-kind.md` - [x] No emojis, no private paths - [x] Docs name measured figures only from runs, with the run and head ## Breaking changes None. A column is added after the existing ones of the room schedule, a field to `list_rooms`, `space_kinds` to the MCP summary and two fields to the diagnostics, and a property to the set of every `IfcSpace`.
DrunkOnJava
added a commit
that referenced
this pull request
Nov 5, 2026
…ault representation, and what STE1200's Revit 2020 family still needs (#1158) (RE-342) (#1436) ## Summary Research. STE1200 (discussion #112) sent a patch that lets the saved-graphics reader read a Revit 2020 family whose bodies are import geometry only. This PR works out, change by change, what the patch still adds on `main`, measures each change on the files Measure fetches, and takes what holds. One change holds: an `InstanceInfo` with no `m_GRepId` (Revit 2015 to 2022's schema) is read as the default representation. With `Options::releases` widened to `NATIVE_RELEASES`, `native_saved_scene` draws 5,459 to 5,756 of the 6,241 to 6,433 `FamilyInstance` and `ImportInstance` elements of each release's three sample projects, where `main` draws 68 to 70. Against the same projects' Revit 2023 downloads, 41,687 of the 45,349 elements both files draw whole have the same triangle count, world box and total surface area, among them every one of the 11,482 on the 2021 and 2022 projects; 3,662 do not (within 1 ft, not traced to a cause), which is a residual. The pairs are one reader read against itself on two separate Autodesk downloads, not a check against Revit, and no independent oracle was used (RE-342 section 7). Three changes are not taken: deferred history episodes (0 of 92 open files, 18 held-out models and 13 families), `FacetedTopology9` under normal binding 2 (0 objects in the 92 open files and 18 held-out models), and a set `m_bHasScale`. No file Measure fetches draws a body from a set `m_bHasScale`: the open files by the pairs, and the held-out models (1,592 flagged instances in 3 pre-2023 models, 283 in one later model) by run 42029562666 at `e08acf30`, where with the flag read the owners drawn whole and their triangles are the same as at `ab9503b1` in 8 of 8 scenes (counts only). No export changes, and saved graphics stay a research reading on Revit 2015 to 2022. RE-342 has the account. ## Motivation Discussion #112: STE1200's comment of 2026-10-29 and the patch and per-instance JSON they attached on 2026-11-03 (moved to `a98bd316`, offered under Apache 2.0). The maintainer told them the measurement would be on Autodesk's sample projects, which CI can fetch, and that their family would not enter the repository or CI. #1158 (native readers on Revit 2015 to 2022) and #1190 (W2, W6, W7 on 2015 to 2023) are where the releases are tracked. #1144 and #156 do not apply: the first is about cone, spline and cylinder faces, the second about sketch-to-solid. ## Changes - `src/research/native_graphics_traversal.rs`: `default_representation`, at 2 call sites (`:371` and `:421`). An `InstanceInfo` whose `m_GRepId` is 0 (Revit 2023 to 2027) names the default representation; so does one with no `m_GRepId` that holds exactly `m_Trf`, `m_symbolId` and `m_cda` (2015 to 2022: the fields the classes of all 30 sample projects declare). Any other value is refused as before. The first version of the missing-key arm checked `m_Trf` and `m_cda`, which `read_transform` and the `m_cda` test already refuse, so the guard had moved from closed to open; the exact-fields test is closed against an object with a further stored field. It is not a test of the class schema, because the traversal holds no `Registry`. Nothing else in `src/` changes. - `probes/examples/probe_re342_saved_graphics_pre2023.rs`: counts, for one file, what each of the patch's four changes meets (schema classes and parents, deferred episode pointers, topology classes and normal bindings with stored normals against winding normals, `InstanceInfo.m_GRepId`, `GInstance.m_bHasScale` by matrix class, a scene of the file's family instances), and for two files the same elements' meshes against each other. It prints counts only and runs on your own file. - `tools/ci/scrub-holdout-results.sh`: keeps the probe's `saved graphics pre2023:` count lines for a model fetched without a licence to redistribute it. - `reports/element-framing/RE-342-saved-graphics-pre2023.md`, `changelog.d/research/1158-saved-graphics-pre2023.md`, `docs/format-reconnaissance.md`, `docs/contribution-map.md`. ## Not taken, and restoring it The branch also carried the contributor's other changes, as their own commits, and reverts them: `ca48b95a` (deferred history episodes) and `b486a9ba`, `9d8b9dc6` (`FacetedTopology0` and `9`, normal binding 0 or 2) and `59ce1cb6`, `6b0f6726` (`FacetedTopology8`) and `bc9cf037`, `f58d4710` (`m_bHasScale` read with a rigid matrix only) and `ab9503b1`. They fail closed and move no export measured; they are out because nothing Measure fetches shows them right: the pairs table of Measure 42013687044 (all four changes) equals 42015502520's (this change alone) in its drawn-whole, equal and not-equal counts, row for row. Its stop histograms differ in 15 of the 24 pair files: in the 7 `rst_basic` pairs 3 owners per file move from `scaled instance mode is not qualified` to a `GText` stop, and in the 8 `rac_advanced` pairs one owner per file gains a `GText` stop and a primitive (RE-342 section 5.3). To restore the changes, use `research/1158-ste1200-all` (`e08acf30`, all of them with the probe; the contributor has been asked to use it), pinned at `refs/archive/2026-11-05/research/1158-ste1200-all`. `research/1158-probe-only` (`5a814865`, `main` with the probe) is pinned at `refs/archive/2026-11-05/research/1158-probe-only`. Both branches are kept. Reverting commits of this branch does not survive the squash. The stored normals of `FacetedTopology0` under binding 2 are 4,618 facets over 0.1 degree from the winding normal, all in one Revit 2024 file (Autodesk's Snowdon Towers electrical sample), in a graph with a `GImposter` that the traversal skips; that is a reason to take no binding-2 normal as stored without a check. The contributor's `examples/saved_scene_dump.rs` is not taken (an OBJ dump is not a measurement). ## Testing No local build. CI's fast jobs; Measure, all counts in RE-342: - 42015502520 (`ab9503b1`, 34 project files of 2015 to 2023 and 24 pairs against the 2023 download) against 42013683146 (`main`'s readers, probe `5a814865`): family-instance elements drawn whole 68 to 70 per release before, 5,459 to 5,756 after; whole in both files 45,349, same triangle count, box and area (within 0.0001) 41,687, not equal 3,662, none beyond 1 ft in its box and not traced to a cause; 0 of 11,482 on the 2021 and 2022 projects. - 42015507053 (`ab9503b1`, 59 files of 2023 to 2027): with the three 2023 samples of 42015502520 (Einhoven is in both runs), 220,660 `InstanceInfo` objects in 44 files, all `m_GRepId` 0; 92 distinct open files in all. - 42015511974 and 42015516241 (`ab9503b1` against `main` at `f8612274`, `-f nordic=true -f r2025=true -f samples=true -f scorers=none`, the second with `--saved-meshes`): 92 of 92 IFC hashes identical in each; the flag moves 40 of the 92. Filtered runs; the unfiltered run was not made because no export moved. - 42015541431 (held-out census, counts only, nothing scored, `ab9503b1`): 18 models, 7 of Revit 2018 to 2022 without `m_GRepId`, 11 of 2023 to 2027 with it at 0. - 42013687044 (`ecc302d2`, all four changes) and 42013885483 (`6b0f6726`, both offices with `FacetedTopology8` read under `--saved-meshes`: byte for byte `main`'s, empty scorer diff). - After the guard change (`c22ef90d`, whose source is this PR's apart from the merge of #1426, the report, the fragment and the docs): 42030623745 (the pairs, the recipe of 42015502520): all 24 pair outputs and all 34 census outputs equal 42015502520's, line for line. 42030619490 (exports against `main` at `aae3b779`, `--saved-meshes`, the inputs of 42015516241): 86 of 92 IFC hashes identical; the 6 that differ are the 2026 and 2027 sample projects, which #1426 (in `aae3b779`, not yet in `c22ef90d`) changes. 42032443372 repeats the exports at `c0636fe1`, which merges `aae3b779`; its result is not in the PR yet. - 42029562666 (held-out census at `e08acf30`, all four changes, counts only) against 42015541431: the census lines equal in 18 of 18 models; in the 8 models with a scene the owners drawn whole and their triangles are the same (8 of 8), and the stop histogram moves in 3 (58 of 547 owners pass the scale check in one model, 57 of them `decoded_saved_graphics` with no primitive). The runs at `ab9503b1` measured the first version of `default_representation`. Run 42011570902 (the 13 families) is at the probe commit `2e7a9c8e`; its census of families does not depend on the readers. The other runs dispatched on this branch at earlier heads were exploratory and are not cited. ## Breaking changes None. `default_representation` accepts a case `main` refused (an `InstanceInfo` with no `m_GRepId` that holds exactly `m_Trf`, `m_symbolId` and `m_cda`), which only a file of Revit 2015 to 2022 read with `Options::releases` widened can reach; no export does (the release gate alone keeps them out), and every file of 2023 to 2027 measured has `m_GRepId` 0. 271 owners of the 24 older pair files now stop at the view-component diagnostic that `saved_meshes::is_partial` tolerates: the exposure if the gate is lifted (RE-342 section 5.6). ## Screenshots or output samples N/A: no output changed (92 of 92 IFC hashes equal `main`'s at `ab9503b1`). ## Related issues Refs #1158, Refs #1190. ## Contributor declaration (CLEANROOM.md) The changes in this PR are based on public byte observations of Autodesk's sample projects, its family corpus and the files' own `Formats/Latest` schemas (accepted source 1) and on STE1200's published findings and patch, offered under Apache-2.0 in discussion #112 (accepted source 3). I have not used Autodesk SDK source, ODA SDK source, leaked internal documentation, NDA material, or decompiled internal Revit implementation code beyond public symbol exports, and I have not copied or translated code from revit-ifc. The contributor's family (a manufacturer-published Revit 2020 family under BIMobject's terms) was not downloaded or read; nothing of it is committed beyond counts the contributor published in the thread. Co-authored-by: STE1200 <[email protected]>
This was referenced Nov 5, 2026
Merged
10 of 15 tasks
DrunkOnJava
added a commit
that referenced
this pull request
Nov 5, 2026
…n the measured commit (#1448) ## Summary The same-project gates now write what they found as a check run, `same-project gates`, on the commit Measure measured. success means both gates compared every save and passed, failure means a difference or a missing result, and neutral (NOT MEASURED) means they compared less, which never counts as a pass. The maintainer's landing script reads it across a pull request's commits. ## Motivation Griffin chose these gates so that a difference blocks landing (2026-11-05, "Same-project gate"). They run only in a dispatched Measure with `samples=true`, Measure is not a required check, and a run without them leaves a notice and reads green, so "blocks" meant only that the maintainer read the run. A later change to a reader could land unchecked. A required check is not the answer: a pull request's Measure doesn't fetch the samples. ## Changes - `tools/ci/same_project_verdict.py`: reads the results and prints the conclusion, title and summary. Its judgement is a pure function, `judge`. - `tools/ci/test_same_project_verdict.py`: 12 failure-first tests of what must never read as a pass: a run that could not check, no samples expected, a missing result, a pass line with a failed exit, PARTIAL, SKIPPED, Areas only skipped, no Areas result. CI's job beside `test_jev_check.py` runs them. - `.github/workflows/measure.yml`: `same-project-gates` gets `checks: write` and a last step writing the verdict on the measured commit, on a dispatched run only. - `docs/maintaining.md`: what the verdict means and what a landing does with it. The landing script itself (`arm.sh`) is local and not in this repository. It refuses a PR that changes `src/` or the gates' own files unless a commit holding every such change has a passing verdict, and refuses outright when the newest verdict on such a commit fails. A clean merge of `main` is not such a change; a merge that resolves a conflict there is. An override exists only for a missing or stale verdict, needs a stated reason and is logged; it can't override a fail. ## Testing Unit tests are banned except a pure helper's: `judge`, `worst`, `body_state`, `areas_state` and `expected_samples` are pure. `python3 tools/ci/test_same_project_verdict.py`: 20 pass. The step on real runs, dispatched from this branch at `cfd59382`, each read as the check run it wrote on that commit: - 42055812190, `samples=true`: success, "pass: 6 samples held to their earlier saves, and the Areas on 4 saves". - 42055816219, `samples=true sample_years=2027`: neutral, "NOT MEASURED: the gates compared less than every save", where the first version would have written a false failure. - 42055820684, `samples=true sample_years=2027 ifc_flags=--saved-meshes`: neutral, "NOT MEASURED: the exports used ifc_flags (--saved-meshes)", with the job green, where the first version crashed on a single-token flag. The landing script read the pass on this commit in a dry run. Reading the three runs also showed that the check-runs API returns only the newest run of a name on a commit by default, so a later NOT MEASURED would have hidden a fail; the script now reads with `filter=all`. Not measured: a run with a red shard. Its path is covered by the helper tests only. ## Audit-honesty checklist - [x] No capability claim changes, and no export changes. - [x] No changelog fragment: a change to Measure only. - [x] No emojis, private paths or personal addresses in committed files. ## Legal and contribution hygiene - [x] Apache-2.0. No Autodesk proprietary source, decompiled internals or NDA content. ## Breaking changes None. ## Related issues Refs #1261, #1426, #1446.
DrunkOnJava
added a commit
that referenced
this pull request
Nov 5, 2026
…ease counts the shafts it did not cut (#1440) (RE-345) Griffin's decision, 2026-11-05: the only shafts measured on 2025 cut nothing, so the same-project check could not catch a bad cut. The shaft cut gets its own release list, [2024], which turns off the cut #1426 landed on 2026 and 2027; the export's shaft_opening_not_cut skipped item counts the shafts left uncut. Also: the count of models with Revit's own 2025 exports is 25, the shaft sentence of RE-345 names 2025, the 104 outlines of the three samples, and RE-341's and the support matrix's stale 2025 caveats are annotated. Refs #1440
DrunkOnJava
added a commit
that referenced
this pull request
Nov 5, 2026
…#1440) (RE-345) (#1452) ## Summary Revit 2025 saves now draw beams along their axes and tread landings as their treads, and read a sketch line's arcs, as 2024, 2026 and 2027 do. **No Revit export checks any of it on 2025.** Each is held to the same Autodesk project's 2024 save, which cannot catch an error that save shares. **Shaft openings are cut on Revit 2024 only** (Griffin's decision, 2026-11-05): the only shafts measured on 2025 cut nothing, so the check could not catch a bad cut; this turns off the cut #1426 landed on 2026 and 2027, and the export counts the shafts it did not cut. ## Motivation #1440. `BEAM_AXIS_SUPPORTED_REVIT_VERSIONS` and `NATIVE_LANDING_REVIT_VERSIONS` were `[2024, 2026, 2027]` after #1426. The beam list also gated the arc, circle and shaft line readers, so the 2025 save drew rac_advanced's floor 139803, roof 201262 and ceiling 147534 with the chord of an arc (floor: 24 vertices against 170, 440.512245 m3 against 441.111228 m3). ## Changes - `src/research/partition_beam_axes.rs`: the beam list gains 2025; the arc reader gets its own list, `SKETCH_CURVE_SUPPORTED_REVIT_VERSIONS`, `[2024, 2025, 2026, 2027]`; the shaft cut gets `SHAFT_OUTLINE_SUPPORTED_REVIT_VERSIONS`, `[2024]`, which `attach_shaft_voids`, `shaft_outlines` and `scan_sketch_circles` (its only consumer is the shaft) follow; the shaft's lines are read with the release-free `scan_first_bounded_lines`. - `src/research/partition_element_records.rs`, `src/ifc/mod.rs`: `scan_shafts_not_cut` and the new `skipped` item `shaft_opening_not_cut` (class `ShaftOpening`), documented in `docs/export-diagnostics.md` and `docs/schemas/export-diagnostics.schema.json`. - `src/research/native_stairs.rs`: `NATIVE_LANDING_REVIT_VERSIONS` gains 2025 (a monolithic landing stays its box). - `tools/re/bodies_across_saves.py`, `tools/ci/check-bodies-across-saves.sh`, `tools/ci/measure-reference-models.sh`, `tools/ci/same_project_verdict.py` (+ its pure-helper test): a 2025 save is held to the 2024 save; `REQUIRED` and `OUTLINE_LEAST` are per year; the gate counts the elements whose sketch holds an arc. The verdict expects the 2025 samples. - `probes/examples/probe_824_slab_arcs.rs`: floor 139803 and ceiling 147534 are default owners. - Docs: `reports/element-framing/RE-345-2025-beams-landings-arcs.md`, `docs/status.md`, `docs/supported-profile.md`, `docs/evidence.md`, `docs/compatibility.md`, `docs/maintaining.md`, `docs/export-diagnostics.md`, `docs/support-matrix.json`, `docs/format-reconnaissance.md`, `README.md`, `changelog.d/added/1440-2025-beams-landings.md` (the #1426 fragment loses its shaft claim). ## Testing Unit tests are banned: nothing here adds one (the verdict script's existing pure-helper test only moves its expected sample count). - [ ] `tools/check-local.sh`: not run locally (CI is the build). - [x] Verified end to end on real Revit files, on Autodesk's sample projects (fetched, not stored) and the models with Revit's own exports. The run that judges this head is Measure run **42091457764** (head 830a4d9, unfiltered: `base=main`, `nordic`, `r2025`, `holdout`, `samples` for every year, `keep_ifc`, no `ifc_flags`), success. Earlier filtered runs: 42056591627 (beams and landings only), 42056599984 and 42062038214 (before the shaft decision). What run 42091457764 shows, and what it does not: - **The verdict:** the `same-project gates` check run on the head is `success`: "pass: 9 samples held to their earlier saves, and the Areas on 4 saves". Read per sample, all nine `bodies_across_saves.txt` end `PASS`. Areas: 25 Areas with a body on each of 4 saves, every field equal. - **2025 against 2024:** 42 beams and tread landings of rac_advanced (37 `IfcBeam`, 5 `IfcSlab` landings) and 354 `IfcBeam` of rst_basic equal per element (391 beams, 5 landings); 86, 13 and 5 sketch outlines equal. - **2026 and 2027 (the path the rewritten gate had not run on):** outlines 82, 12 and 5 against the 2024 save, each also equal to the 2025 save's; stair runs 10, 2 and 1 compared against the 2025 save; beams and landings 42, 0 and 354. rac_advanced's roof 201262 is a record box there (counted among 4 `IfcRoof` left as boxes), as RE-341 section 5 holds roofs to the box solve. - **`ifc.sha256` against `main`:** 111 exports; **3 move, the three Autodesk 2025 samples**. The other 108 are `main`'s, among them all 10 Autodesk samples of 2026 and 2027, the 4 BIM4LCA office files, Core Interior, Einhoven, the 4 RE1 models, the 24 R2025 models and all 19 held-out and spent models. `main` still cuts shafts on 2026 and 2027, so no 2026 or 2027 export, held-out included, has a shaft that cut something. - **Floor 139803, read from its curves:** line 141561 reads as an arc inside its record box and not as a line (centre (16.758, -11.783, 12.467), radius 11.4829 ft, angles +-0.671678 rad), identical in the 2024 and 2025 saves; the chord's missing segment (2.26 m2) times an implied 0.265 m thickness is the 0.599 m3 gap. - **Arc elements compared:** of 7 owners whose sketch holds an arc, **2 are drawn outlines compared equal on 2025 (a floor and a roof, one project)**; the ceiling and a railing are record boxes in both saves; 3 have no body. - **Shaft openings (`shaft_opening_not_cut`):** rac_advanced 2025, 2026 and 2027 hold 2 each, every other sample of those years 0, the 24 R2025 models and 4 RE1 models none. They cut nothing in the 2024 or 2025 save. The cut is measured on 2024 only (Snowdon Towers architectural: 9 shaft records, 7 voids equal a shaft's outline; structural: 1, none). Held-out models carry no shaft count; none of the 5 of 2026 and 2027 moves. - **The 24 R2025 models and the four RE1 models (Revit 2025):** 0 beams, 0 tread landings, 0 landing slabs in all 28; the arc and shaft census (0 floors, ceilings or roofs with an arc, 0 shafts) covers the 24 R2025 models and RE1 Architecture only. Their exports are byte for byte `main`'s, so no scorer moved; that is no regression and it is not evidence for these readers. - **Held-out and spent models (counts only):** 19 of 19 byte for byte `main`'s, 3 of them Revit 2025 files and 5 of 2026 or 2027. None moves in any category, none toward or away from Revit's export; they hold no beam and do not exercise the readers either. - **What moves:** the three Autodesk 2025 samples only. rac_advanced: 29 + 8 beams and 5 landings leave the record-box set, floor and roof take their arcs, the ceiling returns to its box; rst_basic: 345 + 9 beams; rac_basic: +2 entities and +3 parameter values, settled from run F's kept IFCs (head against `main`: 2 more `IfcPropertySet`, 6 more `IfcPropertySingleValue` including `TypeName` and `Reference` `220mm Thickness`, 2 more `IfcRelDefinesByProperties`): its monolithic landing slab's type name; the body is still the record box. - **Not measured:** a natively authored 2025 beam; quantities and property sets of the new bodies (the gate compares bodies); a monolithic landing on 2025; a shaft cut on any release but 2024. ## Audit-honesty checklist - [x] README and docs name what no Revit export checks, in the same words as RE-345. - [x] A changelog fragment, `changelog.d/added/1440-2025-beams-landings.md`; the superseded caveats in the #1426 fragment are removed. - [x] Resolved limitation (2025 beams, landings and arcs not drawn): `docs/status.md`, `docs/supported-profile.md`, the support matrix. - [x] New limitations stated: the same-project check cannot catch an error the 2024 save shares; two arc elements are the whole evidence for the arc reader; no shaft cut outside 2024. - [x] No emojis, no private paths. - [x] Reverse-engineering finding: `probes/examples/probe_824_slab_arcs.rs` and `probe_re96_sketch_arcs.rs` reproduce it; addendum in `docs/format-reconnaissance.md`. ## Legal and contribution hygiene - [x] Apache-2.0; no Autodesk proprietary source, decompiled internals or NDA material (`CLEANROOM.md`); no new fixtures. ## Breaking changes None for the API. Revit 2025 exports of files with beams, tread landings or arcs change (Autodesk's rac_advanced, rac_basic and rst_basic do). Revit 2026 and 2027 exports no longer cut shaft voids from floors, ceilings and roofs (#1426 had turned that on); none of the files held here changes by it (run 42091457764). ## Related issues Refs #1440. Follows #1426 and RE-341.
Merged
12 of 15 tasks
DrunkOnJava
added a commit
that referenced
this pull request
Nov 9, 2026
… the 2025 properties are read as on 2025 (#1190) (RE-346) (#1454) ## Summary Revit 2026 and 2027 projects now draw pipes as their cylinders, place family instances' ports, cut walls to their doors' and windows' outlines, and write `IsExternal`, railing heights and lengths, stair names, rooms' height and net volume and the pipe and duct quantities, as 2025 projects do. Ten readers' release lists gain 2026 and 2027; one value of them is left out where Revit's own 2026 and 2027 exports disagree, and one more (a stair part's `ObjectType`) is left out for the same reason (below). It's a second slice of #1190, on top of #1426 (RE-341), measured against the same Autodesk samples saved by Revit 2025. ## Motivation #1190 asks for each capability 2024 and 2025 have on every release from 2015 to 2027. After #1426, ten more readers were limited to 2024 or 2025 (room height to 2024 to 2026), so on 2026 and 2027 a pipe was not drawn from its axis, no port was placed, a wall wasn't cut by its doors' and windows' outlines, and the properties below weren't written. On `rme_basic` 2026, 493 of its 6,650 bodies differed from its 2025 save, and none of its 7,046 ports was placed. ## Changes Release lists, each gaining 2026 and 2027 (puzzbobb's change): - `src/ifc/mod.rs`: `PORT_PLACEMENT_REVIT_VERSIONS` (#869). - `src/research/partition_pipe_axes.rs`: `PIPE_AXIS_SUPPORTED_REVIT_VERSIONS` (RE-131). - `src/research/partition_curve_fields.rs`: `CURVE_FIELDS_SUPPORTED_REVIT_VERSIONS`. - `src/research/partition_schema_mvp/fields.rs`: `CUT_LOOP_REVIT_VERSIONS` (RE-215), `IS_EXTERNAL_LAST_STEP_REVIT_VERSIONS` (RE-193), `ROOM_PRISM_REVIT_VERSIONS` (RE-296), and `ROOM_HEIGHT_REVIT_VERSIONS` (RE-255) gaining 2027. - `src/research/native_stairs.rs`: `RAILING_HEIGHT_REVIT_VERSIONS` (RE-231), `RAILING_LENGTH_REVIT_VERSIONS` (RE-254), `NATIVE_STAIR_NAME_REVIT_VERSIONS` (#323). Three more lists were tried by the contributor and left alone: a wall type's face angles, sketch splines and connector pairs change no 2026 export they held. Maintainer's changes on top, from what the held-out Revit 2026 and 2027 exports showed (Measure run 42062972018, head 3149973, counts only): - A door's or window's `Area` is not written on 2027 (`DOOR_WINDOW_AREA_REVIT_VERSIONS`, 2024 to 2026): on hemanth1986's 2027 house and office every one differed from Revit's (rvt-rs over Revit 0.2558 on the windows), while Width and Height were equal and the 2026 Areas were equal. - A stair's, flight's and stringers' `ObjectType` is not written from 2026 (`STAIR_OBJECT_TYPE_LEFT_OUT_FROM`, #1472 for the same on every other class): writing it turned ObjectType from equal to different on the 2026 and 2027 houses. Their type and family are read on 2025 to 2027 as the contributor wrote, which gives them their names (equal) and their type objects and type-derived property sets; each of those is kept only where it measures equal on the held-out pairs (the `holdout=true` run decides). An earlier head of this PR read the type and family on 2025 only, which Measure run 42107917715 showed cost two monolithic flights of `rac_basic` their Names; that is reverted. - The same-project gate now holds the MEP samples and what this PR adds (`tools/re/bodies_across_saves.py`, new `tools/re/readers_across_saves.py`, `tools/ci/measure-reference-models.sh`, `tools/ci/check-bodies-across-saves.sh`, `tools/ci/same_project_verdict.py`): pipes, each door and window cut in its host (the opening, its quantities and the volume it takes out of the host), each port, the properties and quantities, each door's and window's size and type, and a census of every body, all to the 2025 save, with the number each compared printed and a least number that fails. The contributed change passed the old gate without being seen by it. Products that share a Tag are paired by storey, volume and centre, and the two saves must share exactly one GlobalId under such a Tag, on the two products paired, so an identity swapped between two pieces fails (the MEP samples' floors). - **The gate changed how it measures pipes** (Griffin, 2026-11-05, "Compare the cylinder itself"). A pipe that is a circular extrusion in both saves is held to its cylinder, the two ends of its axis in either order, its radius and its length, each to 0.001 ft, and no longer to the vertices of the polygon its circle meshes to. Why: Measure run 42107917715 failed 15 of `rme_basic`'s 2027 pipes by 0.0038 to 0.0063 ft in the vertex check, and in 115 of the 491 `IfcPipeSegment` extrusions the 2027 save writes the frame from the other end (110) or with the profile turned about its axis (5): the same cylinder, a different polygon. All pipes are held the same way, a pipe that really moved still fails, no list was added, and the 15 stay drawn; a pipe that is not a circular extrusion in both saves keeps the vertex check. Each run prints how many were compared as cylinders (454 and 457, all of them) and by vertices (0). - The census admits only 16 `rac_basic` walls (`PINNED_WALLS`, Griffin 2026-11-05: each pinned per release to its source pair, volumes and world boxes, so one whose source, volume or box moves, or that heals, fails; the list can only shrink, #1471 fixes them) and counts the roofs left as record boxes exactly (`rac_advanced`'s 201262 and `rac_basic`'s 243274, one each on 2026 and 2027, none elsewhere). The 2027 pins equal the 2026 pins wall for wall, measured on run 42107917715's files. `tools/ci/check_same_project_projects.py` (a CI step) fails when the files that name the gate's samples and years disagree, when a release pins more than 16 walls and when a pin is added to the 16 first pinned. - #1456's doors and windows group (RE-347) is merged in: this change widens the cut pass that reads a door's flips and rebinds its host to 2026 and 2027, so the left-out ceilings #1456 set at 28 and 42 on `rac_advanced` become 0 and 14 (the 14 are #1475), the floors rise to the 2025 save's, and `rme_advanced` and `rme_basic` join the group with 107 doors per year and a ceiling of 0. These are set from #1456's diagnosis, and the Measure run of this head prints what each really is. - Two doors of `rac_basic`'s 2027 save (431064 and 485679) write no `Qto_DoorBaseQuantities` Width and Height where 2025 and 2026 write 0.8 and 2.1: not explained from the bytes, #1489 (it may be the kind of gap #1475 is). The gate holds `rac_basic`'s properties per release (418 on 2026, 414 on 2027). - `CUT_LOOP_REVIT_VERSIONS` widening makes the cut pass give the doors' and windows' flips on 2026 and 2027, which a pass of their own (`attach_opening_flips`) did: that pass is dropped. - `tools/re/save_pair_ports.py` no longer drops the ports of a key that has more on one side. Also: - `tools/re/save_pair_props.py` (new): every property and quantity of two exports of the same project, element for element (rooms by GlobalId). - `tools/re/save_pair_ports.py` (new): every `IfcDistributionPort`, by its host's `Tag`, `Name` and `FlowDirection`, origin to 3 mm and axis to 1e-3. - `reports/element-framing/RE-346-2026-2027-pipes-ports-cuts-properties.md`, an addendum to `docs/format-reconnaissance.md`, `docs/status.md`, `docs/evidence.md`, `docs/supported-profile.md`, `docs/maintaining.md`, `changelog.d/added/1190-2026-2027-pipes-ports-cuts-properties.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` passes (fmt, clippy, rustdoc, build, real-file / CLI / contract checks) - Not run by the maintainer's lane (no local compute); CI is the build. - [ ] Verified end to end on real Revit files: the command, the files (and their licence), and the measured result against Revit's own export are in the PR body, with the script or probe that reproduces it - **Not against Revit's own export of an Autodesk sample:** no Revit 2026 or 2027 export of them is available. Measured instead against the same Autodesk samples saved by Revit 2025, whose exports are measured against Revit's. It can't catch an error the 2025 save shares, nor a value Revit's exporter writes differently on 2026 or 2027, which is what the held-out pairs showed for the Area. The files are the pinned samples in `research/autodesk-sample-projects.tsv` (fetched, never stored). - **The final run**, Measure [42545885153](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42545885153): this change at `ea21dfc6` (the code of the head that lands) against `main` at `1c088750`, unfiltered with the held-out models, racadv, BIMcollab and every sample, scorers from the PR's own gates. 103 of 118 exports are byte for byte `main`'s, and the 15 that move are all Revit 2026 or 2027: the ten 2026 and 2027 Autodesk samples and the five held-out 2026 and 2027 projects. No 2015 to 2025 export moves, nor Core Interior, RE1, R2025, the office, racadv or BIMcollab. `same-project gates` passes on 15 samples and the Areas. - On the 2026 and 2027 saves of `rme_advanced` and `rme_basic`, every body is the 2025 save's: 6,605 and 6,650. On `main`, 36 walls on each are not cut by their doors and windows. Every pipe (488 and 491) is the 2025 save's cylinder, as it already was on `main` since RE-370. The placed ports are the 2025 save's, 6,967 and 7,054 against 1,944 and 1,956 on `main`. `rac_advanced`'s 2027 save compares its 83 doors and 24 windows and leaves none out (the gate now holds that, ceiling 0). - Held-out 2026 and 2027 pairs, counts only: every value this adds is equal (`IsExternal`, railing Height, the stairs' values, door and window Width and Height, opening Depth, room NetVolume and Height), "different" is unchanged and the values Revit does not write stay 0. No door or window Area is written on 2027. Equal rises, for example on the flowbim house from 378 to 396 property values and from 135 to 200 quantities. - The 2025 save still writes values these saves do not, counted and not failures: `IsExternal` on walls, plates, members and curtain walls, 2027's Areas, and the two `rac_basic` 2027 doors of #1489. - The gate's floors and ceilings for `rac_advanced` 2027 moved to what that run counts. Measure run 42550512790 (`scorers=bodies_across_saves`, every 2025 to 2027 sample) is the gate on the head that lands. - [ ] If this touches the IFC exporter: the witness verdicts replay (see CONTRIBUTING.md) or the changed observations are refreshed in this PR - Core Interior (2024) exports byte for byte as before (run 42545885153), so its observations are unchanged. - [ ] If this is a performance change: reran `tools/bench.sh` and attached the before / after - N/A. ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR — no claims of features that are not actually shipped in this PR - [x] A user-visible change has its entry as a fragment under `changelog.d/<section>/` (see `changelog.d/README.md`), not in `CHANGELOG.md` - [x] If a limitation was resolved, the "Known limitations" / "What works today" section in the relevant docs is updated - `docs/status.md` (stair names and railing heights and lengths come off the unread list), `docs/evidence.md` and `docs/supported-profile.md` (the 2026 rows; 2027 is "as on 2026", without the Area). - [x] If a new limitation was introduced, it is documented in the PR body and in-code - A 2027 door's or window's Area, and a 2026 or 2027 stair's, flight's and stringer's `ObjectType`, are not written (section 5 of the report); two doors of `rac_basic` 2027 write no Width and Height (#1489). `IsExternal` on walls, curtain walls, members and plates is still not written on 2026 and 2027, as before. - [x] Commit messages describe WHAT changed and WHY, not "fix things" or "updates" - [x] No emojis in code, docs, or commit messages - [x] No private paths, personal email addresses, or internal jargon in committed files - [ ] If this is a reverse-engineering finding: a reproducible probe under `probes/examples/` and a dated addendum to `docs/format-reconnaissance.md` are included - The addendum is included. No new byte layout is decoded (the records are RE-124's and RE-179's), so there is no probe. The gate and `tools/re/save_pair_*.py` reproduce the measurement. ## 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 (`testuser`, `111111`, `FY-20XX`, etc.) and contain no real-world PII - No fixtures. ## Breaking changes None. Only release lists change; their constants keep their names and types. ## Screenshots or output samples `rme_basic` 2026 against its 2025 save, run 42545885153, `main` then this change: ``` census (bodies, box 3 mm, volume 0.1%) main: same 6614, differ 36 this: same 6650, differ 0 ports main: compared 1,956 (5,098 only in the 2025 save) this: compared 7,054, differ 0 ``` ## Related issues Refs #1190, #1426, #421 ## Notes The contributor's change, rebased onto `main` as one commit with puzzbobb as its author; the history before the rebase is kept at `refs/archive/2026-11-08/pr1454-pre-rebuild-66a9cd9c`. --------- Co-authored-by: Griffin Long <[email protected]>
DrunkOnJava
added a commit
that referenced
this pull request
Nov 9, 2026
…ne (#1190) (RE-362) (#1509) ## Summary Revit 2015 to 2023 projects now draw beams along their location lines and write their `Span`, `Slope`, `Roll` and `Length`, as 2024 projects do. It's a third slice of #1190, measured against the same Autodesk samples saved by a later release, not against a Revit export. ## Motivation #1190 asks for each capability 2024 and 2025 have on every release from 2015 to 2027. Revit 2015 to 2023 take a branch of `recover_partition_schema_mvp` that ends before the beam readers, so a beam there was its record box, although walls on those releases read the same line record (RE-114, RE-180, RE-181). `exported.body_sources` on `main`: | body source | `rac_advanced` 2023 / 2024 | `rst_basic` 2023 / 2024 | |---|---|---| | `partition_beam_axis` | 0 / 29 | 0 / 345 | | `partition_beam_box_along_axis` | 0 / 8 | 0 / 9 | ## Changes - `src/research/partition_schema_mvp.rs`: the 2015 to 2023 branch calls `attach_beam_rotations` and `attach_beam_axes`. - `src/research/partition_schema_mvp/framing.rs`: the rotation's native read names `NATIVE_RELEASES` (its default stops at 2023; RE-280 measured the framing on 2015 to 2022), and the line is read through `scan_first_bounded_lines` behind the new gate. Both readers skip a beam a column cuts (RE-122): its record box fields are the cut box's, so `attach_beam_axes` would test a line against them and attach it where they coincide (5 of `rst_basic`'s 31 cut beams on each of 2016 to 2023 in the first head); skipping restores `main`'s bytes on those beams and cuts `rst_advanced`'s rotation decode from 397 beams to 64. - `src/research/partition_beam_axes.rs`: `BEAM_AXIS_2015_TO_2023_REVIT_VERSIONS` (2015 to 2023, renamed from `BEAM_AXIS_32BIT_REVIT_VERSIONS`: it is not the 32-bit set, 2008 to 2023) and `beam_axis_read_on`. `BEAM_AXIS_SUPPORTED_REVIT_VERSIONS` is left alone because it also gates `scan_bounded_lines`, which isn't measured on these releases (#1452 has split the sketch curves and shafts off). `line_copies` and `all_line_copies`, which only probes call, gate on `beam_axis_read_on` too. - `probes/examples/probe_re362_beam_lines_pre2023.rs`: `probe_re328_beam_rejections` on 2015 to 2027, counts only, as `native readers:` lines the scrub keeps for an unlicensed model. - `reports/element-framing/RE-362-2015-2023-beam-axes.md`, an addendum to `docs/format-reconnaissance.md`, `README.md`, `docs/status.md`, `docs/evidence.md`, `docs/supported-profile.md`, `docs/support-matrix.json`, `changelog.d/added/1190-2015-2023-beam-axes.md`. ## 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` passes (fmt, clippy, rustdoc, build, real-file / CLI / contract checks) - `tools/check-local.sh --corpus` passes on d6f69d9 (`integration` 300 of 300, 6 filtered out), and `cargo +1.87 check --profile ci --all-targets` is clean. The commit was then rebased onto 6299876, three CI-only commits that touch none of these files; `cargo fmt --check` and `tools/ci/api-doc-ids.py` were rerun there. - [ ] Verified end to end on real Revit files: the command, the files (and their licence), and the measured result against Revit's own export are in the PR body, with the script or probe that reproduces it - **Not against Revit's own export: no Revit export scores any beam this rule draws on 2015 to 2023, among the models Measure fetches without a held-out pair.** Measure run 42134881703 (head 0c39def, base `main`, `-f bimcollab=true -f racadv=true -f samples=true -f sample_years="2015 2024"`, counts only) scored the two sources of such an export. BIMcollab's Revit 2015 example holds 91 beams in Revit's export, and rvt-rs draws all 91 as record boxes, on `main` and on this head: 0 drawn by line, `Span` and `Slope` missing on all 91 as on `main`. The three.js IFC2X3 export of `rac_advanced`, which `racadv-2015` to `racadv-2020` are scored against, holds no `IfcBeam` (3,308 `IfcMember`, 1,349 `IfcPlate`, 176 `IfcColumn`, 75 `IfcBuildingElementProxy`), and none of the 38 beams has an element with its Tag in it under any class. So `Span` and `Slope` are written on 25 `racadv` beams that export does not carry, which is what the rule does there, with nothing to score it. Measured against the same Autodesk samples saved by a later release, which can't catch an error that save shares. The files are the pinned samples in `research/autodesk-sample-projects.tsv` (fetched, never stored). - Beams the change draws, against the later save, to 3 mm on the world box and 0.1% on the volume (`tools/re/save_pair_bodies.py`): - `rac_advanced` 2015 to 2023, against 2024: 33 of 33 on each. - `rst_basic` 2019 to 2023, against 2024: 312 of 323 on each. - `rst_basic` 2017 and 2018, against 2024: 298 of 323. - `rst_basic` 2016, against 2024: 285 of 323. - `rst_advanced` 2015, against 2019: 54 of 54. - `rst_basic` 2015 is another model (RE-181), so it has no later save. Its 29 beams are only checked within the file. - The 11 have the same box and another volume: the 2024 save draws those steel beams as their type's I section (RE-103), not tried on these releases. - The other 14 on 2017 and 2018, and 27 on 2016, already differ in the saves' raw record boxes with no line read (`main`'s exports, against the 2023 save: 3.9 mm, and 4.1 to 24.4 mm). Why Revit's upgrade moved them is not decoded. - Within each of 20 files, every beam's new body is within 3 mm of its own save's record box. The reader requires that, so it places the differences in the saves and doesn't show the box is right. - `Span`, `Slope`, `Roll` and `Length` written here equal the later save's to 1e-3, except `Span` and `Length` on 13 beams of `rst_basic` 2016, the ones whose box differs by about 25 mm. Every beam's storey and GlobalId are as on `main`. - Why BIMcollab's 91 beams read no line (Measure run 42139236978, `probe_re362_beam_lines_pre2023`, counts only): the release gate passes, every beam has a record box and element data in a partition, and none of the 91 has a bounded line record in it (`no_line` 91, nothing refused for its box). The line record this change reads is what Autodesk's 2015 samples hold for 33 of 34 `rac_advanced`, 29 of 39 `rst_basic` and 54 of 64 `rst_advanced` beams that RE-122 does not cut; BIMcollab's structural model, from outside those samples, holds none, so the reach is Autodesk's samples and no model from elsewhere has been read. No fix: the probe shows the line absent from the window, not where it is (RE-362 §5). - **Landing run**, Measure [42548058739](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42548058739): `e853e731`, this change rebuilt on `main` at `1c088750`, against that `main`, unfiltered with held-out models, BIMcollab and `racadv`, 118 models. 91 exports are byte for byte `main`'s. The 27 that move are the 20 sample saves named above, the 6 racadv models and held-out Gdynia 2021. No 2024 to 2027 export moves, BIMcollab's 91 beams stay boxes (#1514), and `same-project gates` passes on `e853e731`. Its figures are those of the earlier run below. - **Earlier run** (Measure [42518199499](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42518199499), head e05db36, unfiltered, with held-out models, BIMcollab and `racadv`). Gdynia (Revit 2021, held out, counts only) is the first Revit export to score a beam this rule draws: `Pset_BeamCommon.Span` and `Slope` 3 equal, none different and 7 missing of 10 each; all values equal 689 to 695, different and values Revit doesn't write unchanged. On `racadv` 2015 to 2020, values Revit doesn't write go 342 to 392 (25 `Span`, 25 `Slope`): that IFC2X3 export holds no `IfcBeam`, so it is counted apart. - Byte identity, by hash in Measure run 42134881703 (Autodesk's samples 2015 to 2024, `racadv`, BIMcollab): 26 exports move and nothing else: 20 sample saves (`rac_advanced` 2015 to 2023, `rst_basic` 2015 to 2023, `rst_advanced` 2015 and 2019) and the 6 `racadv` models. No 2024 export moves, nor `rac_basic`, `rme_advanced`, `rme_basic`, Snowdon or BIMcollab; 2025 to 2027 were not in that run. The local count of 11 of 206 files, "2017 to 2023", did not hold: 2015 and 2016 draw beams too. - [x] If this touches the IFC exporter: the witness verdicts replay (see CONTRIBUTING.md) or the changed observations are refreshed in this PR - Core Interior (2024) exports byte for byte as before, so its observations are unchanged. - [ ] If this is a performance change: reran `tools/bench.sh` and attached the before / after - N/A. The beams' native read adds under 0.15 s to a 1.2 s export (`rst_basic` 2023 and 2019, single runs). ``` tools/fetch-autodesk-samples.sh samples 2015 2024 for f in samples/*.rvt; do rvt-ifc "$f" -o "${f%.rvt}.ifc"; done S=partition_beam_axis,partition_beam_box_along_axis python3 tools/re/save_pair_bodies.py samples/2023-rstbasicsampleproject.ifc samples/2024-rstbasicsampleproject.ifc --sources $S python3 tools/re/save_pair_bodies.py samples/2016-rst_basic_sample_project.ifc samples/2024-rstbasicsampleproject.ifc --sources $S ``` ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR — no claims of features that are not actually shipped in this PR - [x] A user-visible change has its entry as a fragment under `changelog.d/<section>/` (see `changelog.d/README.md`), not in `CHANGELOG.md` - [x] If a limitation was resolved, the "Known limitations" / "What works today" section in the relevant docs is updated - `docs/status.md`, `docs/evidence.md`, `docs/supported-profile.md`. The 2008 to 2014 rows now say "as on 2015, without beams along their axes". - [x] If a new limitation was introduced, it is documented in the PR body and in-code - None new. Still not done, RE-362 §5 and §6: on these samples 31 `rst_basic` and 4 `rac_advanced` beams keep RE-122's column cut as on `main`, without `Span`, `Roll` or `Length` (and 333 of `rst_advanced`'s 397, 120 of `rst_basic` 2015's 159); I sections aren't tried; `tools/re/bodies_across_saves.py` and Measure's gate don't hold these saves, and no Revit export checks a beam this rule draws. - [x] Commit messages describe WHAT changed and WHY, not "fix things" or "updates" - [x] No emojis in code, docs, or commit messages - [x] No private paths, personal email addresses, or internal jargon in committed files - [ ] If this is a reverse-engineering finding: a reproducible probe under `probes/examples/` and a dated addendum to `docs/format-reconnaissance.md` are included - The addendum is included. No new byte layout is decoded (the records are RE-49's and RE-276's), so there is no probe; `tools/re/save_pair_bodies.py` reproduces the measurement. ## 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 (`testuser`, `111111`, `FY-20XX`, etc.) and contain no real-world PII - No fixtures. ## Breaking changes None. A new public constant and function; existing names and types are unchanged. ## Screenshots or output samples `rst_basic` 2023 against its 2024 save, this branch: ``` tools/re/save_pair_bodies.py --sources partition_beam_axis,partition_beam_box_along_axis same 312, differ 11, not in the reference 0 IfcBeam: same 312, differ 11, not in the reference 0 ``` ## Related issues Refs #1190, #1426, #1452, #1514 (BIMcollab's 91 beams hold no line the reader finds) ## Notes Independent of #1454. #1452 has merged: `beam_axis_read_on` stays as it is, reading the beam list (2024 to 2027 since #1452) and the 2015 to 2023 list beside it. ## Clean-room declaration The changes in this PR are based on public byte observations of Autodesk's sample projects and of BIMcollab's example project (the bounded line record, RE-49 and RE-114; the cross-section rotation, RE-276; the native record framing, RE-280) and on Revit's own IFC exports as counts. No Autodesk SDK source, ODA SDK source, leaked internal documentation, NDA material or decompiled internal Revit implementation code beyond public symbol exports was used, and no code was copied or translated from revit-ifc. The maintainer's additions to this branch (the skip of a beam a column cuts, the probe and the corrections) are from the same sources. puzzbobb's confirmation of their part is asked. Co-authored-by: Griffin Long <[email protected]>
3 tasks done
DrunkOnJava
added a commit
that referenced
this pull request
Nov 9, 2026
## Summary Release 0.16.0: - Revit 2015 to 2023 projects: beams along their location lines (#1509, RE-362), walls joined by their join lists and angled walls along their lines (#1517, RE-364), `Phase Created` (#1521, RE-368), `Constraints` Level parameters (#1522, RE-369), pipes with their type, cylinder and ports (#1523, RE-370), and Revit 2015 files following the export phase (#1332, RE-372). - Revit 2026 and 2027 projects: beams, stair runs, tread landings and sketch outlines (#1426, RE-341), and pipes, ports, door and window cuts and the 2025 properties (#1454, RE-346). Revit 2025 beams, tread landings and sketch arcs (#1440, RE-345); shaft cuts on 2024 only. - Spaces: Areas of Revit 2025 to 2027 (#1428), `rac_advanced`'s Areas from Revit's plan topology (#1261, #1434), `SpaceKind` on every `IfcSpace` (#1437), and the room phase fallback (#1359). - Doors and windows: Revit's placement axes (#1447, RE-347), a door in no wall at its stored origin (#1494, RE-361), and both flips decoded (#1357, RE-343). - Values Revit's export writes: wall-cut openings (#1165, RE-338), `FireRating` and `Manufacturer` (#1185, RE-354), cut column quantities (#1203, RE-353), Furniture Systems (#1444, RE-352), and a plumbing fixture that draws nothing left out (#1496, RE-363). - Walls: hosts of embedded curtain walls from their saved mesh (#1385, RE-340), profile-edited ends, bases and cut-outs (#1396, #1410, #1411, #1473), previous location lines (#1475, RE-360), and floor voids tagged as Revit tags them (#1408, RE-355). - The writer: IFC4 EXPRESS rules held (#1430), non-finite numbers refused (#1559); the diagnostics, elements CSV, viewer panels and MCP server count and place what the IFC writes (#1327, #1417, #1422, #1424); export memory restored (#1429). - The viewer's saved parameters panel (#35, RE-207); the provenance table's new sources (#1368, #1498); the native readers' speed-ups (#1335); release tag preflight and attested wheels (#1457, #1466); measured numbers named by model (#1192); Measure's semantic diff (#1334). ## Changes - Version 0.15.0 -> 0.16.0 in: - Cargo.toml; - rvt-py/Cargo.toml and its `=` pin; - rvt-mcp/Cargo.toml and its `=` pin; - rvt-wasm/Cargo.toml; - tools/stream_evidence/Cargo.toml; - viewer/package.json; - CITATION.cff (version and date); - Cargo.lock and fuzz/Cargo.lock. - `python3 tools/release/changelog.py assemble`: 56 fragments go into `[0.16.0]`, with an introduction, a "Not measured" paragraph, credits and "Upgrading from 0.15". - README: the latest release and the "Upgrading from" pointer. ## Testing - **Measure 42555357168**, `main` at 9c66e9b against v0.15.0, unfiltered with timing: the reference models, the BIM4LCA office, Revit 2025, Autodesk's samples of every release, the held-out models, `rac_advanced`'s IFC2X3 pairs and BIMcollab, 118 exports (no families). Every figure in the "Measured against 0.15.0" paragraph is from it: - 97 exports move and 21 do not; - no property value or quantity goes from equal to different or missing on any model; - the IFC4 rules check finds nothing on all 118; - the `same-project gates` check passes on 9c66e9b; - time is 1.015 in total over 68 files, and peak memory 0.54 to 1.29 times 0.15.0's. - Since 9c66e9b this branch adds only the version strings, the changelog and the witness and fixture refresh. - `python3 tools/ci/release_preflight.py check --event workflow_dispatch --ref-type branch --ref-name checkout --sha HEAD` reads version 0.16.0 in every file. `changelog.py check` finds no fragment left, and `measured_numbers.py` and `api-doc-ids.py` pass. - **Witness and fixtures** come from this pull request's CI run 42555924918, on 4dac3e6. - The changes are `witness_version`, the two verdict hashes and the fixtures' version strings. - Both rvt-rs observations also gain RE-354's one diagnostic note ("1 type text parameter(s) ... left out"), which the committed observations had missed since #1185. - Both verdicts replay PASS locally with CI's arguments, byte-identical to the committed ones. - **Release review** (rvtReview's second read) blocked on two overclaims, and both are fixed: - `IsExternal` on 2026 and 2027 walls, curtain walls, members and plates; - the same-project check's reach. It found two dropped caveats, also fixed: the beam rule's reach (#1514) and #1489's two doors. Its two minor points were fixed too: the non-finite refusal's scope and the wall-hosted origin. - Checking the run myself added three corrections: the held-out pipe, wall and beam counts on 2015 to 2023 (the notes had said none was scored), Vitoria's 44 `InvertElevation` values counted apart, and the pipe entry's matching claim. ## Audit-honesty checklist - [x] The introduction keeps each entry's caveats and adds a "Not measured" paragraph: the 2015 to 2023, 2026 and 2027 readers held to the same project's other save, and 2015 to 2023 scored on held-out projects only, as counts; the 2025 to 2027 and Snowdon Towers Areas checked against no Revit export; the one-project Furniture Systems and wall end order; the office-only thresholds; the door origin; the release workflow checks first run by this tag. - [x] No emojis, private paths or internal jargon. ## Legal and contribution hygiene - [x] Apache-2.0; no Autodesk proprietary source, decompiled internals or NDA'd SDK content. ## Breaking changes Behaviour changes are listed under "Upgrading from 0.15": the diagnostics' `building_elements` and `by_ifc_type` count only written elements, door and window placements and their rotations move, Furniture Systems change class, a space has no material association by default, the room schedule gains a column, and a non-finite export is refused. The stable API's changes are additions; `semver checks` in this pull request's CI reports on them. ## Related issues Refs #1190, #869, #1165, #1185, #1203, #1261, #1194, #1332, #1334, #1335, #1357, #1359, #1368, #1385, #1396, #1408, #1410, #1411, #1417, #1422, #1424, #1429, #1430, #1437, #1440, #1444, #1445, #1447, #1457, #1465, #1466, #1473, #1475, #1492, #1494, #1496, #1498, #1559, #35, #155, #156, #1158, #1192.
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
Revit 2026 and 2027 projects now draw beams along their axes, stair runs and tread landings from their records, and floors, ceilings and slabs from their sketch lines, as 2024 and 2025 projects do. Five readers' release lists gain 2026 and 2027, and the Sketch curve list reader is read there too. It's a first slice of #1190, held to the same Autodesk samples saved by Revit 2024 and 2025. [Maintainer correction: the contributor's text said "sloped roofs as their planes" and "six readers"; sloped roofs are left out and the roof slope list is not widened, and a monolithic landing stays its box. See the maintainer sections below.]
Motivation
#1190 asks for each capability 2024 and 2025 have on every release from 2015 to 2027, "one capability on one release" at a time. On
main, 2026 and 2027 already read the 2025 records (RE-124, RE-179): walls with their layers and joins, family boxes and saved meshes are the same as on 2025. Six readers were still limited to 2024 or 2025, so on 2026 and 2027 their elements were drawn as their record boxes.exported.body_sourcesonmain:rac_advanced2024 / 2025 / 2026 / 2027rac_basic2025 / 2026 / 2027rst_basic2024 / 2026 / 2027partition_beam_axispartition_beam_box_along_axispartition_stair_run_sketchnative_landing_treadpartition_roof_slopeChanges
src/research/partition_beam_axes.rs:BEAM_AXIS_SUPPORTED_REVIT_VERSIONS2024 → 2024, 2026, 2027;SKETCH_LINE_SUPPORTED_REVIT_VERSIONSgains 2026, 2027.src/research/native_stairs.rs:NATIVE_RUN_REVIT_VERSIONS,NATIVE_RUN_SHAPE_REVIT_VERSIONSgain 2026, 2027;NATIVE_LANDING_REVIT_VERSIONS2024 → 2024, 2026, 2027.src/research/partition_roof_slopes.rs:ROOF_SLOPE_SUPPORTED_REVIT_VERSIONSgained 2026, 2027 on the first head; it is 2024, 2025 again (maintainer).src/research/partition_schema_mvp/walls.rs: a wall's profile openings (RE-151) checked the beam reader's list, so they now have their own,WALL_PROFILE_OPENING_REVIT_VERSIONS= 2024, the release they're measured on.tools/re/save_pair_bodies.py(new): two rvt-rs exports of the same project, element for element byTag, world box (3 mm) and volume (0.1%).reports/element-framing/RE-341-2026-2027-beams-stairs-roofs.md, an addendum todocs/format-reconnaissance.md,docs/status.md,docs/supported-profile.md,changelog.d/added/1190-2026-2027-beams-stairs-roofs.md.2025 isn't widened. Its beams and landings would change as well, and no Revit 2025 export that holds them can be published here.
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.shpasses (fmt, clippy, rustdoc, build, real-file / CLI / contract checks)tools/check-local.sh --corpuson the branch head, onmain77d71cb: passes (300 integration tests, 15 MCP).research/autodesk-sample-projects.tsv(fetched, never stored).rst_basic2026 and 2027: 355 of 355 are the 2024 save's (345 beams by their axis, 9 along it, 1 stair run).rac_advanced2026 and 2027: 43 of 43 are the 2024 save's (37 beams, 5 tread landings, the sloped roof); 10 of 10 stair runs are the 2025 save's. [Maintainer: the sloped roof is no longer drawn on 2026 and 2027, so 42 of 42; the contributor's local figures are not re-run, and run 42016210686's check reads 42 beams and tread landings and 10 stair runs equal.]rac_basic2026 and 2027: 2 of 2 stair runs are the 2025 save's.main→ this branch:rst_basic2026 and 2027 against 2024: 35 → 1 of 453 (the one left is a column, as onmain).rac_advanced2026 and 2027 against 2025: 64 → 63 of 5,527. 10 stair runs become 2025's. 9 stop being 2025's and become 2024's: 2 beams and 5 landings that 2025 still draws as boxes, and a ceiling and a floor the sketch lines now draw as on 2024.rac_basic2026 and 2027 against 2025: 27 → 23 of 438.main(SOURCE_DATE_EPOCH=1700000000). That covers every 2015 to 2025 file: Autodesk's samples, Core Interior, the RE1 models, Einhoven, the BIM4LCA office and terrain housing, and puzzbobb's R2025 models. The 6 that change are the 2026 and 2027 saves ofrac_advanced,rac_basicandrst_basic.main, so its observations are unchanged.tools/bench.shand attached the before / afterAudit-honesty checklist
changelog.d/<section>/(seechangelog.d/README.md), not inCHANGELOG.mddocs/supported-profile.md(the 2026 row; 2027 is "as on 2026") anddocs/status.md.probes/examples/and a dated addendum todocs/format-reconnaissance.mdare includedtools/re/save_pair_bodies.pyreproduces the measurement.Legal and contribution hygiene
CONTRIBUTING.md)CLEANROOM.md)testuser,111111,FY-20XX, etc.) and contain no real-world PIIBreaking changes
None. Only release lists change; their public constants keep their names and types.
Screenshots or output samples
tools/re/save_pair_bodies.pyon 2027rst_basicagainst 2024,mainthen this branch:Related issues
Refs #1190, #421
Maintainer note: main was merged in, and the report renumbered from RE-340 to RE-341, since RE-340 on
mainis #1401's report. No reader changed.Maintainer changes (2026-11-05)
The contributor's text above is kept as written. Where it is out of date it is corrected here. Six signed commits sit on top of the PR's earlier two (the contributor's 20bc9f2, untouched, and the earlier merge of
main): a merge ofmain(5f52be1), the code (d50d53b),tools/re/save_pair_bodies.py(8e2a9e4), the docs (14952a4, f903515) and a clippy range fix (f149e22).The title still says "and sloped roofs"; sloped roofs are no longer in this PR. It cannot be edited from the branch; retitle at the squash, for example "feat(ifc): Revit 2026 and 2027 beams, stair runs, landings and sketch lines".
Sloped roofs are left out.
ROOF_SLOPE_SUPPORTED_REVIT_VERSIONSis 2024 and 2025 again, so the Summary's "sloped roofs as their planes" and the Changes line forpartition_roof_slopes.rsabove no longer apply.rac_advanced's roof is its 2025 save's; RE-341 section 3 had it right: it is its 2024 save's body (532 triangles, 5.33 m3), and the 2025 save's is 12 triangles and 6.88 m3. No Revit export scores either.A Sketch's curve list (RE-97) is read on 2026 and 2027. The beam and sketch-line lists gate the readers floors, ceilings, slabs, footprint roofs and shaft voids use, so those change on 2026 and 2027 too (named in the docs and the changelog fragment now); but the list reader stayed
2024 | 2025, so the guard for an edited sketch could not fire there. A list is taken only where it validates (RE-97).What the PR changes on 2026 and 2027: beams along their axes, stair runs and landings, the stair property sets and quantities (read from native records), and the floors, ceilings, slabs, footprint roofs and shaft voids drawn from sketch lines. Unread there: sloped roofs, spiral runs, stair names, railing heights and lengths, a wall's profile openings, IFC export overrides, the opening index.
Measured (Measure run 41988011289, head 1d5bbf0, base
main182ed21; counts only for held-out models). The Testing section above says no Revit 2026 or 2027 export is available; five are held out in Measure.main's and 9 differ, all 2026 or 2027: the six Autodesk samples and three held-out models.Not yet measured: the current head (roofs left out, Sketch lists on 2026 and 2027, the script's counts). Measure run 42004827803 is on f903515; a later commit (f149e22) only rewrites an OR pattern of releases as a range for clippy, so it measures the same behaviour, but the figures above are not carried to it until it is read. The section 3 figures (355 of 355, 43 of 43, 10 of 10, 2 of 2) are the contributor's local pairs; the script dropped unmeshed shapes and repeated Tags silently, so they cannot say how many bodies were never paired, and it now counts those and exits 1.
Maintainer changes, round two (2026-11-05): roofs, and a check against the earlier save
Head e56d31b (signed) is f149e22 plus four commits: roofs held to the record-box solve (8f10a03), the check (85c7f01), docs (a57f4f5), a style fix (e56d31b). Measure run 42010304828 measures this head: filtered (samples on, held-out models only), dispatched from branch
fix/1426-bodies-across-saves, because the scorers and the workflow step come from the dispatch ref. Not read yet; nothing below is a result of that run.The held-out house's roof is a guess, so roofs stay out of the widened readers. With the slope list reverted its
IfcRoofstill left the record-box list (run 42004827803, head f903515:box bodies45 to 44). A roof whose slope is not read is drawn as its sketch outline at the record box's full height, a level block at the highest point, and Revit's roof volume there is 14.2% of its box, so it is very likely sloped. 2024 and 2025 ship that body for such roofs (RE-50, RE-98, #884's hips over a T or U footprint), with its slab quantities withheld unless the layers fill the body, and measured it as a plan outline against Revit's upward-face area, never as a volume. Nothing measures it on 2026 or 2027. So on 2026 and 2027 a roof takes neither the Sketch curve list nor the lines' exact ends and no shaft void is cut from it (roof_reads_exact_sketches): it is read as onmain. Floors, ceilings and slabs keep the widened readers, with shaft voids cut from floors and ceilings. The roof's state on this head is not measured, and the check below does not reach held-out models.The check.
tools/re/bodies_across_saves.pyholds each 2026 and 2027 save ofrac_advanced,rac_basicandrst_basicto the same project's earlier saves, matched byTag: beams, landings and sketch outlines (floors, ceilings, slabs and roofs with a recovered outline, shaft voids included) to the 2024 save, stair runs to the 2025 save. The 2025 save draws no beam or landing (its body sources hold none: record boxes), so it cannot be their reference. The 2025 save reads runs from native records as 2026 and 2027 do and draws all 10 ofrac_advanced's and 2 ofrac_basic's runs; the 2024 save's byte-anchor reader draws 5 and 1. It fails on a difference in IFC class, GlobalId, storey,BodySource, representation types and solid kinds, placement (0.001 ft), body volume or vertices (0.001 ft, both ways); on an element with no counterpart, one the earlier save draws otherwise, one of the earlier save's missing here, a missing export, fewer bodies than the sample holds (29 axes, 8 along them, 5 landings and 10 runs onrac_advanced; 345, 9 and 1 onrst_basic; 2 runs onrac_basic), the ceiling 147534 or floor 139803 not compared equal, and a check that compared nothing. It prints the number compared per class and the number left as boxes (counted, not scored). Measure's sample shard keeps the 2024 to 2027 exports of the three projects until it has run, andtools/ci/check-bodies-across-saves.shfails the head side's shard (after the results upload) on any failure or any sample whose file was not written. The base side is not gated: itsbodies_across_saves.txtshows what the check says ofmain.It cannot catch an error the earlier save shares with the 2026 or 2027 read.
RepresentationTypeis compared as written: both saves come from the same build, so #1432's change to it does not show. The fragment, status, evidence, support matrix and RE-341 say all of this.Proof it can fail. Not on Autodesk's files yet: that is run 42010304828. On synthetic IFC pairs made with IfcOpenShell (not committed), the identical pair passes, and each of these exits 1: a candidate beam 1 mm deeper (volume), a beam moved one metre (placement and vertices), a different
BodySource, a slab left out of the candidate (missing element), a missing 2025 save. Onmainthe 2026 and 2027 saves draw no beam, so the base side's output should fail.Differences. If the check finds any on the real files, the reader narrows until it is never wrong and what it leaves out stays a box, counted; none is allowlisted.
Run 42004827803 figures (head f903515, the main session's reading): 102 of 111 exports identical, 9 move (the six samples, the held-out house, the held-out 2026 and 2027 models); MCP 0 differ on 629 lines; rule findings
rac_advanced2 andrst_basic14 each (the fixed-reference sweep, #1432); body sources base, head, 2024 save:rac_advancedbeam axis 0, 29, 29, beams along 0, 8, 8, landings 0, 5, 5, runs 0, 10, 5, record boxes 5,205, 5,153, 5,157;rst_basic0, 345, 345 and 0, 9, 9, run 0, 1, 1, record boxes 428, 73, 73;rac_basicruns 0, 2, 1, landing slab 0, 0, 1, record boxes 330, 328, 328. The slab and ceiling body source counts do not move onrac_advancedand equal the 2024 save's: a count match, not per element.Maintainer changes, round three (2026-11-05): the check's first results
Run 42010304828 (head e56d31b, filtered; the head side's check turned it red). Held to the same project's 2024 save (beams, landings, sketch outlines) and 2025 save (stair runs), every compared body equal in every field:
rst_basic2026 and 2027, PASS: 354IfcBeam, 1 stair run, 5IfcSlaboutlines.rac_basic2026 and 2027, PASS: 2 stair runs, 12 outlines (2IfcCovering, 10IfcSlab). Left as boxes where the 2024 save draws them: 1IfcSlab(a landing slab) and 1IfcRoof.rac_advanced2026 and 2027, FAIL, one failure each: ceiling 147534 was required as a compared outline and was not compared. Everything else was equal: 42 beams and landings (37IfcBeam, 5IfcSlab), 10 stair runs, 82 outlines (64IfcCovering, 1IfcRoof, 17IfcSlab), floor 139803 among them. Left as boxes: 4IfcRoof.main) the check fails as it should: 42 beams and landings and 10 runs left as boxes, floor 139803 differs in volume (440.512245 m3 against the 2024 save's 441.111228), and 147534 is drawn as an outline where the 2024 save draws its record box.The ceiling 147534 is a record box in the 2024 save. At base the 2026 save drew an outline. On the head it is neither compared as an outline nor left out, so the Sketch curve list now holds it to the record box as 2024 does (inferred from the counts). The check now compares it under whatever source each save gives it and prints class,
BodySource,ProfileResolvedand volume in every save, so the next run states it. Nothing was removed from the required list or allowlisted.The held-out house's roof is back in the box list: its export is byte for byte
main's in that run. rac_advanced's one comparedIfcRoofand 4 left as boxes are the same on both sides, so roofs are onmain's reader.Head fec4833 is e56d31b plus the named-element check, these counts in the docs, a signed merge of
main(with #1432 and #1431) and a signed merge of puzzbobb's own merge ofmain. Final unfiltered Measure run 42016210686 (base=main, nordic, R2025, held-out, samples) is on it, dispatched fromfix/1426-bodies-across-saves(the same head): it should readrules:findings 0 on the 2026 and 2027 samples now that #1432 is in. Not read yet; the docs carry run 42010304828's counts.Maintainer changes, round four (2026-11-05): the second read
Run 42016210686 (head fec4833, unfiltered; the main session's reading and mine of its artifacts): 103 of 111 exports identical, 8 move (the six 2026 and 2027 samples and the held-out 2026 and 2027 models); the EXPRESS
rules:findings are 0 on 90 models and on 18 held-out ones (#1432 cleared them); MCP 0 differ on 629 lines; the check reads PASS on all six samples. Ceiling 147534: 2024 record box 5.14728698 m3, 2026 record box 5.14728698 m3, 2025 outline 4.15431293 m3. The semantic merge check reads NOT MEASURED on this commit because a fork's pull request is never scored there, which is by design.Head d3635bb (final unfiltered Measure: run 42023546789, not read yet):
scan_landing_linesandscan_run_data, which read 2024 only, so it stays its box:rac_advanced's 5 landings arenative_landing_tread,rac_basic's one landing slab is a box. The matrix name,user_impactand notes, README, status, evidence, compatibility, supported-profile, the changelog fragment and RE-341 say so.bodies-across-saves, reading the head results), so a failure turns the run red and Compare still reports. A sample without its 2024 or 2025 save is SKIPPED, one with only some PARTIAL, and neither is a pass: each prints a notice and a line in the run summary, as does a run withoutsamples=true, ascorersinput that excludes it, orsample_yearswith no 2026 or 2027 sample.sample_years="2026 2027"no longer fails falsely. An unknown project fails.docs/maintaining.mdsays a change to a reader of Revit 2024 to 2027 is measured withsamples=true.main), that the check compares bodies and not quantities or property sets, that it cannot catch an error the earlier save shares, and that no 2026 or 2027 held-out model holds anIfcBeam, so the beam reader has run only on two Autodesk samples saved from earlier releases....-beams-stairs-sketches.Maintainer changes, round five (2026-11-05): #1428 merged, and the floor
Run 42023546789 (head d3635bb, unfiltered; the main session's reading): 103 of 111 exports identical, 8 move (the six 2026 and 2027 samples and two held-out models),
rules:findings 0 on 90 models and 18 held-out, all six checks PASS, Compare green. The floor is resolved, not open: floor 139803 has 170 vertices and 441.111228 m3 on the 2024, 2026 and 2027 saves and 24 vertices and 440.512245 m3 on the 2025 save, so the 2025 save draws its arcs as chords (the arc readers RE-96 and RE-100 are not enabled there) and the 2024 reading is the one measured against Revit. Sketch outlines against the 2025 save: 81 equal, 1 differs (this floor), 0 drawn otherwise. Ceiling 147534 is a record box on 2024, 2026 and 2027 (5.147 m3) and an outline on 2025 (4.154 m3), because 2025 has no Sketch curve list reader. #1440 is the 2025 arc readers.Head c8fb8d1 is d3635bb plus a signed merge of
main(8f1c136, #1428 and #1432 and #1431 among it) and one commit. Two conflicts, both resolved by keeping both:tools/ci/measure-reference-models.sh(my bodies check and #1428'sareas_across_savesside by side; the Areas call runs right after the exports and before any sample's IFC is deleted, so the saves my check keeps change nothing for it) anddocs/format-reconnaissance.md(the RE-333 and RE-341 addenda).A red Areas gate skipped Compare. #1428's gate was a step of the measure job, so a failure there removed Compare's report, as my first bodies check did before round four. Both gates are now steps of one job,
same-project-gates(tools/ci/check-bodies-across-saves.shandtools/ci/check-areas-across-saves.sh, the Areas step moved with its logic unchanged: anexit 0and the scorer's ownpassed: 25 Areas, 25 with a body, on each of 4 savesline), each running whatever the other did, reading the head shards one directory each (two shards write anareas_across_saves.txt). Compare does not need that job, so a red gate leaves its report. Each gate keeps its own notice on a skip, and the job still needssamples=true. Tested with fake results: pass, skipped shard beside a passed one, fail, no result, no samples.Final unfiltered Measure: run 42027058162 on c8fb8d1 (
base=main, nordic, R2025, held-out, samples), the first run with both gates and the mergedrac_advancedAreas. Expected: the same 8 exports against the newmain, all six bodies checks PASS, the Areas gate passing. Not read yet; the docs carry run 42023546789's counts, labelled as that head.Final unfiltered Measure on the merged head, run 42027058162 (c8fb8d1), read by the maintainer: 103 of 111 exports are identical to main; 8 move, the six 2026 and 2027 samples of
rac_advanced,rac_basicandrst_basicand 2 held-out models.rules:findings 0 on 90 models and 18 held-out, MCP 0 differ on 629 lines. The newSame-project gatesjob passes: all six bodies checks read PASS and the Areas gate passes with 25 Areas and 25 bodies on each of 4 saves. Compare is green. The semantic check reads NOT MEASURED because a fork's pull request is never scored, by design.Refs #1190, #421