Skip to content

fix(ifc): a symbol's box-edge width is used only where it is no wider than the record box, and #810 leaves the contribution map (#810) (RE-318) - #1302

Merged
DrunkOnJava merged 2 commits into
mainfrom
fix/810-symbol-width-bound
Nov 3, 2026
Merged

DrunkOnJava merged 2 commits into
mainfrom
fix/810-symbol-width-bound

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

Follow-up to #1300 from its post-merge review. A door's or window's SymbolWireWidth (the extent of the box-edge lines in its symbol's saved graphics) is now used only where it is no wider than the instance's record box along its width, by more than 0.001 ft; otherwise the record box's width is kept. No measured symbol's edges reach past the box (the widest equals it), so no export should change: a stray set of lines of no category can no longer widen a door past its box. Also removes #810 (closed by #1300) from the contribution map, corrects a module path in the support matrix, and adds to RE-318 §7 what the models outside the office do and do not show.

Motivation

#810, RE-318. The post-merge review of #1300 found no behaviour defect; it asked for a sanity bound tying the symbol width to the record box (all 350 and 346 measured values satisfy wire <= box), a stale contribution-map row, and an honest statement that the 31 identical models and the held-out models do not exercise the rule.

Changes

  • src/research/partition_schema_mvp/openings.rs: SYMBOL_WIRE_BOX_SLACK_FEET (0.001 ft); SymbolWireWidth is attached only where it is at most the record box's width plus that slack.
  • docs/contribution-map.md: the BIM4LCA office: 2 doors' OverallWidth is 0.1137 ft wider than Revit's (1756089, 1765267) #810 row goes.
  • docs/support-matrix.json: SYMBOL_WIRE_WIDTH_FIELD is in partition_schema_mvp, not native_symbol_cuts.
  • reports/element-framing/RE-318-symbol-wire-width.md §7 and changelog.d/fixed/810-hatch-door-widths.md: the bound, and what the other models do not show.

Testing

Unit tests are banned here. A byte-identity Measure run against main on the office files, RE1 and Core Interior is cited below once it is in; every IFC should be identical.

Audit-honesty checklist

Legal and contribution hygiene

  • I agree this work is licensable under Apache-2.0
  • No Autodesk proprietary source, decompiled internals, or NDA'd SDK content

Breaking changes

None.

Related issues

Refs #810 (closed by #1300).

… than the record box, and #810 leaves the contribution map (#810) (RE-318)
… cases and cites the run that shows it changes no export; the roadmap drops the closed #810 (#810) (RE-318)
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) November 3, 2026 23:07
@DrunkOnJava
DrunkOnJava merged commit 5a10606 into main Nov 3, 2026
28 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/810-symbol-width-bound branch November 3, 2026 23:14
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Automated Claude Code review (the maintainer's review agent; it read the diff): no blocking items. Fixed anyway in 320f311: the roadmap no longer lists #810, and RE-318 names the record-box bound among its fail-closed cases and cites Measure 41735990813, where all seven exports measured are byte-identical with it.

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