Skip to content

feat(ifc): a wall's shadow cutout step is read as the step it mirrors, so the openings it leaves out are counted under that step's reason (#1165) (RE-398) - #1655

Merged
DrunkOnJava merged 9 commits into
mainfrom
feat/shadow-cutout-steps
Nov 10, 2026
Merged

DrunkOnJava merged 9 commits into
mainfrom
feat/shadow-cutout-steps

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Summary

A wall's native record lists a WallShadowCutoutGStep for a cutter whose cut is held by another wall's record, naming that wall and that wall's step. All 124 of them in the BIM4LCA office, rac_advanced (2024 to 2027) and Snowdon Towers Architectural name a step that exists, of the same cutter. The export now reads each as that step's kind (12 embeds, 112 cutouts), keeping its own m_bCutSomething, so a cut it leaves out is counted under the reason of the step it mirrors instead of as shadow_cutout_step_not_read. Attribution only: no export changes on any of the 118 models, and no opening is written that was not.

Motivation

#1165 lists the openings Revit's export writes and rvt-rs does not. 61 of the steps counted as shadow_cutout_step_not_read (54 on Snowdon Towers) said nothing about why, because a shadow's own fields hold no box. Counting them under their real reason shows the largest blocker on Snowdon, door_second_wall_parallel_to_door_wall, which now stands at 38 openings.

Changes

  • src/research/native_wall_cuts.rs: WallCutStep gains id and mirrors; resolve_shadow_steps replaces a shadow step's kind with that of the step of the other wall it names (an embed or a cutout of the same cutter, matched by m_ggId against m_id) and keeps the shadow's own flag, which is about its own wall (0 on 85 of the 124, where the mirrored step's is 1 on 81 of those).
  • src/ifc/wall_cut_openings.rs: the steps read are resolved before they are used.
  • docs/export-diagnostics.md: the text of the shadow_cutout_step_not_read reason.
  • probes/examples/probe_re398_shadow_cutout_links.rs, reports/element-framing/RE-398-shadow-cutout-steps.md, changelog.d/changed/1165-shadow-cutout-steps.md.

Testing

Unit tests are banned in this repository; none are added.

  • Verified end to end on real Revit files. Measure run 42897187670, unfiltered (nordic, r2025, samples, racadv, bimcollab, holdout), head 05ab584d (this change before its rebase onto main, kept under refs/archive/2026-11-10/cited/) against main at 9066e124, 118 models on each side: 0 exports move, no census regression, no body or placement regression; only the left-out counts of seven diagnostics.json files move, as the report tabulates. The probe reads every shadow step of the files that hold any: 124 of 124 resolve.
  • Against Revit's own export where there is one: the office's three shadow steps (2 as built, 1 at permit) each have an IfcOpeningElement of the cutter's Tag in the shadow's wall, as in the other wall.
  • The second project, pre-registered on List the shipped rules that rest on one project, and the second model that could test each #1636 (comment) before any run of this rule on it: Measure run 42903375939 (head ec33f36a against main at 0bb8067f, the BIM4LCA housing and the timber office): 0 exports move; the rule is exercised by 5 and 4 shadow steps of the timber office, which move to the reasons of the steps they mirror (it holds there), and by none of the six housing files (not exercised).
  • CI runs the gates of tools/check-local.sh; the fast set runs while the PR is a draft and the full set once it is ready.

Audit-honesty checklist

Legal and contribution hygiene

  • Apache-2.0; no Autodesk proprietary source (the step's fields are read from the file's own record; Revit's exports are the oracle).
  • No fixtures.

Breaking changes

None. WallCutStep, in the unstable-research surface, gains two fields.

Related issues

Refs #1165 (stays open: the openings are not written yet), #1636 (the second-project row), RE-321, RE-338.

… it mirrors, so the cutter's opening in the shadow's wall is written by the same rule (#1165)
… a shadow cutout step that is read as the step it mirrors (#1165)
…s only the kind of the step it mirrors (#1165) (RE-398)

The probe of the shadow steps shows the flag differs from the mirrored
step's on 81 of 124 (the other wall's step is the cutter's host, the
shadow's is a wall it reaches), so copying it put 46 of Snowdon's doors under
the reason for a door that cuts a wall it is not hosted in.
… of another wall, read as that step with their own flag (#1165) (RE-398)
…eld on the timber office, not exercised on the housing (#1165) (RE-398)
@DrunkOnJava
DrunkOnJava force-pushed the feat/shadow-cutout-steps branch from 8b8133a to 7ed27b9 Compare November 10, 2026 21:41
@DrunkOnJava
DrunkOnJava merged commit 5dd1277 into main Nov 10, 2026
37 checks passed
@DrunkOnJava
DrunkOnJava deleted the feat/shadow-cutout-steps branch November 10, 2026 22:18
DrunkOnJava added a commit that referenced this pull request Nov 10, 2026
… again: the 30 furniture stay 1.11 times Revit's volume, so the change is not shipped (#1645) (RE-407) (#1663)

## Summary

RE-407 records the negative of measuring RE-305's mesher for cylinder
faces trimmed by several loops again, with the loops of every such face
on the BIM4LCA files and Autodesk's 2024 samples, the rows registered on
#1645 before the run and their results, and what was ruled out. Docs
only; the change itself is not shipped.

## Motivation

#1645 (the box-body census): `multiple cylinder trim loops unsupported`
is the whole reason for 30 furniture of the BIM4LCA office and 8 housing
doors and the largest reason on the 2024 samples after the instance
masks. RE-305 (2026-11-03) drew the 30 furniture and found none within
1% or 0.01 ft; RE-397 section 5.2 and #1658 have since found how Revit's
export writes round sections and some bodies, which was a new signal
worth a second measurement.

## Changes

- `reports/element-framing/RE-407-cylinder-several-loops.md` (new), a
dated addendum in `docs/format-reconnaissance.md`, and a `research`
changelog fragment.
- The change measured (`1d869996`) and its probe (`690e90cf`) are
archived under `refs/archive/2026-11-10/`; no source or workflow file is
touched.

## Testing

Unit tests are banned here and none is added. The measurement is Measure
42914809166 (the change against `main`, the five BIM4LCA files with a
Revit export) and the loop census 42910718296 and 42910722590, both with
rows registered on #1645 before the run (the rows and the results are in
comments there). The tables in the report are those runs' scorer files.

| Row (registered on #1645) | Result |
|---|---|
| The office's 30 furniture and the 4 sauna doors are drawn from their
saved meshes (at least 32 of 34) | holds, with a correction: the doors
are on the two housing files, 4 each, not on the office |
| Of the 30 furniture, at least 27 read `equal` or `explained` shell by
shell | missed as registered: 0 of 30 (volume 1.1102 to 1.1105 of
Revit's) |
| Nothing else moves | holds on the scorer tables and body sources;
three counters on the office are #1655 in reverse, the head having been
cut before it landed |

## Not measured

- Why the shell that reads 1.29 differs: a bent bar whose curved faces
Revit's export draws coarsely is a reading, not a measurement.
- The 175 faces of the samples: no export scores them.

## Audit-honesty checklist

- [x] No claim of a capability this PR does not ship; `docs/status.md`
and the support matrix are unchanged
- [x] The fragment is under `changelog.d/research/`; the addendum is in
`docs/format-reconnaissance.md` and the probe is archived at `690e90cf`
- [x] No emojis, no private paths, no personal addresses

## Legal and contribution hygiene

- [x] Apache-2.0; no Autodesk source, decompiled internals or NDA
content

## Breaking changes

None.
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.

1 participant