Commit graph

11 commits

Author SHA1 Message Date
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
0c5b944686 Fixed layer mixup when no layer was selected in Inkscape.
The Inkscape export would put objects into the wrong layers or miss objects completely when no layer was selected.
2015-09-16 01:50:23 +02:00
Michael Schwarz
2ca55c2d17 Fixed empty layers missing from Asymptote export.
Empty layers would not be included in the exported Asymptote file, making it hard to work with a set of SVG files with the same layers if some of the SVG files had empty layers.
2015-09-16 01:50:22 +02:00
Michael Schwarz
7dc8da588e Asymptote export: Call variable with all paths all. 2015-08-10 21:38:10 +02:00
Michael Schwarz
2034cdd369 Inkscape export: Removed stray semicolon in exported Asymptote files. 2015-08-07 02:03:50 +02:00
Michael Schwarz
51d896929e Inkscape export: Fix elliptical arcs not being closed. 2015-08-07 02:03:47 +02:00
Michael Schwarz
6bce36b6ed Inkscape export: Fix wrong units in Asymptote export.
The generate asymptote file would use the Inkscape document coordinates but Asymptote always uses PostScript points.
2015-08-07 02:03:28 +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