Gift wrote: ↑Tue Jun 28, 2022 7:38 pm
That is your postulate. Internally there is no Part.Wire. That is a function, which create edges. Inspect the result of the script.
Also please open a new thread in the General help forum with request to test the next weekly build with real-life DXFs. Usually there will be here and there some issues that will be uncovered by intensive tests.
@Gift What is the status of this functionality ? It was merged with this PR: https://github.com/FreeCAD/FreeCAD/pull/7101
but is it fully merged or does it require some additional PRs ? Can it be added to the release notes already ?
NewJoker wrote: ↑Thu Sep 22, 2022 1:46 pm
@Gift What is the status of this functionality ? It was merged with this PR: https://github.com/FreeCAD/FreeCAD/pull/7101
but is it fully merged or does it require some additional PRs ? Can it be added to the release notes already ?
Up to this point, it is a pure code cleaning. Duplicate files were removed and restructured. A vision should be formulated for further steps. The interest for the support of a ready python library was/is quite high.
But this would only comply a part of the task. A solution would be to make a part of the work even more abstract. A kind of general interface. However. More PRs are needed for this.
Hello, IMHO @Gift solution could be the stock way of managing DXF, at least to eliminate the gap between "python importer" and "C++ importer".
And the library solution could be left for "complicated cases" and as an optional solution.
If obviously @Gift is taking care of the code.
I see the advantage of the external library, but even an out of the box importer and exporter for DXF file, that could manage "not too exotic" cases and with some speed gain it is not a bad thing.
But this from a user point of view.
Postponing solutions or like in this case some improvement to a uncertain future were "someone" will take care of rewriting things is not a good path for evolution.
If @Gift is able and want to take care of this thing I see no problem, if someone will integrate a dxf import library in FreeCAD, perfect we will have more choice.
But actually if there will be no distinction from "old importer" and "new importer" and we could get rid of a Wiki page to maintain that explain things, countless bug reports about dxf imported wrongly and so on.
Why not?
Regards
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.