Saving with Big Blue Saw DXF output

Post questions on how to use or achieve an effect in Inkscape.
Mariam87
Posts: 12
Joined: Sat Jul 18, 2015 5:20 pm

Saving with Big Blue Saw DXF output

Postby Mariam87 » Tue Jul 28, 2015 10:30 pm

Hi,

I am trying to save my file with Big Blue Saw DXF output

But I get this message

error1.PNG
error1.PNG (11.08 KiB) Viewed 2575 times


traceback (most recent call last):
File "inch_dxf_outlines.py", line 200, in <module>
e.affect()
File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 268, in affect
self.effect()
File "inch_dxf_outlines.py", line 118, in effect
h = inkex.unittouu(self.document.getroot().xpath('@height',namespaces=inkex.NSS)[0])
AttributeError: 'module' object has no attribute 'unittouu'

and after I press ok I get
error2.PNG
error2.PNG (6.49 KiB) Viewed 2575 times


The same problem happen when I save as better dxf
How can I solve this ? I am trying to save my file as a dxf to print it with laser cutter. The dxf cutting plotter extensions ruin my design.

Thanks in advance.

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Saving with Big Blue Saw DXF output

Postby tylerdurden » Tue Jul 28, 2015 11:27 pm

I just save-a-copy-as DXF. I'd send BBS a sample file of each output option.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

Mariam87
Posts: 12
Joined: Sat Jul 18, 2015 5:20 pm

Re: Saving with Big Blue Saw DXF output

Postby Mariam87 » Wed Jul 29, 2015 2:47 am

I found the answer here

http://www.shapeoko.com/forum/viewtopic.php?f=6&t=5506

Essentially, the line in "inch_dxf_outlines.py" in the extensions folder,

h = inkex.unittouu(self.document.getroot().xpath('@height',namespaces=inkex.NSS)[0])

should read

h = self.unittouu(self.document.getroot().xpath('@height',namespaces=inkex.NSS)[0])

that is, replace the first "inkex" with "self", and save the file. Ensure that Inkscape isn't running while making the change.


Return to “Help with using Inkscape”