Repository navigation
Conversation
# Conflicts: # PYTHON_BINDING_IMPLEMENTATION_PLAN.md
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.
This draft now depends on #460; its diff includes the parent until that PR merges.
Spline display currently ignores the knot vector: with quadratic controls (0,0), (1,2), (3,2), (4,0) and knots 0,0,0,0.25,1,1,1, the segment seam renders at x=2 instead of x=1.5. Use source knots for valid ordinary splines, including non-clamped and periodic profiles, and render degree-one splines as exact linear segments. Handle the degenerate line/conic intersection equations for those segments. Builder-created splines now initialize their bounds, shared area merging retains Z extents, and removing a weighted control also removes its corresponding weight. Invalid removals throw before changing state; callers still update knots.
For positive-weight rational splines and ordinary splines above degree 3, up to degree 64 with usable source knots, convert to homogeneous Bézier pieces and adaptively subdivide to line segments. The subdivision compares the projected control hull to each chord against 1e-4 of the input control-point extent, with finite-value, depth and 8192-segment limits. Unsupported, invalid or unrepresentable high-degree profiles produce no display segments and report an import warning; lower-degree fallback is unchanged. Shared internal segment joins are included once in line intersections; the existing import warning remains because geometry operations are approximate and not all profiles are supported.
Validation on macOS ARM64, headless:
Native GUI behavior, additional high-degree, periodic and non-clamped profiles and broader 3D/intersection semantics remain to be qualified. The approximation is bounded only for the admitted profile, not an exact NURBS representation.
Windows CI follow-up: close the source and destination test streams before rewriting or retrying. Both affected spline tests pass locally and in the Windows BuildWindows job; BuildWindowsPersistence also passed. Wider native platform qualification remains open.