issue #0003031: Draft To Sketch should handle bsplines and beziers
Opening an exclusive legit discussion thread to generate discussion about this Feature. The inspiration for the ticket and idea started in https://forum.freecadweb.org/viewtopic. ... 21#p174038
[Solved] Feature #0003031: Draft To Sketch should handle bsplines and beziers
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
[Solved] Feature #0003031: Draft To Sketch should handle bsplines and beziers
Last edited by Kunda1 on Sun Nov 05, 2017 12:41 pm, edited 1 time in total.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Feature #0003031: Draft To Sketch should handle bsplines and beziers
The only discussion there can be is, who will step up and implement it?
Draft workbench has BSplines and Bézier curves.
Sketch now has B-spline support.
Draft has a Draft2Sketch conversion utility that is only partially working since it strips B-splines and Bézier from the conversion process. This is a legitimate feature request and one that could have indirect uses, like DXF support when exporting sketches containing B-splines...

Draft workbench has BSplines and Bézier curves.
Sketch now has B-spline support.
Draft has a Draft2Sketch conversion utility that is only partially working since it strips B-splines and Bézier from the conversion process. This is a legitimate feature request and one that could have indirect uses, like DXF support when exporting sketches containing B-splines...
Re: Feature #0003031: Draft To Sketch should handle bsplines and beziers
Yes draft2sketch should definitely handle it. TBH I was (lazily as always) waiting for things to stabilize in Sketch bsplines , since Abdullah seemed still working on it, but it seems that the python interface won't change anymore.
I'll do this when I have a moment. But bezier curves won't be handled. Or there is a way to convert them to bsplines?
I'll do this when I have a moment. But bezier curves won't be handled. Or there is a way to convert them to bsplines?
Re: Feature #0003031: Draft To Sketch should handle bsplines and beziers
At the geometry level, you have :
Code: Select all
bspline = bezier.toBSpline(bezier.FirstParameter, bezier.LastParameter)
Re: Feature #0003031: Draft To Sketch should handle bsplines and beziers
That is good news, since it improves the compatibility between FreeCAD and inkscape, which I like for it's image tracing capabilities and its usability of bezier curves. The user interface of the Sketcher's bsplines is very promising as well.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Feature #0003031: Draft To Sketch should handle bsplines and beziers
Works lik a charm.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: [Solved] Feature #0003031: Draft To Sketch should handle bsplines and beziers
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs