cannot load .dxf files

Bug #188237 reported by Alvin Penner
This bug report is a duplicate of:  Bug #170440: Autocad DXF format import/export. Edit Remove
2
Affects Status Importance Assigned to Milestone
Inkscape
Incomplete
Undecided
Unassigned

Bug Description

Running Windows XP, Inkscape 0.46pre1-1win32.7z, Feb 1, 2008.
Cannot load .dxf files.
file extensions-errors.log says : dxf2svg may come with Inkscape, but is also at http://dxf-svg-convert.sourceforge.net/
This link is broken.
The file dxf_input.inx has the entries :
        <extension>.dxf</extension>
        <mimetype>image/x-svgz</mimetype>
The extension looks reasonable, the mime type does not appear to be appropriate.

Revision history for this message
Tom Davidson (tjd-mit) wrote :

*The correct URL is http://sourceforge.net/projects/dxf-svg-convert/ , but there is very little activity there (just one apparently corrupt zip file labeled version 0.01)

* Here on linux, the main issue seems to be that dxf2svg doesn't get compiled or installed. If I go to ./src/extensions/dxf2svg/, I can compile it by running make dxf2svg, but it doesn't get installed , and it doesn't work on a sample .dxf file that I found lying around. (attached here)

Did DXF import ever work for you in previous versions of Inkscape? I.e. is this a regression? There are a couple of 'wishlist' requests for DXF/DWG import, so the files that you have found lying around may just be vestigial leftovers from a failed attempt to code this up...

Revision history for this message
Tom Davidson (tjd-mit) wrote :

(waiting to hear from user or IRC whether this is a regression or an RFE)

Changed in inkscape:
status: New → Incomplete
Revision history for this message
Alvin Penner (apenner) wrote :

no, actually, I've never been able to use this import, am trying to decide whether it would be worthwhile to write one, to complement the 'Desktop Cutting Plotter' output, dxf_outlines.py

Revision history for this message
Tom Davidson (tjd-mit) wrote :

Hi Alvin,

Despite the code lying around, Inkscape does not currently support dxf import. The fix is not going to be as simple as fixing the mime-type, since the converter doesn't seem to work. There is an open request for this feature at bug 170440, and it is currently listed in the project roadmap as being targeted for release 0.51. Please join in the discussion at that other bug.
Thanks!

Revision history for this message
Tom Davidson (tjd-mit) wrote :

Oops--I didn't see your answer before posting mine... Any work on a converter would be most welcome! The request for DXF import has been around since at least 2004, and has lots of interest from users... You might also search the archives of inkscape-devel to find out what happened to the previous attempt.

Revision history for this message
Alvin Penner (apenner) wrote :

okay, I will take a look at it. I would like to try to invert the output produced by the file dxf_outlines.py

If I have any success, then I will post it here or at bug 170440

I should warn you, I am a slow worker, so don't hold your breath...

Alvin Penner

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.