Repository navigation
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
Conversation
10 of 15 tasks
DrunkOnJava
force-pushed
the
research/1475-wall-location-curve
branch
from
November 8, 2026 20:04
a0c90b9 to
431c2f2
Compare
DrunkOnJava
marked this pull request as ready for review
November 8, 2026 22:25
DrunkOnJava
force-pushed
the
research/1475-wall-location-curve
branch
from
November 8, 2026 22:25
431c2f2 to
aa3324e
Compare
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
force-pushed
the
research/1475-wall-location-curve
branch
from
November 9, 2026 01:06
eade739 to
f73bcae
Compare
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
Closes #1475.
On Revit 2027's save of
rac_advanced, 18 of 180SWallrecords hold a secondGLinebesides the location curve, owned byWallRunTimeData.m_prevLocLine.native_wallsleft 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 levelGLineVWallDriver.m_pCrvnames and the other is aGLinethat onlym_prevLocLinenames. A record with the oneGLinereads as before, and any other set of curves stays unread (aCurveLoop.m_curvesprofile wall, an arc, a null or ambiguousm_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 ofrac_advanceddoors 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 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 lands second sets 2027's numbers from a samples run on the merged head and takes neither side's: 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'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-onlyprevious 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, head
d741927: the probe, the cause.Measure 42134051521, head
0a0ba7ceagainst basece3a3c47(the same code without the rule), default scorers, every job green. The figures below are from it. It was dispatched frommain, so it tookmain's gate.Measure 42137808608 on head
b470a9ab: thesame-project gatescheck passes on 9 samples, but reads "Scored by workflow commitc5bae9ed",main's gate, whose 2027 ceiling is 42. It did not exercise this PR's edit ofbodies_across_saves.py, so 61, 18 and 28 are not yet scored by anything.Measure 42141380072, the unfiltered run on head
5754c7f3againstmainat0dd3ad93, 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. Itssame-project gatescheck reads "pass: 9 samples held to their earlier saves, and the Areas on 4 saves and on the 2021 save", "Scored by workflow commit5754c7f3": this branch's gate, with its 61, 18 and 28. The same gate on the base failsrac_advanced2027 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
a0c90b97holds feat(ifc): a column cut across its top by one slab gets the cut mesh's CrossSectionArea and NetVolume (#1203) (RE-353) #1477 and perf(reader): the definitions pass, the wall records read and the catalog's document build only the fields they read; the preamble does less (#1335) #1483 (main moved after the run) through a clean merge; perf(reader): the definitions pass, the wall records read and the catalog's document build only the fields they read; the preamble does less (#1335) #1483's projected wall read is the 2015 to 2023WallReads::read, not this read. Their effect on the figures was not measured.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
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)
Not a performance change
Every model (run 42141380072, repeated on the landing head)
The landing run is 42530216655, head
aa3324e8againstmainat1e2d3de4, which includes #1517: that change makesnative_wallsreach Revit 2015 to 2023, so this rule does too. 112 of 118 exports aremain's, the same 6 move, none of them 2015 to 2023, andsame-project gatespasses. Before it, run 42518227323, head 431c2f2d againstmainat ab5f8e1, 118 models and samples:ifc.sha256moves on the same 6 as below, the office's door axes (placed by the rule 193 to 194, differing from Revit 0) andQto_WallBaseQuantities.Length(missing 54 to 52, different 0) move as below, nothing else does, and the same-project gates pass withrac_advanced2027 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_basic2024 to 2027,rac_advanced2027 (above) and the BIM4LCA office as built. Held-out and spent models: equal on all 19, kept counts unchanged but for the addedprevious lines:line.REPLAY_DRIFTis possible: its export and witness observations are the same); the office at permit 1,137, 76 (24), 76, byte for byte;rac_basic2023 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.PlacementAxesSourceand 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.Lengthequal 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_ifcanddoor_bodies_vs_ifcare identical files.wall_length_vs_endsis not a Measure scorer. The diagnostics gain exactly the 2 walls; the semantic diff finds 0 elements changed. Nothing moved away from Revit's.Measured result (run 42134051521, samples only)
rac_advanced2027 162, 180 (2024 to 2026 180, 180);rac_basic47, 52 on 2024 to 2026 and 46, 52 on 2027;rme_advanced,rme_basic,rst_basicunchanged; Snowdon Architectural 1,202, 1,204. On the headrac_basicreads the same 52 walls andrac_advancedthe same 180 on all four saves, by id. No wall the old rule read is un-read. 26 walls are newly read over everySWallrecord of the 25 files (the probe's count), of which 20 can reach an export: the 18 ofrac_advanced2027 andrac_basic's 709245 and 234869, none on Snowdon.m_pCrv's line equals the partition axis (RE-53) to 0.0000 ft on all 13 dumped walls that have one, andattach_wall_lengthsgivesm_wall_curve_lengthonly within 1e-4 ft of that axis, which all 17 newly read plain walls got. A record whosem_pCrvnames 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.rac_basic2024 to 2027 andrac_advanced2027 only.rac_basic: curtain wall 709245 gainsQto_CurtainWallQuantities.Length3.01 m, nothing else.rac_advanced2027: curtain wall 149877 gainsLength25.6109 m (its 2024 to 2026 value); 14 doors gainPlacementAxesSource; 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 curtainLengthvalues: no Revit export of these files exists, no gate compares a curtain wall'sLength, 709245 gains it on all four saves at once, and only its box width of 9.8753 ft corroborates it.lane/1454-gates): one overlap, 234869 onrac_basic2027; its body, volume, box and properties are unchanged, so its pin holds. Nothing re-pinned.rac_advanced2027 compares 79 (61 doors, 18 windows) and leaves 28 out, where the base compared 65 and left 42 out.Audit-honesty checklist
changelog.d/fixed/probes/examples/and the report RE-360Legal and contribution hygiene
Breaking changes
None.