Hi guys, i'm having this error show up when i try and save svg files as dxf files..
Traceback (most recent call last):
File "dxf_outlines.py", line 345, in <module>
e.affect()
File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 265, in affect
self.getposinlayer()
File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 207, in getposinlayer
x = self.unittouu( xattr[0] + 'px' )
File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 351, in unittouu
return retval * (self.__uuconv[u.string[u.start():u.end()]] / self.__uuconv[self.getDocumentUnit()])
File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 326, in getDocumentUnit
svgunitfactor = self.__uuconv[svgwidthunit] * width / viewboxwidth
ZeroDivisionError: float division
Any idea why this is happening? I'm using vers 0.91 on win 10
Trouble saving files as dxf
Re: Trouble saving files as dxf
It looks like a problem with an extension called inkex. But having it show up when you save the file, rather than when you use the extension, seems a little odd....
First question -- what is inkex? Can you give us a link to install it? (I don't recongnize it as one that's packed with Inkscape, but could be, I guess.) But maybe there's another extension that would work instead?? It's not LaTex is it?
Edit
2nd question -- Does the extension do what it's supposed to do? And can you save the file, even though it's throwing the error?
First question -- what is inkex? Can you give us a link to install it? (I don't recongnize it as one that's packed with Inkscape, but could be, I guess.) But maybe there's another extension that would work instead?? It's not LaTex is it?
Edit
2nd question -- Does the extension do what it's supposed to do? And can you save the file, even though it's throwing the error?
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: Trouble saving files as dxf
Hi,
I know its too late to respond, but I faced the same problem today. Then I solved it by following. First I exported the original file as a pdf file and then imported the pdf into a blank svg. Then I exported svg file as dxf. It worked like a charm.
I know its too late to respond, but I faced the same problem today. Then I solved it by following. First I exported the original file as a pdf file and then imported the pdf into a blank svg. Then I exported svg file as dxf. It worked like a charm.