Matt Considine
Is looking into improving FC OpenSCAD import of DXF file by using the ezdxf python library https://ezdxf.readthedocs.io/en/stable/
There is a branch considine in the Alternate OpenSCAD Importer https://github.com/KeithSloan/OpenSCAD_Alt_Import
See also https://github.com/KeithSloan/OpenSCAD_ ... /issues/10
Matt would appreciate input from others and contribution of test files etc, if anybody is interested in helping.
Long term aim would be a wider adoption of ezdxf python library within FreeCAD.
Improvements to DXF importer.
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
-
- Veteran
- Posts: 2756
- Joined: Mon Feb 27, 2012 5:31 pm
Improvements to DXF importer.
Last edited by keithsloan52 on Sun Apr 02, 2023 7:26 am, edited 1 time in total.
Re: Improvements to DXF importer.
DXF related issues on GitHub:
https://github.com/FreeCAD/FreeCAD/pull/6924
https://github.com/FreeCAD/FreeCAD/issues/8704
https://github.com/FreeCAD/FreeCAD/pull/6924
https://github.com/FreeCAD/FreeCAD/issues/8704
-
- Posts: 125
- Joined: Wed Jan 18, 2023 10:41 pm
- Location: Randolph, VT USA
Re: Improvements to DXF importer.
Thanks for those links.
Fwiw, I'm making progress. I can import into FC a DXF that OpenSCAD can't handle. And I'm using the DXFs that are examples in the "tests" area of its source as hurdle cases. If there's a 2D DXF that someone has wanted to pull into FreeCAD or OpenSCAD but which has created problems - and can point me to it - that would be helpful.
mconsidine
Fwiw, I'm making progress. I can import into FC a DXF that OpenSCAD can't handle. And I'm using the DXFs that are examples in the "tests" area of its source as hurdle cases. If there's a 2D DXF that someone has wanted to pull into FreeCAD or OpenSCAD but which has created problems - and can point me to it - that would be helpful.
mconsidine
-
- Veteran
- Posts: 2756
- Joined: Mon Feb 27, 2012 5:31 pm
Re: Improvements to DXF importer.
Matt's improved use of EZdxf library for OpenSCAD dxf importer is now merged into https://github.com/KeithSloan/OpenSCAD_Alt_Import
-
- Veteran
- Posts: 2756
- Joined: Mon Feb 27, 2012 5:31 pm
Re: Improvements to DXF importer.
@mconsidine - Matt Please can you look at issues 12 and 14 on my repro, thanksmconsidine wrote: ↑Wed Apr 05, 2023 11:24 pm Thanks for those links.
Fwiw, I'm making progress. I can import into FC a DXF that OpenSCAD can't handle. And I'm using the DXFs that are examples in the "tests" area of its source as hurdle cases. If there's a 2D DXF that someone has wanted to pull into FreeCAD or OpenSCAD but which has created problems - and can point me to it - that would be helpful.
mconsidine