gotcha

Author Topic: Bringing DXFs into Inkscape from program "Scanything"  (Read 1532 times)

July 20, 2018, 12:28:13 PM
Read 1532 times

KeenanArcLight

  • Sr. Newbie

  • Offline
  • **

  • 5
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


*Tracer Test.dxf
(55.23 kB - downloaded 239 times)

InkScape Error.png
*InkScape Error.png
(138.58 kB . 1280x1024)
(viewed 695 times)

*Tracer Test saved from QCAD.dxf
(73.5 kB - downloaded 244 times)
  • 0.91
  • Linux Ubuntu

July 20, 2018, 01:34:09 PM
Reply #1

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
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  :)
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

July 20, 2018, 02:46:20 PM
Reply #2

KeenanArcLight

  • Sr. Newbie

  • Offline
  • **

  • 5
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  :)
  • 0.91
  • Linux Ubuntu

July 20, 2018, 05:55:15 PM
Reply #3

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
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.