Skip to content

feat(ifc): Revit 2015 to 2023 walls are joined by their join lists, and a wall at an angle can follow its line (#1190) (RE-364) - #1517

Merged
DrunkOnJava merged 6 commits into
DrunkOnJava:mainfrom
puzzbobb:feat-1190-2015-2023-walls-re364
Nov 8, 2026
Merged

DrunkOnJava merged 6 commits into
DrunkOnJava:mainfrom
puzzbobb:feat-1190-2015-2023-walls-re364

Conversation

@puzzbobb

@puzzbobb puzzbobb commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Revit 2015 to 2023 walls are joined by their join lists, whose 32-bit layout is now read, and a wall at an angle can be drawn along its location line: on 2021 to 2023 where 2024's rule allows it, and on 2015 to 2020, where nothing marks a slanted wall, only if its record box closes on the line's rectangle. A wall along a model axis keeps its record box cut back at its joins, and no Length, Height, area or volume is written on these releases. It's a fourth slice of #1190. The line body reaches 24 walls in 12 sample exports and none on Vitoria ALD26 Before, modelo_bim, Exemplo_data or the racadv pairs, so no Revit export read here scores that rule. Five other held-out exports also move, layer sets on three of them, and are not attributed; the maintainer narrowed the first head after Measure scored it against Revit's exports (RE-364, top of the report).

Motivation

#1190 asks for each capability 2024 and 2025 have on every release from 2015 to 2027. attach_wall_layers turned centreline bodies off on every 32-bit release, because "2023's join lists are not read, and a line without them would lose the corners the box already has" (RE-114). rac_advanced's exported.body_sources on main:

body source 2023 2024
partition_wall_centreline_layer_joins 0 118
partition_wall_centreline 0 1
partition_element_record_join_trimmed 176 58

Changes

  • src/research/partition_compound_structure.rs: wall_join_lists_32 and WALL_JOIN_32BIT_REVIT_VERSIONS (2015 to 2023). The list's count sits 29 bytes past its opening word, after a u32 and 13 zero bytes, and an entry is u32 · u32 ElementId · u32. The 64-bit reader is unchanged.
  • src/research/partition_schema_mvp/walls.rs: WALL_CENTRELINE_REVIT_VERSIONS (2015 to 2027) replaces the 32-bit test. 2015 to 2020 have no cross-section word, so an angled wall's body must be the rectangle its box closes on, and otherwise it keeps its box. A wall along a model axis keeps its box on every 32-bit release, and WALL_UNCUT_FIELD and WALL_WHOLE_FIELD are not set there. attach_wall_lengths does not run on 32-bit releases. 2008 to 2014 stay as they were.
  • src/research/native_walls.rs: native_walls_and_top_joins_into names NATIVE_RELEASES.
  • src/ifc/mod.rs: the export's warning says so on 2015 to 2023.
  • tools/re/save_pair_bodies.py: --no-openings, so a wall scores apart from the doors and windows that cut it.
  • probes/examples/probe_re364_wall_join_lists_32.rs, reports/element-framing/RE-364-2015-2023-wall-lines-and-joins.md, an addendum to docs/format-reconnaissance.md, docs/status.md, docs/evidence.md, docs/supported-profile.md, docs/support-matrix.json, changelog.d/added/1190-2015-2023-wall-lines.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)
    • tools/check-local.sh --corpus passes on 7da2fb4 (integration 301 of 301, 6 filtered out), and cargo +1.87 check --profile ci --all-targets is clean. The commit was then rebased onto ab5f8e1, three commits that touch no source or doc file this PR edits; 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. 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).

    • Measure run 42522812941 on the landing code 430a2606 (main's side ab5f8e1c, unfiltered with samples, held-out models, racadv and BIMcollab; the landing head adds main's commits and text): 100 of 118 exports are byte for byte main's and 18 move, and same-project gates passes. Warmond's wall quantities are main's. Vitoria ALD26 Before's axis-parallel ends are back at 160 of 199, and its angled walls stay as on main (faces 1 of 48, ends 4 of 48): the first head's 33 of 48 is not kept, because the rectangle check refuses them. Layer sets gain on three held-out models.

    • The racadv pairs of 2015 to 2020 are byte for byte main's. RE-120's two projects, Measure 42525247402 (9bef6e08 against 60cb1a81, wall_bodies_vs_ifc): Exemplo_data 17 of 17 and modelo_bim 4 of 4 on faces and ends within 0.001 ft on both sides, and both exports byte for byte main's. The commits after 9bef6e08 change the export's warning text and the report, not a body.

    • The join lists, by probe_re364_wall_join_lists_32, each wall's partners against its 2024 save: rac_advanced 146 of 146 on each of nine saves of 2015 to 2023, 57 naming a partner; rst_basic 9 of 9 on 2016 to 2023; rac_basic 46 of 47 on 2016 to 2023, 45 of 47 on 2015.

    • Walls the change draws along their lines, against the later save, to 3 mm on the world box and 0.1% on the volume (tools/re/save_pair_bodies.py), without door and window cuts / with them. Those cuts are read on 2024 and not on these releases, which this PR doesn't change:

      save reference no openings with cuts
      rac_advanced 2015 to 2020 (each) 2024 107 of 118 73 of 118
      rac_advanced 2021 2024 99 of 103 70 of 103
      rac_advanced 2022, 2023 (each) 2024 118 of 118 80 of 118
      rst_basic 2016 to 2023 (each) 2024 2 of 2 2 of 2
      rac_basic 2015 to 2022 (each) 2023 17 of 22 17 of 22
      rac_basic 2023 2024 5 of 18 5 of 18
      rme_basic, rme_advanced 2015, 2019 (each) 2024 1 of 1 1 of 1
    • On main the same walls of rac_advanced 2023 match on 1 of 118 with no openings, and those of rst_basic and rac_basic on none. No wall that matched on main stops matching. Two walls of rac_advanced 2015 to 2020 end farther from the 2024 box than on main: 8 mm against 6 mm.

    • The differences: rac_advanced 2015 to 2020's 11 are within 8 mm and 0.21%, and 2021's 4 within 31 mm, with raw boxes that differ too; why is not decoded. rac_basic is held to its 2023 save because 13 walls move by up to 3.19 m in its 2024 save, in main's raw boxes as much as here. Of the 5 that differ from its 2023 save, 4 are cut-back boxes on that save and 906885 is 13 mm off, not decoded. rac_advanced 2021 draws 103 walls this way, not 118; why is not decoded.

    • Across 31 saves of 2015 to 2023 with a reference: no element outside walls changes a property, storey or GlobalId, and no element appears or goes. Gained: Height on 784 walls, 781 equal to 2024's and 3 not in it; side areas on 481, 462 equal and 19 where 2024 writes none. Footprint area and volumes are the same, but for wall 418079 of rac_basic 2015, where GrossVolume is 2.42 and 2024's 1.75. No quantity or property is lost or changes value, but for a wall's StoreyBindSource below.

    • One storey moves: rst_basic's wall 627729, 2016 to 2023, from a storey made from its base elevation to Default Building, as its 2024 save has it. No Revit export says which is right.

    • Length is left out on purpose. A 2015 to 2023 record reads with no control joins, and attach_wall_lengths takes that as joined to nothing: it wrote a Length on 44 walls of rac_advanced 2023 where 2024 writes none.

    • Byte identity: of 206 local project files of 2008 to 2027, 170 export IFC and diagnostics byte for byte as on main (SOURCE_DATE_EPOCH=1700000000). The other 36 are files of 2017 to 2023: 32 change their IFC, and 4 only the warning in their diagnostics. No file of 2024 or later, or before 2015, changes.

  • 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
tools/fetch-autodesk-samples.sh samples 2015 2024
for f in samples/*.rvt; do rvt-ifc "$f" -o "${f%.rvt}.ifc"; done
S=partition_wall_centreline,partition_wall_centreline_layer_joins
python3 tools/re/save_pair_bodies.py samples/2023-racadvancedsampleproject.ifc samples/2024-racadvancedsampleproject.ifc --sources $S --no-openings
cargo run --profile ci -p rvt-probes --example probe_re364_wall_join_lists_32 -- samples/2023-racadvancedsampleproject.rvt 2023 walls.txt > 2023.txt
cargo run --profile ci -p rvt-probes --example probe_re364_wall_join_lists_32 -- samples/2024-racadvancedsampleproject.rvt 2024 walls.txt > 2024.txt
diff 2023.txt 2024.txt

Audit-honesty checklist

  • README / docs reflect the current state after this PR — no claims of features that are not actually shipped in this PR
  • A user-visible change has its entry as a fragment under changelog.d/<section>/ (see changelog.d/README.md), not in CHANGELOG.md
  • 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, docs/support-matrix.json. The 2008 to 2014 rows now say "as on 2015, without walls along their lines".
  • If a new limitation was introduced, it is documented in the PR body and in-code
    • RE-120's score no longer covers the bodies these releases draw, noted above and in docs/evidence.md. Still not read, RE-364 §6: RE-127's joined-wall lists, a record's control joins and with them Length, profile openings, end steps, face angles, door and window cuts.
  • Commit messages describe WHAT changed and WHY, not "fix things" or "updates"
  • No emojis in code, docs, or commit messages
  • 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
    • probes/examples/probe_re364_wall_join_lists_32.rs.

Legal and contribution hygiene

  • I agree this work is licensable under Apache-2.0 (see CONTRIBUTING.md)
  • This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content (see CLEANROOM.md)
  • Any new test fixtures use synthetic values (testuser, 111111, FY-20XX, etc.) and contain no real-world PII
    • No fixtures.

Breaking changes

None. New public constants and a function in partition_compound_structure; existing names and types are unchanged.

Screenshots or output samples

rac_advanced 2023 against its 2024 save, this branch:

tools/re/save_pair_bodies.py --sources partition_wall_centreline,partition_wall_centreline_layer_joins --no-openings
same 118, differ 0, not in the reference 0

Related issues

Refs #1190, #1509, #1158

Notes

Both checks this asked for have been run by the maintainer: Measure with bimcollab and racadv (42522812941) and RE-120's two projects (42525247402), above.

Independent of #1509 in code; they edit the same rows of docs/supported-profile.md and docs/evidence.md, so the second to merge takes a small conflict.

@DrunkOnJava

Copy link
Copy Markdown
Owner

@puzzbobb thanks for this, and for saying which checks you'd want before it merges. Both are in hand:

  1. Measure is running on this head with bimcollab=true and racadv=true, plus Autodesk's samples, the held-out models, the BIM4LCA office and the Revit 2025 models: run 42516794247.
  2. RE-120's two files: modelo_bim is in the held-out set, so it's in that run. No workflow fetches Exemplo_data yet, so I'll score it in a separate run with wall_bodies_vs_ifc.

As you said, if walls score below 17 of 17 and 4 of 4, this doesn't go in as it stands. I'll post the figures here once I've read them. Nothing is needed from you until then, and the landing order for the whole set is on #1190.

@DrunkOnJava

Copy link
Copy Markdown
Owner

The check you asked for in item 2 passes. Run 42517096902 scored this head against main with wall_bodies_vs_ifc on both of RE-120's files, against Revit's own exports (counts only, as these two have no licence):

faces within 0.001 ft ends within 0.001 ft
Exemplo_data 17 of 17 17 of 17
modelo_bim 4 of 4 4 of 4

The largest difference is 0.000 ft on both, on this head and on main, so the worry that the cut-back box was better on those files doesn't hold. The full Measure run with BIMcollab's example and rac_advanced is still going.

@DrunkOnJava

Copy link
Copy Markdown
Owner

@puzzbobb the full run is in (42516794247), and it can't land as it stands. The same-project gates pass and the geometry is better in places, but your check found two problems on Revit's own exports. Counts only for the held-out models:

1. Wall quantities on Warmond (Revit 2021, held out). Before and after this head, against Revit's IFC:

before after
all quantities, equal / different / missing 272 / 5 / 3,135 411 / 129 / 2,872
quantities Revit's export doesn't write 5 95
Qto_WallBaseQuantities.Height 0 / 0 / 265 91 / 45 / 129
Qto_WallBaseQuantities.NetSideArea 0 / 0 / 265 0 / 45 / 220
Qto_WallBaseQuantities.NetVolume 0 / 0 / 265 22 / 23 / 220
Qto_WallBaseQuantities.GrossFootprintArea 0 / 0 / 265 26 / 11 / 228

The later-save comparison can't see this, because the later save agrees. Every value a reader adds has to come out equal, with "different" and "not written by Revit" unchanged. The rest of these quantities don't meet that either: NetSideArea is wrong on all 45 walls that write it.

2. Wall ends on Vitoria ALD26 Before (Revit 2018, spent, so the full output is in the run's measure-head artifact, wall_bodies_vs_ifc.txt and wall_ends_list.txt):

of 199 axis-parallel / 48 angled walls before after
ends within 0.001 ft, axis-parallel 160 125
faces within 0.001 ft, angled 1 33

So angled faces improve a lot, but 35 axis-parallel walls lose ends that were right on the cut-back box, which the 3 mm later-save check passes.

What held: Exemplo_data 17 of 17 and modelo_bim 4 of 4 as above, modelo_bim's 6 new quantities all equal, and the RE-114 concern about corners doesn't show on those.

What it needs: leave the added quantities out on 2015 to 2023 until a rule says which walls they're right on, which also removes the 90 values Revit doesn't write, and narrow the line path so a wall that's right on its cut-back box stays on it. The 35 walls in wall_ends_list.txt are the place to start. The quantities half could be a follow-up pull request once there's a rule, so the geometry doesn't wait on it.

This one's yours if you'd like it, since you know this code. If you'd rather I take it, say so and I'll push to the branch. The rest of the queue on #1190 doesn't wait on it.

@DrunkOnJava

Copy link
Copy Markdown
Owner

Two more items for this one, from an automated Claude Code review of the diff, both checked against the code:

  1. Slanted walls on 2015 to 2020. walls.rs:918 draws every wall vertical on the releases with no cross-section word, and wall_centreline_body rejects a box thinner than the type but not one wider. A slanted or tapered wall on those releases would become a thin vertical slab on its line, where main keeps the box. No sample holds one, so nothing shows it. On those releases, please require the box's width across to equal the thickness within 1e-3 ft on axis-parallel walls, and no joint-to-joint fallback on angled ones.
  2. Stale claims. README.md:99 still says 2008 to 2023 bodies are boxes, and the element-record-wall-centreline-bodies entry in docs/support-matrix.json doesn't cite RE-364 or wall_join_lists_32.

Smaller: native_walls_and_top_joins_into doesn't fill top_joined, so attach_wall_top_joins makes a second full pass on these releases, which #1335 is trying to avoid.

@puzzbobb

puzzbobb commented Nov 8, 2026

Copy link
Copy Markdown
Contributor Author

Please take it, thanks. You've got those rvt files to measure against quickly.

@DrunkOnJava

Copy link
Copy Markdown
Owner

Thanks @puzzbobb, I'll take it from here and push to this branch. You'll stay the author of your commit.

puzzbobb and others added 5 commits November 8, 2026 16:47
…oined by their join lists (DrunkOnJava#1190) (RE-364)

Revit 2015 to 2023 walls kept their record box, cut back at their joins,
because their join lists were not read (RE-114, RE-120). The lists are there
in a 32-bit layout: the count 29 bytes past the opening word and 12-byte
entries of u32, u32 ElementId, u32. On rac_advanced 2015 to 2023 every wall
names the partners its 2024 save names, 146 of 146, and rst_basic's 9 of 9.

With them, walls take the centreline bodies 2024 does. 2015 to 2020 have no
cross-section word, so nothing marks a slanted wall and each is drawn vertical.
The native wall read names NATIVE_RELEASES (RE-280). A record on these releases
is read without its control joins, which attach_wall_lengths would take as no
join at all, so a wall's Length is left out. 2008 to 2014 stay as they were.

Against the same Autodesk samples' later saves, without door and window cuts,
rac_advanced's walls are the 2024 save's on 118 of 118 (2022, 2023), 99 of 103
(2021) and 107 of 118 (2015 to 2020); main has 1 of 118 on 2023. No Revit export
of these walls is scored, and RE-120's was of the box this replaces.
… and walls' quantities are left out (DrunkOnJava#1190) (RE-364)

Review of the measurement: Revit's own 2018 and 2021 exports showed axis-parallel
walls losing ends that were right on the cut-back box, and the added Height, side
area and volume values differing from Revit's. Angled walls keep the gain.
…heir lines, and RE-364 what the run cannot attribute (DrunkOnJava#1190)
@DrunkOnJava
DrunkOnJava force-pushed the feat-1190-2015-2023-walls-re364 branch from cefcc92 to e6183c3 Compare November 8, 2026 21:48
@DrunkOnJava
DrunkOnJava merged commit 16f4c25 into DrunkOnJava:main Nov 8, 2026
36 checks passed
DrunkOnJava added a commit that referenced this pull request Nov 8, 2026
…es, and keep the wall-body rows (#1536)

## Summary

Closes #1534. A held-out model's `counts.txt` now carries two more sets
of counts: `body sources: <source> <n>`, read from
`exported.body_sources`, and the `wall bodies:` summary rows of
`wall_bodies_vs_ifc`. The second is what kept the rows out of run
42525743981: only a temporary measuring branch had that scrub rule,
which is why they appeared for `Exemplo_data` and `modelo_bim` in run
42525247402 and not for the other five.

Both carry counts and distances only: a source name is kept only if it
matches `[a-z0-9_]+`, and the wall rows match a fixed pattern.

## Testing

`bash -n` parses the script. Measure run 42532072920 from this branch on
`main`'s code, on the five held-out models with `wall_bodies_vs_ifc`:
each `counts.txt` holds its `wall bodies:` rows and 3 to 5 `body
sources:` lines (17 in all). They attribute what #1517 left open: line
bodies on four of the five, 268 walls, and RE-364 now says so.
DrunkOnJava added a commit that referenced this pull request Nov 9, 2026
…read by VWallDriver.m_pCrv, so 14 doors of rac_advanced 2027 take the axes rule (#1475) (RE-360) (#1500)

## Summary

Closes #1475.

On Revit 2027's save of `rac_advanced`, 18 of 180 `SWall` records hold a
second `GLine` besides the location curve, owned by
`WallRunTimeData.m_prevLocLine`. `native_walls` left out any wall with a
second curve, so the 8 host walls of 14 doors returned no native line
and the doors kept the default axes (RE-360). A record of exactly two
curves is now read where one is the level `GLine` `VWallDriver.m_pCrv`
names and the other is a `GLine` that only `m_prevLocLine` names. A
record with the one `GLine` reads as before, and any other set of curves
stays unread (a `CurveLoop.m_curves` profile wall, an arc, a null or
ambiguous `m_pCrv`).

## Motivation

#1456's second read found 14 doors of `rac_advanced`'s 2027 save left on
the default axes. #1454's check compares each cut opening with the 2025
save, so the 14 differ on axes alone. Both done-when items of #1475 are
met: the missing row is explained from the bytes (RE-360 section 1), and
the 14 doors are placed by the rule on 2027. The 15th door of the 2024
save's 8 hosts is hosted by another wall on 2027: #1454's cause, not
this one.

## Changes

- `src/research/native_walls.rs`: `record_line`, `location_curve_index`,
`is_previous_location_line`; `location_curve` (RE-348) now shares the
pointer read.
- `tools/re/bodies_across_saves.py`: the 2027 floor of `rac_advanced`
doors 47 to 61 and the ceiling of doors left on the default axes 42 to
28, as RE-347 requires of a count that moves. Whichever of this and
#1454 lands second sets 2027's numbers from a samples run on the merged
head and takes neither side's: #1454's branch holds 68, 24 and 15 for
the same counts, and this change's 61, 18 and 28 would loosen them.
- `probes/examples/probe_re360_wall_location_curve.rs`,
`tools/ci/scrub-holdout-results.sh` (keeps the probe's counts-only
`previous lines:` line for a model without a licence),
`reports/element-framing/RE-360-wall-previous-location-line.md`,
`changelog.d/fixed/1475-wall-previous-location-line.md`,
`docs/maintaining.md`, RE-347's section 7 (figures it no longer holds).

## Testing

Unit tests are banned in this repository: none added. Measured on
Autodesk's sample projects of 2024 to 2027 (25 files, no Revit export of
any):

- Measure
[42129732742](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42129732742),
head `d741927`: the probe, the cause.
- Measure
[42134051521](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42134051521),
head `0a0ba7ce` against base `ce3a3c47` (the same code without the
rule), default scorers, every job green. The figures below are from it.
It was dispatched from `main`, so it took `main`'s gate.
- Measure
[42137808608](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42137808608)
on head `b470a9ab`: the `same-project gates` check passes on 9 samples,
but reads "Scored by workflow commit `c5bae9ed`", `main`'s gate, whose
2027 ceiling is 42. **It did not exercise this PR's edit of
`bodies_across_saves.py`**, so 61, 18 and 28 are not yet scored by
anything.
- Measure
[42141380072](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42141380072),
the unfiltered run on head `5754c7f3` against `main` at `0dd3ad93`,
dispatched from this branch (`-f base=main -f samples=true -f
nordic=true -f r2025=true -f holdout=true -f keep_ifc=true`, the probe
on every model), every default scorer, no filter, every job green. Its
`same-project gates` check reads "pass: 9 samples held to their earlier
saves, and the Areas on 4 saves and on the 2021 save", "Scored by
workflow commit `5754c7f3`": this branch's gate, with its 61, 18 and 28.
The same gate on the base fails `rac_advanced` 2027 on both numbers (47
doors below 61, 42 left out above 28), so the floor and ceiling bind.
The figures under "Every model" are from it.

- Head `a0c90b97` holds #1477 and #1483 (main moved after the run)
through a clean merge; #1483's projected wall read is the 2015 to 2023
`WallReads::read`, not this read. Their effect on the figures was not
measured.

- [x] Verified end to end on real Revit files: the command, the files
and the measured result are in the report, with the probe that
reproduces it
- [x] Touches the IFC exporter only through what the wall read feeds: of
111 models and samples six exports change and 105 are byte for byte
main's (list below)
- [x] Not a performance change

## Every model (run 42141380072, repeated on the landing head)

The landing run is
[42530216655](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42530216655),
head `aa3324e8` against `main` at `1e2d3de4`, which includes #1517: that
change makes `native_walls` reach Revit 2015 to 2023, so this rule does
too. 112 of 118 exports are `main`'s, the same 6 move, none of them 2015
to 2023, and `same-project gates` passes. Before it, run
[42518227323](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42518227323),
head 431c2f2d against `main` at ab5f8e1, 118 models and samples:
`ifc.sha256` moves on the same 6 as below, the office's door axes
(placed by the rule 193 to 194, differing from Revit 0) and
`Qto_WallBaseQuantities.Length` (missing 54 to 52, different 0) move as
below, nothing else does, and the same-project gates pass with
`rac_advanced` 2027 going from fail on the base to pass on the head.


- **`ifc.sha256`, base against head:** equal on 105 of 111, moved on 6:
`rac_basic` 2024 to 2027, `rac_advanced` 2027 (above) and the BIM4LCA
office as built. Held-out and spent models: equal on all 19, kept counts
unchanged but for the added `previous lines:` line.
- **Walls read through the rule** (records, with a previous line
(offset), read through the rule): Core Interior 1,209, 281 (0), 281,
export byte for byte main's, so it exercised 281 walls and none reaches
an output (no `REPLAY_DRIFT` is possible: its export and witness
observations are the same); the office at permit 1,137, 76 (24), 76,
byte for byte; `rac_basic` 2023 5, byte for byte (the consumers do not
run there); Snowdon Architectural 2, byte for byte. Every other model
reads none through the rule and exercises nothing.
- **The office as built** (Revit's export exists; 1,082, 52 (23), 51):
the export differs in one door and its opening of 13,688 products: door
2597741, set in the newly read wall 2599599, gains `PlacementAxesSource`
and the rule's axes; no body, class, other property or quantity moves.
`door_axes_vs_ifc`: placed by the rule 193 to 194, differing from
Revit's 0, same 211 to 212. `qtos_vs_ifc`: equal 29,760, different 1 (as
on main), rvt-rs quantities Revit does not write 0, unchanged;
`Qto_WallBaseQuantities.Length` equal 92, different 0, missing 54 to 52,
the 2 walls leaving it being the 2 newly read plain walls, whose Length
Revit's export gives as rvt-rs's curve's or its Axis's (neither stays
0). `psets_vs_ifc`, `wall_bodies_vs_ifc`, `wall_ends_cv_vs_ifc`,
`class_sets_vs_ifc` and `door_bodies_vs_ifc` are identical files.
`wall_length_vs_ends` is not a Measure scorer. The diagnostics gain
exactly the 2 walls; the semantic diff finds 0 elements changed. Nothing
moved away from Revit's.
- **Held-out:** 11 of the 18 hold native wall records (145 in all) and
none holds a previous location line; the other 7 (2018 to 2022) hold
none to read. So no held-out model has an offset previous line. The
offices do (23 of 52, 24 of 76); the walls and the door of the office as
built that reach its export agree with Revit's, but which of the 23
those are was not read.

## Measured result (run 42134051521, samples only)

- **What each save reads** (base, head): `rac_advanced` 2027 162, 180
(2024 to 2026 180, 180); `rac_basic` 47, 52 on 2024 to 2026 and 46, 52
on 2027; `rme_advanced`, `rme_basic`, `rst_basic` unchanged; Snowdon
Architectural 1,202, 1,204. On the head `rac_basic` reads the same 52
walls and `rac_advanced` the same 180 on all four saves, by id. No wall
the old rule read is un-read. 26 walls are newly read over every `SWall`
record of the 25 files (the probe's count), of which 20 can reach an
export: the 18 of `rac_advanced` 2027 and `rac_basic`'s 709245 and
234869, none on Snowdon.
- **What settles which line is the location curve** (RE-360 section 1):
the previous line has the location curve's direction and length, so
length cannot say. On the 4 walls where it is offset it is offset across
the wall by exactly half the type thickness (0.4970 of 0.9941 ft, 0.2272
of 0.4544 ft); `m_pCrv`'s line equals the partition axis (RE-53) to
0.0000 ft on all 13 dumped walls that have one, and
`attach_wall_lengths` gives `m_wall_curve_length` only within 1e-4 ft of
that axis, which all 17 newly read plain walls got. A record whose
`m_pCrv` names the stale line could not be told apart by naming; none
exists in the 25 files. Curtain walls have no axis and no guard, so only
the rule protects them; both here have a coincident previous line.
- **What moves in the IFC:** `rac_basic` 2024 to 2027 and `rac_advanced`
2027 only. `rac_basic`: curtain wall 709245 gains
`Qto_CurtainWallQuantities.Length` 3.01 m, nothing else. `rac_advanced`
2027: curtain wall 149877 gains `Length` 25.6109 m (its 2024 to 2026
value); 14 doors gain `PlacementAxesSource`; 13 doors and their 13
openings change placement. No body volume or world box moves, no product
added or removed. No other wall, neighbour reach, shell or length
changes on any save. **No check holds the two curtain `Length` values**:
no Revit export of these files exists, no gate compares a curtain wall's
`Length`, 709245 gains it on all four saves at once, and only its box
width of 9.8753 ft corroborates it.
- **Pinned walls (`lane/1454-gates`):** one overlap, 234869 on
`rac_basic` 2027; its body, volume, box and properties are unchanged, so
its pin holds. Nothing re-pinned.
- **Snowdon Architectural:** byte for byte the base's; the 2 newly read
walls are not products of rvt-rs's export nor of Revit's IFC4 (counts
only), so nothing is scored and no wall moves from Revit's.
- **The 14 doors:** equal to the 2025 save's (and the 2024 save's) in
axes, origin, body vertices and volume, 14 of 14 (base: 1 of 14), placed
by the RE-347 axes rule. The same-project gate of that run, main's:
`rac_advanced` 2027 compares 79 (61 doors, 18 windows) and leaves 28
out, where the base compared 65 and left 42 out.
- **The 14 cut openings:** placement now equal to the 2025 save's; their
volume and vertices still differ on all 14 (0.3526 ft at the farthest)
before and after, because the cut loop of a door's symbol is read on
2024 and 2025 only. #1454 widens that list; not measured together.
- **Not measured:** any Revit export of the sample files; the newly read
sample walls' lengths and directions against Revit's; whether the 2
walls and the door of the office as built that reach its export are
among its 23 offset previous lines (the probe prints a count, not the
wall).

## Audit-honesty checklist

- [x] README and docs reflect the state: no capability claim changes
beyond the two values above
- [x] Changelog fragment under `changelog.d/fixed/`
- [x] A limitation remains and is stated: the 14 openings' size on 2027
(above)
- [x] Commit messages describe what changed
- [x] No emojis; no private paths or personal addresses in committed
files
- [x] Reverse-engineering finding: a reproducible probe under
`probes/examples/` and the report RE-360

## Legal and contribution hygiene

- [x] I agree this work is licensable under Apache-2.0
- [x] No Autodesk proprietary source, decompiled internals or NDA'd SDK
content: member names and bytes of Autodesk's public sample files
- [x] No fixtures

## Breaking changes

None.
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.
DrunkOnJava added a commit that referenced this pull request Nov 9, 2026
…box (#1535) (#1567)

## Summary

RE-364 gains section 8, the answer #1535 asked for. On Revit 2015 to
2020, an angled wall whose box does not close on its line's rectangle
keeps its box, as on `main`. A line body makes 8 of the 48 angled walls
of the spent Vitoria `ALD26 Before` worse than their box, at their ends
alone, and a scorer that signs each end's difference shows why. On 7 of
them Revit's wall stops 0.275 to 0.279 ft short of the line's end, and
short of the box's end too. That fits a trim at a join, which no angled
wall has on these releases, and it fits a rule for their one wall type
just as well; neither is tested. A changelog fragment says so. No code
or export changes.

## Testing

- Measure run
[42558474888](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42558474888):
the faces-from-line trial (`7180ba95`) against the code before it
(`1e2d3de4`) on the spent pair, with a temporary scorer on
`measure/1535-ends` (`963bb49c`, not merged) that lists each wall's
signed start and end. The table in section 8 is that listing.
- The other figures are from the runs already cited on #1535:
42532798082 (trial) and 42541485876 (dominant-axis run estimate).
- `changelog.py check` and `api-doc-ids.py` pass.

## Audit-honesty checklist

- [x] Every figure names its run; the held-out projects' gains are
counts only, and they say they were already scored for this work
- [x] What remains (the wall quantities on 2015 to 2023) is named, under
#1535
- [x] No emojis, no private paths

## Legal and contribution hygiene

- [x] Apache-2.0; no Autodesk proprietary source, decompiled internals
or NDA'd SDK content. Format-RE PR: I declare this finding comes from
public byte observations and Revit's own IFC exports only.

## Breaking changes

None.

## Related issues

Refs #1535, #1517, #1190.
DrunkOnJava added a commit that referenced this pull request Nov 9, 2026
…ord names nothing joined to or cutting them; their areas and volumes stay out (#1535) (RE-364) (#1578)

## Summary

Revit 2015 to 2023 walls write their `Qto_WallBaseQuantities.Height`
again, where the wall's native record names nothing joined to or cutting
it, as on 2024 to 2027. Their side areas, footprint and volumes stay
out, as on `main`: the record box they would be measured on is not the
body the 2024 save draws for 25 of those walls. This is the quantities
half of #1535's done-when. RE-364 section 9 has the measurements.

## Motivation

#1517's review narrowing (RE-364, 2026-11-08) left a 2015 to 2023 wall's
`Height`, areas and volumes out, because the record's control joins read
empty on those releases, "so what reads as uncut is not known to be".
The `uncut` and `whole` flags do not come from the control joins. They
come from the `*Step` classes of the wall's native record, and nobody
had checked those on the old releases.

## Changes

- `src/research/partition_schema_mvp/walls.rs`: the `uncut` flag is set
on 2015 to 2023, and the `whole` flag is still not (`!narrow`), with the
reason in a comment. `Height` needs `uncut` alone (`add_wall_height`).
The areas and volumes need `uncut`, `whole` and the join-trimmed box
(`add_wall_areas_and_volumes`), so they stay out.
- `probes/examples/probe_1535_wall_steps.rs`: lists each wall record's
step classes and both flags, on any release.
- `tools/re/save_pair_wall_quantities.py` (new): each wall's
`Qto_WallBaseQuantities` in two rvt-rs exports of the same project from
two Revit releases, paired by `Tag`. For a value only the older save
writes, it compares the older save's `GrossVolume` with the volume of
the later save's body.
- `tools/re/qtos_vs_ifc.py`: also counts the values on a Tag that
Revit's export gives more than one object, which it scores against one
of them. `tools/ci/scrub-holdout-results.sh` keeps those two count lines
(counts only, no Tag) in held-out results. Counting them apart in W7 is
#1576.
- `reports/element-framing/RE-364-2015-2023-wall-lines-and-joins.md`
section 9, the addendum in `docs/format-reconnaissance.md`,
`docs/status.md`, and
`changelog.d/added/1535-wall-heights-2015-2023.md`.

## Testing

Unit tests: N/A (banned). Everything below is end to end on real files.

- **Steps.** `probe_1535_wall_steps` (Measure run 42562621272, on
Autodesk's samples of every year): against the same project's later
save, 2,894 of 2,896 walls hold the same step classes, and all 2,896 the
same `uncut` and `whole`.
- **A trial head that wrote both** (748eff3, archived at
`refs/archive/2026-11-09/1535-areas-trial-head`; Measure run
42564158277, `keep_ifc`). `save_pair_wall_quantities.py` compared each
of the 31 samples of 2015 to 2023 that have a 2024 save with that save:
- `Height`: 781 equal and none different, on 200 walls across 30 saves.
7 sit on walls the 2024 save does not have. 10 that the 2024 save writes
are not written: two curtain-gridded `rme` walls on four saves, and two
`rac_basic` 2023 walls that save writes no quantities for.
- Areas and volumes: 461 or 462 of each equal. 203 of each are written
by the old save alone, on 25 walls the 2024 save draws from their
centrelines (170 with layer joins, 33 without), and on all 203 the
record box's `GrossVolume` differs from that body's volume, by 0.003 to
3.55 m3. One differs outright (wall 418079 of `rac_basic` 2015, whose
box is thicker than 2024's). The step classes of those walls fall on 3
signatures, and every one also occurs on walls whose areas equal 2024's,
so nothing in the record separates them. Hence `whole` stays off.
- **The landing code** (8817a76; Measure run 42567326561 against `main`
at 83417fd, unfiltered, with the samples, the BIM4LCA office, R2025,
the held-out models, `racadv` and BIMcollab):
- 45 of 118 exports move, all Revit 2015 to 2023, and the 73 others,
every 2024 to 2027 export among them, are byte for byte `main`'s.
  - `same-project gates` passes.
- The scorers change only where a `Height` is added: `modelo_bim` (Revit
2023, IFC4, held out) 1 equal, none different. BIMcollab (IFC2X3) and
bim-whale (IFC2X3, held out) have 88 and 151 that Revit's export does
not write. Vitoria `ALD26 Before` has base quantities off, so its 97 are
counted apart.
- Warmond (Revit 2021, held out, its export passed through another
tool): 91 equal and 45 different, 40 listed at exactly twice Revit's.
- **Warmond's 45** (Measure run 42569616611 on a8d3fdd, Warmond plus
Einhoven and the 2024 to 2027 samples, `same-project gates` passing).
Revit's export gives 84 walls' Tags to more than one object. On those
Tags `Height` is 0 equal, 45 different and 39 missing, and on the walls
it writes once, 91 equal and none different. So every difference is
rvt-rs's whole wall scored against one piece of a wall Revit's export
splits. The held-out file was not opened.
- The later commits change only docs and the report (no `src/` after
a8d3fdd).

## Audit-honesty checklist

- [x] No Revit export of Autodesk's samples exists, so an error the 2024
save shares is not caught. The PR, the report and the fragment say so.
- [x] What stays out (areas, volumes, footprint, `Length`) and why is in
the code comment, the report and the fragment.
- [x] A user-visible change has its fragment; `docs/status.md` names the
new `Height` and what is still left out.
- [x] RE finding: probe under `probes/examples/`, report section, dated
addendum in `docs/format-reconnaissance.md`.
- [x] No emojis, private paths or PII. Held-out models appear as counts
only.

## Legal and contribution hygiene

- [x] Apache-2.0.
- [x] Clean room (CLEANROOM.md): this work uses only public byte
observations of Autodesk's sample projects, rvt-rs's own exports, and
Revit's IFC exports as scored by Measure. No Autodesk or ODA SDK source,
disassembly, leaked or NDA material.

## Breaking changes

None. A Revit 2015 to 2023 export gains `Qto_WallBaseQuantities.Height`
on walls whose record names nothing joined to or cutting them.
`--no-base-quantities` leaves it out with the rest.

Part of #1535 (its quantities item).
@puzzbobb
puzzbobb deleted the feat-1190-2015-2023-walls-re364 branch November 15, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants