Sketcher: Bezier curves
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Sketcher: Bezier curves
I can test for the mentioned crash but i likely won't be able to do that before the weekend.
Re: Sketcher: Bezier curves
See below the result I got if I try point on curve constraint.
Re: Sketcher: Bezier curves
It means that the code has not been written yet.jean.thil wrote:See below the result I got if I try point on curve constraint.
cannot_constrain.png
Re: Sketcher: Bezier curves
Just did a quick test of the newly merged stuff and wanted to say that it's freaking awesome.
The curvature comb updating dynamically has an hypnotic quality. You just don't want to stop moving the control points.
I can't thank you enough for the work you're doing Abdullah!
The curvature comb updating dynamically has an hypnotic quality. You just don't want to stop moving the control points.
I can't thank you enough for the work you're doing Abdullah!
Re: Sketcher: Bezier curves
You can put an edge on a bpsline point. That is supported.jmaustpc wrote: jean.thil wrote:
See below the result I got if I try point on curve constraint.
cannot_constrain.png
It means that the code has not been written yet.
You can not put a point on a bspline edge. That is currently unsupported. It is Stage2 functionality. We are at stage1b_third_deliverable now.
The stages basically mean:
1) Stage 1b: Get the maximum functionality from the current solver infraestructure.
2) Stage 2: Change solver architecture to support full bspline solving => point on object, tangency on edge (on endpoints already works), perpendicular to edge, knots...
Re: Sketcher: Bezier curves
Yes exactly. I was after real geometry to be optionally propagated in the 3D View. OK not in the foreseeable future and not from the Sketcher.abdullah wrote:However, for that, I do think it is not a sketcher visualization layer anymore. It must be something more general to work inter-workbenches. For that it should probably be real geometry and not just some lines pushed directly to coin3d.
I had to ask as i have been asking myself this question every once in a while. Thanks for the answer. No Arc length constraint in Sketcher in foreseeable future!It requires a very big investment for a teeny tiny benefit (IMO).
As for the crash i had 15 minutes of spare time and did a quick test. I downloaded the file:
https://forum.freecadweb.org/viewtopic. ... 80#p161270
And if i open Sketch001 and use external geometry tool on spline from Sketch i don't get a crash. If that isn't what i should test more detailed description should be provided @jean.thil.
P.S. I did notice curvature comb expanding indefinitely on the result. As i guess there is no curvature (a line). I was wondering if in such scenario it make sense to show it? That is if you can somehow easily detect such scenario.
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: Sketcher: Bezier curves
So we need a scalable whale icon instead of a circle to describe the weightstriplus wrote:Alternative approach to splines:
http://www.core77.com/posts/55368/When- ... al-Objects
and an octopus for the knots
Re: Sketcher: Bezier curves
NormandC wrote:Just did a quick test of the newly merged stuff and wanted to say that it's freaking awesome.
The curvature comb updating dynamically has an hypnotic quality. You just don't want to stop moving the control points.
I can't thank you enough for the work you're doing Abdullah!
Re: Sketcher: Bezier curves
You make a real point here. I will give a look to the code...triplus wrote: P.S. I did notice curvature comb expanding indefinitely on the result. As i guess there is no curvature (a line). I was wondering if in such scenario it make sense to show it? That is if you can somehow easily detect such scenario.