Inkscape Community

Help Using Inkscape => Using Inkscape with Other Apps => Topic started by: KeenanArcLight on July 20, 2018, 12:28:13 PM

Title: Bringing DXFs into Inkscape from program "Scanything"
Post by: KeenanArcLight on July 20, 2018, 12:28:13 PM
New to forum so do hope this is being posted in the correct location. Very experienced with Inkscape.

I have a CNC Plasma Cutting system that also has a "Auto Tracer" tool that allows me to trace hand drawn images or unique parts i traced to re-cut.
The issue I have is that this program "Scanything" (program that performs the auto tracing) exports into a DXF format that can not be opened into Inkscape. I have worked with the creator of Scanything to diagnose this issue and he has made his attempts but we have come up with nothing.

What I normally have to do is; Trace drawing using Scanything, open DXF with the program "QCAD" and resave the dxf as a dxf again (just replacing the old one), then I can import into Inkscape and edit my nodes and so on.

I am trying to cut out the QCAD program. what i am trying to diagnose is whether this is an Inkscape issue or a Scanything issue.

I am on a Linux computer with Ubuntu operation system.

I will attach:
- A dxf that i get straight from scanything that
- A screenshot of the error i get in Inkscape
- a dxf that i resave in QCAD that comes into inkscape correctly

Any information or help is much appreciated!

-Keenan


 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]
Title: Re: Bringing DXFs into Inkscape from program "Scanything"
Post by: brynn on July 20, 2018, 01:34:09 PM
Welcome to the forum!

This may well be a problem for which we need developer input.  And unfortunately, devs rarely participate in forums.  We have some members who have developer-like knowledge, up to a point.  So we can try to sort it out here.  But in the end, you may need to communicate directly with devs.  You can do that via the User or Development mailing lists, User or Development IRC, or by filing a bug report in the bug tracker.  IRC and mailing list info here:  https://inkscape.org/en/community/  Bug tracker:  https://launchpad.net/inkscape 

If you decide to go straight for the bug tracker, be sure to search first, before posting the bug, in case it's already been reported.

When I try to open the DXF file in Inkscape, I also get a Traceback error.  But mine has a little more info:

Traceback (most recent call last):
  File "dxf_input.py", line 530, in <module>
    inkex.errormsg(_('%d ENTITIES of type POLYLINE encountered and ignored. Please try to convert to Release 13 format using QCad.') % polylines)
NameError: name '_' is not defined

Beyond that, I can't help.  I can't even decipher what the error means.  But others will be along before too long  :)
Title: Re: Bringing DXFs into Inkscape from program "Scanything"
Post by: KeenanArcLight on July 20, 2018, 02:46:20 PM
Thank you for the reply! I will wait steadily and approach devs if needed

Welcome to the forum!

This may well be a problem for which we need developer input.  And unfortunately, devs rarely participate in forums.  We have some members who have developer-like knowledge, up to a point.  So we can try to sort it out here.  But in the end, you may need to communicate directly with devs.  You can do that via the User or Development mailing lists, User or Development IRC, or by filing a bug report in the bug tracker.  IRC and mailing list info here:  https://inkscape.org/en/community/  Bug tracker:  https://launchpad.net/inkscape 

If you decide to go straight for the bug tracker, be sure to search first, before posting the bug, in case it's already been reported.

When I try to open the DXF file in Inkscape, I also get a Traceback error.  But mine has a little more info:

Traceback (most recent call last):
  File "dxf_input.py", line 530, in <module>
    inkex.errormsg(_('%d ENTITIES of type POLYLINE encountered and ignored. Please try to convert to Release 13 format using QCad.') % polylines)
NameError: name '_' is not defined

Beyond that, I can't help.  I can't even decipher what the error means.  But others will be along before too long  :)
Title: Re: Bringing DXFs into Inkscape from program "Scanything"
Post by: Moini on July 20, 2018, 05:55:15 PM
There are different versions of the DXF file format. The import functionality only supports the release 13 format (and higher, I think). If Scanything does not export to the supported version, then converting the format is the best thing you can do. You can also use LibreCAD, if you prefer that. It's export dialog lists the different dxf file formats.