FC 0.17> DXF/DWG imports nothing, blank data

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
Hale
Posts: 12
Joined: Mon Jul 09, 2018 6:36 am

FC 0.17> DXF/DWG imports nothing, blank data

Post by Hale »

Can't use ver. 0.17 for inter-project data manipulation.

It fails importing both, DXF, and DWG drafts.
Of course I installed ODA converter for DWG support, and included the path to binary into FC config.

So FC makes a face like there was no error. The file name is in the object tree. But the data is blank - no lines, no frames, no blocks... just nothing is imported.

The headers of DXF we get from SolidWorks contain:

Code: Select all

  0
SECTION
  2
HEADER
  9
$ACADVER
  1
AC1015
  9
$ACADMAINTVER
 70
     6
  9
$DWGCODEPAGE
  3
DOS932
  9
Though, DWG does not work either.
User avatar
Roy_043
Veteran
Posts: 8550
Joined: Thu Dec 27, 2018 12:28 pm

Re: FC 0.17> DXF/DWG imports nothing, blank data

Post by Roy_043 »

AFAIK only 2D DXF/DWG elements can be imported.
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: FC 0.17> DXF/DWG imports nothing, blank data

Post by openBrain »

Did you try both legacy & new DXF importers ?
User avatar
pl7i92LCNC
Posts: 208
Joined: Tue Mar 12, 2019 3:03 pm
Location: RLP DE

Re: FC 0.17> DXF/DWG imports nothing, blank data

Post by pl7i92LCNC »

best is to save or order the dxf in a older version Acad 12 or even lower then 29
freecad-heini-1
Veteran
Posts: 7790
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: FC 0.17> DXF/DWG imports nothing, blank data

Post by freecad-heini-1 »

I prefer to use ODA Drawings Explorer to view and convert DWG files. It's very fast and provide different fileformat to convert.
https://www.opendesign.com/guestfiles/o ... s_explorer
It's available for Linux, Mac and one other operating system.
Hale
Posts: 12
Joined: Mon Jul 09, 2018 6:36 am

Re: FC 0.17> DXF/DWG imports nothing, blank data

Post by Hale »

Roy_043, yes, I am importing 2D drafts.

openBrain, I do not know what is legacy, but "script" dxf importer produces some results, resembling the data to be imported. However, the quality is below acceptable (worse when InkScape do)

pl7i92LCNC, I am not sure whether it is possible. Then, curves should remain curves, and in older versions they can become chords, if I am not mistaken... anyway, AutoCAD 2000 looks quite old.

freecad-heini-1, I am not sure about ODA Explorer, but ODA converter fails to import these DWG. It is possible that the code has the same origins, and fails the same way.
User avatar
Roy_043
Veteran
Posts: 8550
Joined: Thu Dec 27, 2018 12:28 pm

Re: FC 0.17> DXF/DWG imports nothing, blank data

Post by Roy_043 »

Can you post a DXF?
Hale
Posts: 12
Joined: Mon Jul 09, 2018 6:36 am

Re: FC 0.17> DXF/DWG imports nothing, blank data

Post by Hale »

Roy_043 wrote: Wed Mar 20, 2019 5:30 pm Can you post a DXF?
No by security reasons. But most of them are 2D drawings exported from SolidWorks. Readable in AutoCAD trial, and ME10.
User avatar
Roy_043
Veteran
Posts: 8550
Joined: Thu Dec 27, 2018 12:28 pm

Re: FC 0.17> DXF/DWG imports nothing, blank data

Post by Roy_043 »

If you have access to an AC trial you can test if saving to a lower version improves the quality of the FC import.
But without an actual DXF it is impossible to diagnose the problem. Why not create a DXF from a 'dummy' SolidWorks file?
Post Reply