B-Spline Constraints: Fully Funded! Thanks everybody!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: B-Spline Constraints: Looking for Crowdfunding
FUNDING UPDATE: 15 October 2022
Since the release of the fundraiser, I have received:
Github:
One time: $630
Monthly: $7
Liberapay:
Directly to me: $89 + €155 = ~$244
As part of FreeCAD Liberapay team: $74 + €114 + NZ$156 = ~$275
Additional:
Pledged: $40 + €250
Grant from FPA: $1000
All in all, this amounts to up to ~$2460/$3000 towards this project, taking 3 months of the monthly contributions.
Contributions had been relatively stagnant since the last update, but a good few came in once after the winding down plan and social media posts.
If you had been waiting for the project to complete before funding, I'd suggest now is a good time. I would like to make the last PR after the funding is complete, but even otherwise the merge can take its time depending on any bug discoveries and reviewers' free time.
I'd also like to ask interested people to share the updates on this project, especially in places where I can't do so myself, like non-English forums.
Since the release of the fundraiser, I have received:
Github:
One time: $630
Monthly: $7
Liberapay:
Directly to me: $89 + €155 = ~$244
As part of FreeCAD Liberapay team: $74 + €114 + NZ$156 = ~$275
Additional:
Pledged: $40 + €250
Grant from FPA: $1000
All in all, this amounts to up to ~$2460/$3000 towards this project, taking 3 months of the monthly contributions.
Contributions had been relatively stagnant since the last update, but a good few came in once after the winding down plan and social media posts.
If you had been waiting for the project to complete before funding, I'd suggest now is a good time. I would like to make the last PR after the funding is complete, but even otherwise the merge can take its time depending on any bug discoveries and reviewers' free time.
I'd also like to ask interested people to share the updates on this project, especially in places where I can't do so myself, like non-English forums.
My latest (or last) project: B-spline Construction Project.
Re: B-Spline Constraints: Almost Done! Help Reach Goal!
I asked for support in the German forum.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: B-Spline Constraints: Almost Done! Help Reach Goal!
Thanks!
My latest (or last) project: B-spline Construction Project.
Re: B-Spline Constraints: Almost Done! Help Reach Goal!
@jnxd , I had now time to test your work properly. What should I say? Amazing!
Once I wrote the https://wiki.freecadweb.org/B-Splines I created some test files to play around. Everything works fine wtih them.
I have only one question: When I move a knot, why does the weight of all control points change?: I expected that the weight is not changes at all since the movement of a point keeps the spline rational in my example even all weights are equal therefore a weight change has no effect either.
Here is my test file:
Once I wrote the https://wiki.freecadweb.org/B-Splines I created some test files to play around. Everything works fine wtih them.
I have only one question: When I move a knot, why does the weight of all control points change?: I expected that the weight is not changes at all since the movement of a point keeps the spline rational in my example even all weights are equal therefore a weight change has no effect either.
Here is my test file:
Re: B-Spline Constraints: Almost Done! Help Reach Goal!
The weights are not changing, just the physical representations, viz. radii of the circles. See the radius constraint on the first pole (with all the equalities). This was done before my time, probably so that the circles are visible however large or small the spline. Ideally this should change by the size of the screen. @abdullah probably will be in a better place to talk about it, as much as I hate to add another tag to his pile.uwestoehr wrote: ↑Sun Oct 16, 2022 12:35 am
I have only one question: When I move a knot, why does the weight of all control points change?:
FreeCAD_DefZlXUILu.gif
I expected that the weight is not changes at all since the movement of a point keeps the spline rational in my example even all weights are equal therefore a weight change has no effect either.
Here is my test file: Spline-test2.FCStd
You could try this: save the document with the changed knot, and open it in master. The weight circles should be the same new size. Then try dragging back the poles to their original place and see the circles get back to the old size. You will need to change 3 control points.
My latest (or last) project: B-spline Construction Project.
Re: B-Spline Constraints: Almost Done! Help Reach Goal!
Indeed. The physical size of the circle depends on the size of the B-Spline (try in master to move the endpoints of a B-Spline and you will see the circles change size to account for the size of the B-Spline). There needs to be a mapping between the adimensional weight magnitude and a length for representation. The current mapping is understood to provide a representation commensurate with the size of the B-Spline within the screen area.jnxd wrote: ↑Sun Oct 16, 2022 3:09 am The weights are not changing, just the physical representations, viz. radii of the circles. See the radius constraint on the first pole (with all the equalities). This was done before my time, probably so that the circles are visible however large or small the spline. Ideally this should change by the size of the screen. @abdullah probably will be in a better place to talk about it, as much as I hate to add another tag to his pile.
You could try this: save the document with the changed knot, and open it in master. The weight circles should be the same new size. Then try dragging back the poles to their original place and see the circles get back to the old size. You will need to change 3 control points.
Re: B-Spline Constraints: Almost Done! Help Reach Goal!
That is reasonable, but in my screenshot you see that the circles increase also when I just move within the outline of the spline. I thought the circles will only start to increase when the overall size (meaning the bounding box/outline box) is changed.
However, I understand that this is independent of @jnxd's work.
Re: B-Spline Constraints: Almost Done! Help Reach Goal!
By moving the outline in the way you are doing it, you are increasing the length of the B-Spline. See:uwestoehr wrote: ↑Sun Oct 16, 2022 2:48 pmThat is reasonable, but in my screenshot you see that the circles increase also when I just move within the outline of the spline. I thought the circles will only start to increase when the overall size (meaning the bounding box/outline box) is changed.
However, I understand that this is independent of @jnxd's work.
https://github.com/FreeCAD/FreeCAD/blob ... .cpp#L2553
Re: B-Spline Constraints: Almost Done! Help Reach Goal!
Thanks, I understand now. I will add a note to the Wiki.abdullah wrote: ↑Sun Oct 16, 2022 4:39 pm By moving the outline in the way you are doing it, you are increasing the length of the B-Spline. See:
https://github.com/FreeCAD/FreeCAD/blob ... .cpp#L2553
Re: B-Spline Constraints: Almost Done! Help Reach Goal!
I take advantage of your work on B SPline.
My question is when a BSpline is used as an external geometry. We only have end points to lean on and a line. The idea would be to position and snap a point on the line. This possibility is not currently supported, it seems to me. May be there is already a possibility but I don't know it.
My question is when a BSpline is used as an external geometry. We only have end points to lean on and a line. The idea would be to position and snap a point on the line. This possibility is not currently supported, it seems to me. May be there is already a possibility but I don't know it.