cannot save as Better DXF Output

Asked by Veronica Armour

I'm trying to save a file as a Better DXF Output but when I go to Save as and select that as an option I get the following message:

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

Cannot save file.

I'm able to save as an svg but not as dxf.

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
su_v (suv-lp) said :
#1

1) The custom extension 'Better DXF Output' is outdated (AFAIK it is no longer maintained, and it replaces a few python modules distributed with Inskcape with even more outdated versions - this might break other extensions, and is not recommended (custom extensions should never modify or replaces files which are distributed with Inkscape)).
2) The custom extension it is not compatible with the latest Inkscape release 0.91 [1]. You would have to contact the original author of the extension and ask whether there's any chance for an updated version.

I would recommend to use Inkscape's own DXF export (it includes most of the features which at the time had been initially implemented in that custom DXF export extension, and some more, and quite a number of bug fixes).

[1] See also:
http://wiki.inkscape.org/wiki/index.php/Release_notes/0.91#Units:_Breaking_change

Can you help with this problem?

Provide an answer of your own, or ask Veronica Armour for more information if necessary.

To post a message you must log in.