Michael Schwarz
b74aa3b7ce
Reject documents without absolute size.
...
Reject document which do not have a viewBox and a height attribute with absolute measures. In documents without these, the size of a pixel cannot be determined and the scale out the exported shape depends on the Inkscape version.
This fixes #16 .
2015-09-30 18:19:50 +02:00
Michael Schwarz
39be44f16d
Include input file path in error messages.
2015-09-30 18:14:50 +02:00
Michael Schwarz
096db19a9a
Wrap all Python main functions with decorator.
...
This decorator check if a module was called as the main module and catches exceptions.
2015-09-16 01:50:23 +02:00
Michael Schwarz
0b1113d503
Inkscape export: Use original file name for temp file.
...
Because we can.
2015-08-07 02:03:20 +02:00
Michael Schwarz
e2d477640f
Inkscape export: Support to export to Asymptote.
2015-08-06 16:32:59 +02:00
Michael Schwarz
b34b948f0a
Reworked Inkscape command line generation.
...
The old version was brittle and made conditional operations hard.
2015-08-06 16:32:59 +02:00
Michael Schwarz
14f078c821
Inkscape export: Renamed module to inkscape.
...
This module will later be used for other export types than just DXF.
2015-08-06 16:32:59 +02:00