Commit graph

8 commits

Author SHA1 Message Date
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
7a0be0c812 More robust document scale calculation.
Rewrite of the code which calculates the document scale and simplified code path which applies the necessary transformations.
2015-09-30 18:16:57 +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
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
e2d477640f Inkscape export: Support to export to Asymptote. 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
Renamed from support/dxf_export/effect.py (Browse further)