Skip to content

feat(ifc): a curtain mullion's Pset_MemberCommon.Span is its length along its own axis (#35) (RE-226) - #993

Merged
DrunkOnJava merged 2 commits into
mainfrom
feat/mullion-span
Oct 25, 2026
Merged

DrunkOnJava merged 2 commits into
mainfrom
feat/mullion-span

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

Each curtain mullion now carries Pset_MemberCommon.Span, its length along its own axis, which Revit's export writes and rvt-rs did not. On the BIM4LCA office that is 9,984 of 10,003 values as built and 10,012 of 10,031 at building permit (RE-226). The same report records a measured negative for mullions' IsExternal: the host each mullion's record names does not decide it.

Motivation

Revit's export of the office writes 25,598 property values rvt-rs did not, and 20,006 of them are Span and IsExternal on its 10,003 curtain mullions (#35, W7).

Changes

  • src/partition_schema_mvp.rs: attach_curtain_axes records, for a mullion on the model's axes, the model axis its transform's Z lies on (CURTAIN_MULLION_ALONG_FIELD). A turned or tilted mullion keeps RE-106's three axes. Bodies are unchanged.
  • src/ifc/export_content.rs: add_mullion_span writes Span as the record box's extent along that axis, or, for a turned mullion, the RE-106 oriented box's extent along its Z.
  • reports/element-framing/RE-226-mullion-hosts-and-spans.md, with examples/probe_re226_mullion_hosts.rs and tools/re/member_hosts_vs_ifc.py.
    • IsExternal: every mullion's and panel's FamilyInstance.m_hostId names its curtain wall, and taking that wall's value is Revit's on 1,424 of 10,003. RE-193 §6 stands.
    • Span: revit-ifc's SpanCalculator (CLEANROOM.md source 5) takes the body's extrusion length. Revit's Span is its own extrusion depth on 9,796 mullions. The box's longest side misses mullions shorter than their section, while the extent along the mullion's own Z gives all 325 turned ones.
  • README, docs/status.md, docs/supported-profile.md, docs/release-1.0-criteria.md (W7's measured value) and changelog.d/added/mullion-span.md.

Testing

Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead.

  • tools/check-local.sh: CI.
  • Verified end to end on real Revit files: Measure 40231117081, this branch against main, -f nordic=true.
    • On both office files psets_vs_ifc gives Span equal on 9,984 / 10,012, with 1 different and 18 missing each. All equal values go from 32,167 to 42,151 as built and from 32,339 to 42,351 at permit.
    • Core Interior, Einhoven and RE1 Electrical, Mechanical and Plumbing export byte for byte as before.
    • RE1 Architecture's 10 mullions now carry a Span that Revit's IFC2X3 export of that model does not write. rvt-rs writes IFC4, where Revit's export of the office does.
  • N/A: performance (one more field per mullion, no new pass).

Audit-honesty checklist

  • README / docs reflect the current state after this PR
  • A user-visible change has its entry as a fragment under changelog.d/
  • Resolved limitations updated (W7's measured value)
  • The RE1 IFC2X3 difference and the IsExternal negative are stated, not rounded away
  • Commit messages describe what changed and why
  • No emojis in code, docs, or commit messages
  • No private paths, personal email addresses, or internal jargon in committed files
  • Reverse-engineering finding: probe, report and measured counts against Revit's own export

Legal and contribution hygiene

  • Apache-2.0
  • No Autodesk proprietary content. The finding comes from public byte observation and Revit's own IFC exports. revit-ifc was read for what its export does and not copied (CLEANROOM.md source 5).
  • No fixtures

Breaking changes

None.

@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 25, 2026 20:48
@DrunkOnJava
DrunkOnJava merged commit 567f2cc into main Oct 25, 2026
28 checks passed
@DrunkOnJava
DrunkOnJava deleted the feat/mullion-span branch October 25, 2026 20:53
DrunkOnJava added a commit that referenced this pull request Oct 25, 2026
…deleted branch (#1001)

## Summary

Sixteen reports' reproduce commands named a branch that was deleted when
it landed (`feat/mullion-span`, `feat/bare-named-parameters`,
`feat/wall-extend-to-structure`, `feat/824-hatch-openings`,
`re/re155-reference-slots` ... `re/re163-content-documents`,
`re/878-2015-episodes`, `re/223-flag-census`,
`docs/re229-symbol-lengths`), so `gh workflow run` refused them. Each
now names the commit that landed (`--ref main -f ref=<sha>`, and `-f
base=<parent>` where it measured a change against `main`).
CONTRIBUTING's reverse-engineering steps state the rule.

## Motivation

A report's reproduce section is how its counts are checked again.
Measure's `ref` input takes a commit, and every probe and scorer these
reports name is on `main`.

## Changes

- **`reports/element-framing/RE-155` to `RE-163`, `RE-208`, `RE-219`,
`RE-225` to `RE-229`**: branch refs replaced by the squash commits of
#601, #606, #611, #620, #627, #628, #630, #632, #642, #928, #963, #993,
#994, #996, #997 and #998. RE-224's `re/saved-mesh-status` is kept: it
is the ungated branch its scorer needs, and it stays.
- **`CONTRIBUTING.md`**: a report's reproduce commands name a commit,
never a branch.

## Testing

Unit tests are banned in this repository: do not add them.

- [ ] `tools/check-local.sh`: CI.
- [x] Every probe and scorer the changed commands name exists on `main`
(checked file by file), and each commit is the merge of the pull request
that added the report.
- N/A: no code change.

## Audit-honesty checklist

- [x] README / docs reflect the current state after this PR
- [x] No user-visible change, so no changelog fragment
- [x] Commit messages describe what changed and why
- [x] No emojis in code, docs, or commit messages
- [x] No private paths, personal email addresses, or internal jargon in
committed files

## Legal and contribution hygiene

- [x] Apache-2.0
- [x] No Autodesk proprietary content
- [x] No fixtures

## Breaking changes

None.
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
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