Repository navigation
fix(ifc): a curved wall's chords stay within 0.0005 ft of its arc whatever its radius (#1947) - #1949
Merged
Merged
Conversation
…of its arc: the cap is 8,192 chords, and an arc that needs more is not drawn as one (#1947)
Owner
Author
|
Measure run 43517631246 on |
DrunkOnJava
marked this pull request as ready for review
November 13, 2026 23:37
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
wall_arc_outlinecapped each arc at 512 chords, so on a large radius the chords strayed further inside the arc thanWALL_ARC_TOLERANCE_FEET(0.0005 ft), which its doc and RE-75 promise: 0.0047 ft at a 1,000 ft radius over a half turn. The cap is now 8,192 chords (WALL_ARC_MAX_CHORDS), which holds the tolerance to a radius of about 27,000 ft. An arc that needs more is not drawn as an arc (None, as for a degenerate arc), and the wall keeps the body it would otherwise have;BodySourcefollows the outline, so it is not labelledpartition_wall_arc.Testing
The unfiltered Measure with the samples is in this PR's comments. It shows whether any measured curved wall needed more than 512 chords, and so moves.
Refs #1947.
Audit-honesty checklist
changelog.d/fixed/