Skip to content

fix(reader): a wall whose record holds its previous location line is read by VWallDriver.m_pCrv, so 14 doors of rac_advanced 2027 take the axes rule (#1475) (RE-360) - #1500

Merged
DrunkOnJava merged 3 commits into
mainfrom
research/1475-wall-location-curve
Nov 9, 2026
Merged

DrunkOnJava merged 3 commits into
mainfrom
research/1475-wall-location-curve

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner

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

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):

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

The landing run is 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, 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. feat(ifc): Revit 2026 and 2027 pipes, ports, door and window cuts and the 2025 properties are read as on 2025 (#1190) (RE-346) #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

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

Legal and contribution hygiene

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

Breaking changes

None.

@DrunkOnJava DrunkOnJava changed the title research(elements): which curve of a wall's record is its location curve, on rac_advanced's 2027 save (#1475) (RE-360) research(elements): RE-360 finds the second GLine in 18 of rac_advanced's 2027 walls is the previous location line (#1475) Nov 5, 2026
@DrunkOnJava DrunkOnJava changed the title research(elements): RE-360 finds the second GLine in 18 of rac_advanced's 2027 walls is the previous location line (#1475) fix(reader): a wall's location line is read by VWallDriver.m_pCrv where its record also holds a previous location line (#1475) (RE-360) Nov 6, 2026
@DrunkOnJava DrunkOnJava changed the title fix(reader): a wall's location line is read by VWallDriver.m_pCrv where its record also holds a previous location line (#1475) (RE-360) fix(reader): a wall whose record holds its previous location line is read by VWallDriver.m_pCrv, so 14 doors of rac_advanced 2027 take the axes rule (#1475) (RE-360) Nov 6, 2026
@DrunkOnJava DrunkOnJava added ready-when-green Draft whose code is complete: marked ready for review once its fast CI passes land Reads and final Measure are in: the watcher lands it next, one at a time labels Nov 6, 2026
@DrunkOnJava DrunkOnJava removed ready-when-green Draft whose code is complete: marked ready for review once its fast CI passes land Reads and final Measure are in: the watcher lands it next, one at a time labels Nov 8, 2026
@DrunkOnJava
DrunkOnJava force-pushed the research/1475-wall-location-curve branch from a0c90b9 to 431c2f2 Compare November 8, 2026 20:04
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 8, 2026 22:25
@DrunkOnJava
DrunkOnJava force-pushed the research/1475-wall-location-curve branch from 431c2f2 to aa3324e Compare November 8, 2026 22:25
DrunkOnJava added a commit that referenced this pull request Nov 9, 2026
…s and the read's measured peaks (#1540)

## Summary

`parameters-row.spec.ts`'s office read under a capped browser hard-coded
a 927 MiB cap to sit between two measured figures, the open's peak (910
MiB) and a read's (943 MiB). Any change that adds a little to the open's
peak then fails the job with "Ran out of memory", which says nothing
about that change being wrong: #1500's full CI failed that way. The test
now measures both peaks in an uncapped browser first and sets the cap
halfway between them. If there is less than 8 MiB between them it
reports NOT MEASURED instead of failing. A capped open that runs out now
stops at once instead of waiting 15 minutes.

## Testing

Full CI run 42536857781 at 210d0c6c, leg 1/3: the open's peak was 910
MiB and a read's 929 MiB, so the test chose a cap of 919 MiB. Under that
cap the file opened, the read failed with the viewer's named
out-of-memory message, and the test passed.
@DrunkOnJava
DrunkOnJava force-pushed the research/1475-wall-location-curve branch from eade739 to f73bcae Compare November 9, 2026 01:06
@DrunkOnJava
DrunkOnJava merged commit 642d507 into main Nov 9, 2026
37 checks passed
@DrunkOnJava
DrunkOnJava deleted the research/1475-wall-location-curve branch November 9, 2026 01:17
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.

rac_advanced's 2027 save: 8 walls return no native straight-line row, so the doors and windows they host keep the default axes

1 participant