Repository navigation
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
Conversation
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. |
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
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);SymbolWireWidthis 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_FIELDis inpartition_schema_mvp, notnative_symbol_cuts.reports/element-framing/RE-318-symbol-wire-width.md§7 andchangelog.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
mainon 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
Breaking changes
None.
Related issues
Refs #810 (closed by #1300).