Can't open dxf or dwg files

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
Jordi
Posts: 3
Joined: Tue Jun 12, 2018 1:56 pm

Can't open dxf or dwg files

Post by Jordi »

Hello,

I'm trying to open dxf and dwg files but Freecad stays thinking (tested for many hours) and finally I have to force the exit the software. I tried it with exporting the Draftsight drawings into many different dxf and dwg formats (R12 binary, ASCII....) but I receive always the same behaviour.
I also tried to install the dxf addon (Draft-dxf-importer) and installed the TeighFileConverter (tried with Freecad integration and convert first with standalone software).
Always have Freecad hanged..!!!
Somebody have a hint??
Thank you.

Webs consulted:
https://www.freecadweb.org/wiki/index.p ... DWG_Import
https://www.freecadweb.org/wiki/Draft_DXF

My PC:
Intel Core i5-6500 CPU @ 3.2GHz *4
8Gb RAM memory
Intel Graphics card
125Gb SSD
Linux Mint 18.3 64-bit
Cinnamon 3.6.6
Kernel 4.10.0-38-generic

Freecad 0.17 rev 13522 (GIT) installed throught APPIMAGE.
chrisb
Veteran
Posts: 54201
Joined: Tue Mar 17, 2015 9:14 am

Re: Can't open dxf or dwg files

Post by chrisb »

Jordi wrote: Tue Jun 12, 2018 2:32 pm Freecad 0.17 rev 13522 (GIT) installed throught APPIMAGE.
Hi Jordi, welcome to the FreeCAD forum.

Can you upload your dxf file, so others can have a look?

I moved this topic, it is a help request.
It is best to attach the FreeCAD info as described in IMPORTANT forum rules linked above.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 54201
Joined: Tue Mar 17, 2015 9:14 am

Re: Can't open dxf or dwg files

Post by chrisb »

(I deleted your double post)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Jordi
Posts: 3
Joined: Tue Jun 12, 2018 1:56 pm

Re: Can't open dxf or dwg files

Post by Jordi »

Hi,

Sorry for that, here's the link to the file:

https://drive.google.com/open?id=1x2gFy ... uzeDF6Vvti
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Can't open dxf or dwg files

Post by NormandC »

Jordi, the file requires authorization to access it. The page's title is Access denied.

Please try your link but without being logged in to Google services.
Jordi
Posts: 3
Joined: Tue Jun 12, 2018 1:56 pm

Re: Can't open dxf or dwg files

Post by Jordi »

User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Can't open dxf or dwg files

Post by NormandC »

Your DXF is quite massive at 2.1MB.

I left FreeCAD open even though it seemed to hang, went to do other things for about half an hour, and when I came back to my PC the file was finally opened.

I have a similar but older setup as you, Intel Core i5-3570K CPU @ 3.40GHz × 4.

In DXF Import-Export preferences, I have the legacy python importer enabled, and I set it to import geometry as simple objects, and unchecked "Join geometry". Note that you have to load the Draft workbench for the DXF tab to appear in the Import-Export preferences; and you need to quit FreeCAD and restart it for changes to take effect.

But what do you want to do with such massive 2D files in FreeCAD? If you want to work in 2D, you might be better off working with a dedicated 2D CAD program like LibreCAD.

OS: Ubuntu 18.04 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13522 (Git)
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 3bb5ff4e70c0c526f2d9dd69b1004155b2f527f2
Python version: 2.7.15rc1
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: French/Canada (fr_CA)
Post Reply