PR #7484: [Sketcher] Constrain B-spline knots like any other point

Post here if you have re-based and finalised code to integrate into master, which was discussed, agreed to and tested in other forums. You can also submit your PR directly on github.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
jnxd
Posts: 951
Joined: Mon Mar 30, 2015 2:30 pm
Contact:

PR #7484: [Sketcher] Constrain B-spline knots like any other point

Post by jnxd »

Thread to discuss the PR in the title.

Before merging we want to ensure that knot points of a B-spline behave properly when a constraint is applied on them.

Tests may include, but are not limited to:
1. Using knots with a variety of multiplicities on B-splines of variety of degrees, weights, etc.
2. Dragging knots around (with and without any applied constraints).
3. Constraining the knot's position with (horizontal/vertical) distance, point-on-curve (for curves that are supported).
4. Any other constraint that can involve a point.

Some files for testing attached.
Attachments
vase-with-knot-constraints.FCStd
(10.73 KiB) Downloaded 85 times
blob-for-demo.FCStd
(5.85 KiB) Downloaded 85 times
My latest (or last) project: B-spline Construction Project.
Post Reply