Save as DXF - error opening file with Autocad

Post about using Inkscape with cutters or plotters.
Enrico121
Posts: 3
Joined: Fri Mar 11, 2016 5:40 am

Save as DXF - error opening file with Autocad

Postby Enrico121 » Fri Mar 11, 2016 5:53 am

Hi,
It's my first post. I'm Enrico from Italy, knowing Inkscape from a small time.
I've tried to using Inskape 0.91 to convert a pdf to a dxf for using in Autocad.
The .dxf it's ok reopening with Inkscape but trying to open it with Autocad I give this error:
Bad handle FFFF: already in use
The following error was encountered while reading
in LWPOLYLINE starting at line 20008274:
Class separator for class AcDbEntity expected
Invalid or incomplete DXF input -- drawing discarded.

I have tried with Inkscape on Ubuntu 14.04 and on Windows 7, same error.
I have tried with different pdf, same error, only different line number...
Can anyone help?
Thanks a lot!

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Save as DXF - error opening file with Autocad

Postby Lazur » Fri Mar 11, 2016 6:15 am

Hi.

Would suggest unchecking the lwpolyline option at saving.

Check this topic for details.

Enrico121
Posts: 3
Joined: Fri Mar 11, 2016 5:40 am

Re: Save as DXF - error opening file with Autocad

Postby Enrico121 » Fri Mar 11, 2016 7:11 am

Hi,
thank you for reply.
I tryed to unchecking the lwpolyline option at saving, but the result was the same.
So I have read this posthttps://bugs.launchpad.net/inkscape/+bug/1429184 and
downloaded dxf_outlines.py and dxf_outllines.inx from:
http://bazaar.launchpad.net/~inkscape.d ... xtensions/.
but now I have another error in Inkscape
when saving as .dxf:
Traceback (most recent call last):
File "dxf_outlines.py", line 43, in <module>
inkex.localize()
AttributeError: 'module' object has no attribute 'localize'

Searched on google but no results :-(
Thank you for another help!

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Save as DXF - error opening file with Autocad

Postby Lazur » Fri Mar 11, 2016 7:41 am

Can only suggest trying the live chat then, maybe you can catch a developer.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Save as DXF - error opening file with Autocad

Postby Moini » Fri Mar 11, 2016 8:28 am

Which Inkscape version are you using? localize() was introduced in 2012.
If you're using an Inkscape version older than 0.91 (Ubuntu ships with an ancient 0.48.4), please update - you cannot use an extension for Inkscape 0.92 with a really old Inkscape version.

You can install the current Inkscape from the ppa, which is linked from our downloads page: https://inkscape.org/en/download
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Enrico121
Posts: 3
Joined: Fri Mar 11, 2016 5:40 am

Re: Save as DXF - error opening file with Autocad

Postby Enrico121 » Mon Mar 21, 2016 7:38 am

Hi Moini,
I'm using 0.48.4...
So now I've upadated to 0.91 and substituted dxf_outlines.py and dxf_outllines.inx
and now all works perfectly :-)
Many many many thank's!
E.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Save as DXF - error opening file with Autocad

Postby Moini » Mon Mar 21, 2016 8:45 am

Da niente :)
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Inkscape & Cutters/Plotters”