Repository navigation
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
Conversation
…he matrix each carries (#1645)
…'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)
…o feat/flagged-rigid-instances
…nd the rows registered for the rule, its measurement pending (#1645) (RE-414)
3 tasks done
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
marked this pull request as ready for review
November 11, 2026 00:51
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
Walking a
GInstancewhosem_bHasScaleis set and whose matrix is a rotation (the rule of this branch before this change; its tip isrefs/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 indocs/format-reconnaissance.mdand aresearchchangelog 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 tomain's, and the only differences are the text of the 42 showers' refusal reason and its counters.Not measured
IfcMappedItemof about 49,500 triangles for each housing shower) has not scored them.Audit-honesty checklist
changelog.d/research/Legal and contribution hygiene
Breaking changes
None.