Repository navigation
fix(ifc): a curtain mullion turned off the model's axes is measured along its own axes down to an axes determinant of 0.05 (#1193) - #1972
Merged
Conversation
…long its own axes down to an axes determinant of 0.05, which gives the office's 12 short mullions their Length (#1193)
…, 6 and 8 mullions, and the determinants of those left (#1193)
DrunkOnJava
marked this pull request as ready for review
November 14, 2026 03:33
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
ORIENTED_BOX_MIN_DETgoes from 0.1 to 0.05. On the BIM4LCA office that gives 6 short curtain mullions of each concrete file and 8 of each timber file, which had noLengthon #1193's mullion-Span row, theirSpanandQto_MemberBaseQuantities.Lengthfrom the box along their own axes. Revit'sLengthfor them is 0.100848 m (0.3309 ft). The other 6 on each concrete file and 4 on each timber file stay on #1193.Motivation
#1760's probe printed the recorded own axes of the concrete office's 18 mullions without a set (Measure 43545512638). Six are turned 45° about the vertical and get their
Lengthfrom RE-226's rule since #1782. The other 12 have their own X vertical and their own Z horizontal, turned some 45° off the model's axes, so neither model-axis rule applies, andoriented_boxrefused all 12 at the 0.1 cutoff. Their |det| (of the absolute axes) are 0.015, 0.028, 0.039, 0.053, 0.082 and 0.096, two mullions each. The cutoff at 0.05 solves the 6 at 0.053 to 0.096. 3024608 (0.082) gives 0.3306 ft by hand from its record (0.354516 × 0.344793 × 0.164042 ft), 0.0003 ft from Revit's. The 6 at 0.015 to 0.039 solve to the same half-extents (0.082, 0.082, 0.165 ft) but are left: nothing here checks a solve that close to singular. No second condition separates them, since all 12 give positive half-extents. The timber files have no probe output; their 8 and 4 are Measure's counts.Changes
src/ifc/export_content.rs:ORIENTED_BOX_MIN_DET0.05, with the determinants in its doc.Testing
Measure 43546686921, unfiltered against
mainwith nordic, r2025, samples and holdout. Registered before it runs:Qto_MemberBaseQuantities.LengthandPset_MemberCommon.Spanequal rise by up to 12 each, and "different" does not rise.mesh_bodies_vs_ifcandoriented_boxes_vs_ifcmust not get worse on any model, and anyNetVolumeorNetSurfaceAreathat newly appears must read equal.If anything reads different, the cutoff goes back to 0.1 and the 12 stay on #1193.
Result
Measure 43546686921 on head 12a3a5d against main 0ce6c5d: 116 of 120 exports equal, and the 4 that move are the four office files. Only
qtos_vs_ifcandpsets_vs_ifcchange. Diagnostics differ byparameter_value_countalone (+6, +8).LengthmissingNetSurfaceAreamissingRow 1 holds (up to 12, different does not rise); rows 2 and 3 hold (no other scorer file changes; held-out unchanged). The later commits change only the doc comment and the fragment.
tools/check-local.sh: no local builds;rustfmt --checkpasses; CI runs the rest.Audit-honesty checklist
Part of #1193.