Skip to content

docs(re): RE-414 records that walking a flagged instance with a rotation matrix draws none of the 32 showers it blocked, so the rule is not shipped (#1645) (RE-414) - #1670

Merged
DrunkOnJava merged 11 commits into
mainfrom
feat/flagged-rigid-instances
Nov 11, 2026
Merged

DrunkOnJava merged 11 commits into
mainfrom
feat/flagged-rigid-instances

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Summary

Walking a GInstance whose m_bHasScale is set and whose matrix is a rotation (the rule of this branch before this change; its tip is refs/archive/2026-11-10/feat/flagged-rigid-instances) draws none of the 32 showers it was meant for: behind the flag the nested symbols hold faces of three kinds the mesher refuses (multiple cylinder trim loops, nonrectangular parametric trims, HermiteSurf), so every shower stays a box and no body of any file moves. The flag is not what keeps the showers boxed. The rule is not shipped; this records the measurement (RE-414), the probe and the census, and changes no source.

Motivation

#1645. RE-329 and RE-408 named the flag as the next refusal of the BIM4LCA housing's 22 showers and the office's 10. The rows were registered on #1645 before the rule was run; the first one is missed as registered (0 of 22 and 0 of 10).

Changes

  • probes/examples/probe_1645_scaled_instances.rs: lists the flagged instances of every exported element's saved graphics and of the symbols they name, by the shape of their matrix, with their raw fields.
  • reports/element-framing/RE-414-flagged-instances.md, a dated addendum in docs/format-reconnaissance.md and a research changelog fragment.

Testing

No unit tests (banned here), no source change. Measured on Revit 2024 files with the rows registered on #1645 first: the census runs 42922113349, 42922116931, 42925837099, 42926515359 and 42926624595 (the BIM4LCA files, the ten 2024 samples and 58 more models: only the BIM4LCA files hold a flagged instance) and Measure 42929524267 (the rule against main, keep_ifc=true, the four BIM4LCA as-built files): the box and saved-mesh body counts of all four are identical to main's, and the only differences are the text of the 42 showers' refusal reason and its counters.

Not measured

  • A flagged instance with a mirror or a scale, and a rotation that is not a quarter turn: none is in a file with a Revit export.
  • That the walked instances are right: none draws a body, so Revit's export (an IfcMappedItem of about 49,500 triangles for each housing shower) has not scored them.

Audit-honesty checklist

  • Docs state only what ships (nothing user-visible changes; the report says the rule is not shipped)
  • Changelog fragment under changelog.d/research/
  • A reverse-engineering finding: probe, a dated report with the artefacts and runs, an addendum
  • No emojis, no private paths

Legal and contribution hygiene

  • Apache-2.0; no Autodesk source (CLEANROOM.md)

Breaking changes

None.

…'s fields and its matrix's deviation from a rotation (#1645)
…m another rotation and counts the instances that carry a category (#1645)
…3x3 matrix is the identity is walked, so the elements it refused can come from their saved meshes (#1645) (RE-414)
…stances

# Conflicts:
#	src/research/native_graphics_traversal.rs
…s walked on every route, not the identity alone (#1645) (RE-414)
…nd the rows registered for the rule, its measurement pending (#1645) (RE-414)
DrunkOnJava added a commit that referenced this pull request Nov 11, 2026
…ach element's SavedMeshRefusal (#1645) (#1672)

## Summary

`tools/re/box_bodies_vs_ifc.py` lists the record-box bodies of an export
by class and by reason, from each element's `SavedMeshRefusal` (the
property #1647 writes), after its fill table. #1645 asks for "why each
element stayed a box, by class and reason" in the diagnostics and in
Measure: the diagnostics count the reasons
(`exported.saved_mesh_refusals`), and this puts them by class in every
Measure model's `box_bodies_vs_ifc.txt`.

## Motivation

#1645. Until now the by-class-and-reason census needed a research probe
per model (`probe_1645_box_reasons_by_class`). With the property on the
elements, the scorer that already lists the boxes by class reads it from
the export it scores, so every run of Measure carries the census and a
change that draws more bodies shows which reasons it removes.

## Changes

- `tools/re/box_bodies_vs_ifc.py`: `refusal(element)` reads the
property; `boxed_tags` returns the class and the reason of each box;
`main` prints `box bodies by class and reason (SavedMeshRefusal, #1645):
N of M have one`, then each class with its reasons, most numerous first,
`(none)` for a box with no reason.

## Testing

Scorer only: no source, export or other scorer output changes. Run on
`main` at `fa2864d4` with this scorer
([42929794159](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42929794159):
the BIM4LCA office as built and housing concrete as built). The office
as built prints `153 of 168 have one`, and its 15 without are 14
`IfcStair` and 1 `IfcCurtainWall`, the wholes the pass leaves to their
parts (#1669 gives them a reason); the housing prints `66 of 73`, the 7
without being its `IfcStair`. The largest groups it shows: 43
`WC-istuin:WC-1` for `nonrectangular parametric trim`, 30
`Stay_Wall_Mounted_:VAR-1` for `multiple cylinder trim loops
unsupported`, 24 railings for `shared curved edge is not an
isoparametric interval`, 10 showers for `scaled instance mode is not
qualified` (#1670). The new functions were also run on a synthetic IFC
of four elements with and without the property before the push.

## Not measured

- The lines are not in the held-out models' output:
`scrub-holdout-results.sh` keeps only the lines it allowlists, so they
do not leave the runner there.

## Audit-honesty checklist

- [x] Docs state only what ships (the scorer's own docstring says what
it prints)
- [x] No emojis, no private paths

## Legal and contribution hygiene

- [x] Apache-2.0; no Autodesk source

## Breaking changes

None.
…ion matrix draws none of the 32 showers it blocked, so the rule is not shipped (#1645) (RE-414)
@DrunkOnJava DrunkOnJava changed the title feat(saved-graphics): a GInstance whose m_bHasScale is set and whose 3x3 matrix is a rotation is walked, so the elements it refused can come from their saved meshes (#1645) (RE-414) docs(re): RE-414 records that walking a flagged instance with a rotation matrix draws none of the 32 showers it blocked, so the rule is not shipped (#1645) (RE-414) Nov 11, 2026
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 11, 2026 00:51
@DrunkOnJava
DrunkOnJava merged commit 2ddd778 into main Nov 11, 2026
63 checks passed
@DrunkOnJava
DrunkOnJava deleted the feat/flagged-rigid-instances branch November 11, 2026 01:03
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