no dxf import

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!
Post Reply
ipeco85
Posts: 4
Joined: Tue Dec 31, 2019 9:18 am

no dxf import

Post by ipeco85 »

Hello,
unfortunately I have no success with import from dxf drawings.
Search with the phrase "dxf import" leads to a failure messages, so I try to open a new topic.
My freeCad version is 0.18.4 and the dxf macros are installed.
I tried several dxf formats from FastCad2D and libreCad, but not even a simple rectangle pops up in the draft area. I read the suggestions in the help section, but I see no differences to my installation. User language is german.What's wrong?
Please help!

Many thanks in advance for your ideas!
Peter
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: no dxf import

Post by PrzemoF »

Welcome to the forum! Please provide info as explained in the Help section
User avatar
Willem
Veteran
Posts: 1854
Joined: Fri Aug 12, 2016 3:27 pm
Location: Lisse, The Netherlands

Re: no dxf import

Post by Willem »

Welcome to the forum.
Question: Did you create a new document before you tried to import a DXF file
ipeco85
Posts: 4
Joined: Tue Dec 31, 2019 9:18 am

Re: no dxf import

Post by ipeco85 »

Thank you for your answers.
For your information I apply the report file:

13:24:36 Init: Initializing C:\Users\PC\Documents\Programmarchiv\CAD&Grafik\Freecad\FreeCAD_0.19.23740_Win-LPv12.1.6_vc14.x-x86-64\Mod\Web... done
13:24:36 Init: Loading FreeCAD GUI
13:24:36 Init: Running FreeCADGuiInit.py start script... done
13:24:38 Init: Activating default workbench StartWorkbench
13:24:38 Module: Part
13:24:38 Loading Part module... done
13:24:38 Loading GUI of Part module... done
13:24:38 Loading Sketcher module... done
13:24:38 Loading GUI of Sketcher module... done
13:24:38 Init: Showing main window
13:24:38 Main window restored
13:24:38 Show main window
13:24:38 Toolbars restored
13:24:38 3Dconnexion device not attached.
13:24:38 Init: Entering event loop
13:24:39 Init: Processing command line files
13:24:51 Loading Draft workbench, done.
13:24:51 Draft workbench activated.
13:25:07 Loading Mesh module... done
13:25:13 Loading Import module... done

None of my DXF files can be imported but the Freecad drawing sheets (A4, A3 ...) will be correctly loaded.

For your information I add a simple dxf, that doesn't work.

Many thanks for your information

Best regards
Peter
Attachments
Rechteck.DXF
sample dxf
(40.82 KiB) Downloaded 16 times
User avatar
Willem
Veteran
Posts: 1854
Joined: Fri Aug 12, 2016 3:27 pm
Location: Lisse, The Netherlands

Re: no dxf import

Post by Willem »

In my system the DXF loads good. Try update to Freecad 0.19. Hope that will work

My system:
OS: Ubuntu 18.04.5 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: f30cbf6bd9a0659dad2c80e6e7e97e9cefdb153a
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Dutch/Netherlands (nl_NL)
User avatar
thomas-neemann
Veteran
Posts: 11958
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: no dxf import

Post by thomas-neemann »

ipeco85 wrote: Sun Jan 24, 2021 12:30 pm
hallp peter

you can try it like this :

phpBB [video]
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
ipeco85
Posts: 4
Joined: Tue Dec 31, 2019 9:18 am

Re: no dxf import

Post by ipeco85 »

Hello, thank you for your ideas,
I tried V 0.19 also - no difference.
I'll remove freecad completely and start with a new installation.
I'll report failure and - hopefully - success. I also own an older notebook with Linux installed and try there - but this would be no real solution, if it works there.
Best
Peter
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: no dxf import

Post by chrisb »

Reinstall usually doesn't help. You can try to reset the configuration with the button in the preferences. Another possibility is to delete your config files or to move them in case you want to restore them.

These are my dxf import settings. If they don't work, include at least your full OS: macOS 10.15
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23578 (Git)
Build type: Release
Branch: master
Hash: 50c3cbf00579dc4941ca743c25720d016b0453ce
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
CAD infos.
Bildschirmfoto 2021-01-24 um 16.42.49.png
Bildschirmfoto 2021-01-24 um 16.42.49.png (167.56 KiB) Viewed 394 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
ipeco85
Posts: 4
Joined: Tue Dec 31, 2019 9:18 am

Re: no dxf import

Post by ipeco85 »

Thank you :-)
Problem solved.
I re-installed Freecad and deleted the old config files. Then I noticed, that there were no entries in the macro folder. With the new installation I got the new preferences mask, probably an older mask from a previous version survived, checked the python legacy and dxf install boxes - thanks to chrisb - and now -BINGO!

Thanks again and have a nice sunday evening
Peter
Post Reply