Skip to content

fix(ifc): a mullion turned about its own axis is read along its own Z by the mesh pass, so it gets a Span (#1193) - #2028

Closed
DrunkOnJava wants to merge 1 commit into
mainfrom
fix/1193-turned-mullion-axis
Closed

DrunkOnJava wants to merge 1 commit into
mainfrom
fix/1193-turned-mullion-axis

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

The saved-mesh pass now has an axis for a curtain mullion turned about its own axis. attach_mullion_plain_hosts remembers each mullion's run axis for the pass (RE-418) from mullion_box. Where the mullion's record box could not give its extents along its own axes (oriented_box refuses a box turned too far about its own Z), mullion_box falls back to the model axes with no along, so no axis was remembered. Such a mullion was then not read along its own axis, and it got no Pset_MemberCommon.Span. It is now remembered by its own Z, the third axis its transform records (curtain_axes_from_fields), which is the axis the solved branch runs it along too. mullion_box itself is unchanged, so the ends rule (RE-436 to RE-441) reads the same boxes as before. Part of #1193.

Motivation

#1193's mullion Span: on the BIM4LCA office as built, 18 of Revit's values were unwritten. d1a5c0e gave the 6 whose own Z is a model axis the box's extent along it. The 12 whose own Z runs across the model's axes still got none (docs/evidence.md line 91). Found from a Tendrils triage of #1193 (batch b10), re-read against main.

Changes

  • src/research/partition_schema_mvp/curtain.rs: the axis map takes the record's own Z where mullion_box has no along.
  • changelog.d/fixed/1193-turned-mullion-axis.md.

Testing

Measure 43662654246, unfiltered against the merge-base, with samples, nordic, r2025, holdout and psets_missing=Pset_MemberCommon.Span. Rows registered before it reads:

  1. Office as built: Pset_MemberCommon.Span missing falls by up to 12, and the new values are equal (Revit's 700 mm and 100.8476 mm in d1a5c0e's table). At permit, the same mullions.
  2. different does not rise on Span, Length, NetVolume or any Qto_MemberBaseQuantities value on any file. A mullion now read along its own Z may also take its Length from the mesh, and that Length must be Revit's or not written.
  3. No export without a curtain mullion turned this way moves.

Read and listed here before ready.

  • tools/check-local.sh: CI runs it
  • End to end: Measure

Audit-honesty checklist

  • Changelog fragment (its count is settled by the Measure)
  • No emojis, private paths or jargon

Legal and contribution hygiene

  • Apache-2.0; no Autodesk proprietary source; no fixtures

Breaking changes

None.

@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Closing unmerged. Its Measure (43662654246, b19b321 against ac1ff34, unfiltered with samples, nordic, r2025, holdout and psets_missing=Pset_MemberCommon.Span) moved nothing: 120 of 120 exports and 102 of 102 diagnostics identical. The census shows why. On main the office as built no longer misses Span on 12 turned mullions. It misses it on 6, and all six are 0.1 m pieces of the 50 x 50 mm mullion (3024609, 3028418, 3028419, 3028723, 3028885, 3028886), whose Span Revit writes as 100.85 mm. The other files: 6 missing at permit, 4 on each timber office file, different 1 on each. The turned mullions this change was for already get their Span by the time it reaches them, and the count it was built from (docs/evidence.md line 91) is stale. So the branch is a rule with no measured case, and it goes. The doc is corrected separately, and #1193 gets the current count.

@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Correction to my closing note: I wrote that the turned mullions this change was for already get their Span. That is more than the run shows. It shows 6 Span values missing on the office as built, all on 0.1 m pieces, and whether those six are turned mullions (reached by the axis map and then refused by the mesh pass on a short piece) or not turned at all is not read. The closing reason stands either way: the change moved no export.

DrunkOnJava added a commit that referenced this pull request Nov 15, 2026
)

## Summary

`docs/evidence.md`'s mullion-span row gave the counts from before
RE-226's second rule: 9,984 of 10,003 as built, 18 unwritten, 12 turned
mullions with none. Today's census (Measure
[43662654246](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43662654246),
base side, `main` at `ac1ff346`, `psets_missing=Pset_MemberCommon.Span`)
gives these, with 1 different on each file:

- BIM4LCA office: 9,996 of 10,003 as built and 10,024 of 10,031 at
permit.
- Timber office: 7,871 of 7,876 as built and 7,867 of 7,872 at permit.

The 6 unwritten as built are all 0.1 m pieces of the 50 x 50 mm mullion
(3024609, 3028418, 3028419, 3028723, 3028885 and 3028886, Revit's Span
100.85 mm).

#2028 was opened for the old count's 12 and moved nothing. Whether the
six are among those turned mullions (and refused later by the mesh pass
on a 0.1 m piece) or not turned at all is not read here. The row now
gives the current figures. The 0.1 m pieces are #1193's remaining Span
case.

## Changes

- `docs/evidence.md`: the counts in the mullion span row.

## Testing

Docs only. The counts are read from the run named.

## Audit-honesty checklist

- [x] No changelog fragment: a correction of counts in the docs.
- [x] No emojis, private paths or jargon.

## Legal and contribution hygiene

- [x] Apache-2.0.

## 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