GlouGlou wrote: ↑Wed Jul 28, 2021 8:09 pm
maybe all poles could be move into the new freeahand when creating.
To me that seems a bit Kludge.
The curve comes from a file called BezierCurve.3dm which is a sample file supplied with Rhino.
It clearly is a Bezier Spline although the rhino3dm importer calls it a PolyCurve (but the rhino3dm importer is a bit like that.
For example when one imports a Cone it actually creates a surface for the curved section and one or two flat areas for the ends.)
If I use the Curves Workbench 'Display Info ...' Icon then it shows the control points. I think the underlying OCC Shape is a Bezier Spline.
So Curves Workbench knows what it is and should be able to use it without copying
The problem with copying rather than just handling is one then has to delete the former.
Consider for example a user wishes to import a 2D design with Bezier's from Rhino, make some minor changes and then use the shape
with the Path workbench, it is messy to have to copy and delete the original.
Also consider that it is not only FreeCAD that is built on top of Open Cascade, if one wants to transfer info/designs between such software then such software can use the OCC facility to save as a BREP. Transfer such a file which contains a OCC Bezier Spline and you have to then convert it to your workbenches equivalent. If one implements facilities without taking the underling software into consideration then your build islands.
I personally found it frustrating that there were a number workbench tackling curves and curved surfaces that ended up as islands where as if they had built on the curves and curved surfaces of the underlying layers things would have been so much better.