Problem opening DXF file from EAGLE

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
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!
Studi
Posts: 6
Joined: Tue Dec 08, 2020 12:22 pm

Problem opening DXF file from EAGLE

Post by Studi »

Dear FreeCAD users,

I export dxf files from EAGLE via the CAM processor. I open the dxf in QCAD and export it to dxf R13, because this is the only format, which works for me with FreeCAD. Then I extrude the file in FreeCAD and print it to a PCB using my MSLA printer.
This workflow worked for me so far... But now I created a new layout and FreeCAD just does nothing, when i try to open the dxf R13. It doesn`t hang, or throws an error message. With an older layout everything just works fine. Has somebody an idea why this file doesn`t work? I`ll attach the dxf R13.
I use the version 0.18 Rev. 4.
Thanks in advance.

PS: Sorry for my bad english.
Attachments
Layout_R13.zip
Had to zip it, because of size.
(88.28 KiB) Downloaded 52 times
wmayer
Founder
Posts: 20074
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Problem opening DXF file from EAGLE

Post by wmayer »

Tested with
OS: Ubuntu 18.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16158 (Git)
Build type: Unknown
Branch: releases/FreeCAD-0-18
Hash: 783e1346c7a078f5265c3f0c6a927d09a8c1fe70
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)

and
OS: Ubuntu 18.04.5 LTS (XFCE/xubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23252 (Git)
Build type: Debug
Branch: master
Hash: 983e513704a659c1008fbaf95da6a34975cc37ac
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)

and for both of them it works well.

When you open the file then a dialog comes up where you can switch between 3D (importIL) and 2D (importDXF). I used the latter and after a couple of seconds the file is opened.
Attachments
Layout.FCStd
(443.01 KiB) Downloaded 44 times
Studi
Posts: 6
Joined: Tue Dec 08, 2020 12:22 pm

Re: Problem opening DXF file from EAGLE

Post by Studi »

Thank you very mutch for the fast reply and the CAD file.
I`m using Windows 10 so maybe there is the problem.
In my case no dialog opens. May I ask you to post a screenshot of this dialog? Or do you mean the import settings for dxf files?
jmaustpc
Veteran
Posts: 11211
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Problem opening DXF file from EAGLE

Post by jmaustpc »

*
Studi wrote: Tue Dec 08, 2020 1:17 pm Thank you very mutch for the fast reply and the CAD file.
I`m using Windows 10 so maybe there is the problem.
In my case no dialog opens. May I ask you to post a screenshot of this dialog? Or do you mean the import settings for dxf files?
Did you try both dxf importers? There is a tick box "use legacy Python DXF importer", you may also have to tick "allow automatic download of Python importer code".

Also there are over 6 thousand bug fix and new feature updates in FreeCAD 0.19 dev currently, so it's worth updating.
wmayer
Founder
Posts: 20074
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Problem opening DXF file from EAGLE

Post by wmayer »

Studi wrote: Tue Dec 08, 2020 1:17 pm Thank you very mutch for the fast reply and the CAD file.
I`m using Windows 10 so maybe there is the problem.
In my case no dialog opens. May I ask you to post a screenshot of this dialog? Or do you mean the import settings for dxf files?
Here is a screenshot
Dialog.png
Dialog.png (16.39 KiB) Viewed 1675 times
I don't think it's OS-related but depending on user settings.
Settings.png
Settings.png (151.47 KiB) Viewed 1675 times
Studi
Posts: 6
Joined: Tue Dec 08, 2020 12:22 pm

Re: Problem opening DXF file from EAGLE

Post by Studi »

Yes I`ve tried both. And I`ve checked the auto update function.
Thanks for the hint. I now download 0.19 and try it again.

@wmayer
Thank you for the screenshots. I`ll try your settings. The first window ("Modul auswählen") doesn`t appear on my machine...
User avatar
Roy_043
Veteran
Posts: 7683
Joined: Thu Dec 27, 2018 12:28 pm

Re: Problem opening DXF file from EAGLE

Post by Roy_043 »

Studi wrote: Tue Dec 08, 2020 1:34 pm The first window ("Modul auswählen") doesn`t appear on my machine...
This comes from an add-on I think. I cannot find 'importIL' anywhere in the FreeCAD source code.
wmayer
Founder
Posts: 20074
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Problem opening DXF file from EAGLE

Post by wmayer »

Yes, importIL is part of the InventorLoader add-on. Insofar it's correct behaviour that you don't get this module selection dialog.
Studi
Posts: 6
Joined: Tue Dec 08, 2020 12:22 pm

Re: Problem opening DXF file from EAGLE

Post by Studi »

First of all a happy new year to everyone :)
After trying a lot of things, for example downloading version 0.19, i think I´ve found the problem why my FreeCAD doesn`t want to open the dxf.
The overall filepath + filename shouldn`t exceed a certain length. Otherwise the file doesn`t open like in my case. If I download my attached dxf file windows stores it in the download folder and everything works just fine. But if I move it into my workingfolder it again doesn`t work.
So if somebody has the same problem try to move it for example in the documents folder and rename the file to a short filename.

Thank you all for your help :)
kisolre
Veteran
Posts: 4117
Joined: Wed Nov 21, 2018 1:13 pm

Re: Problem opening DXF file from EAGLE

Post by kisolre »

Do you have some non ASCII characters in that long path? German user name, ...? Can you try with long path not containing those?
Post Reply