Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
Rewrite of the code which calculates the document scale and simplified code path which applies the necessary transformations.
|
|
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.
|
|
|
|
|
|
The generate asymptote file would use the Inkscape document coordinates but Asymptote always uses PostScript points.
|
|
|
|
This module will later be used for other export types than just DXF.
|