Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-10-02 | Don’t mask exceptions when process.kill() fails. | Michael Schwarz | 1 | -1/+5 | |
2015-10-02 | Fixed asymptote export. | Michael Schwarz | 1 | -1/+6 | |
stdout was not being redirected into a pipe. | |||||
2015-09-30 | Reject documents without absolute size. | Michael Schwarz | 2 | -0/+22 | |
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 | More robust document scale calculation. | Michael Schwarz | 1 | -41/+57 | |
Rewrite of the code which calculates the document scale and simplified code path which applies the necessary transformations. | |||||
2015-09-30 | Include input file path in error messages. | Michael Schwarz | 2 | -34/+41 | |
2015-09-30 | Workaround for LayerMoveToPrev/Next not selecting correct layer. | Michael Schwarz | 1 | -7/+12 | |
Inkscape does not reliably select the previous or next layer when using LayerMoveToPrev or LayerMoveToNext. | |||||
2015-09-16 | Implemented Asymptote dependency tracking. | Michael Schwarz | 1 | -17/+45 | |
2015-09-16 | Abstraction which allows a running process to be used as a context manager. | Michael Schwarz | 1 | -1/+16 | |
2015-09-16 | Separate module for make file stuff. | Michael Schwarz | 2 | -7/+8 | |
2015-09-16 | Wrap all Python main functions with decorator. | Michael Schwarz | 4 | -31/+28 | |
This decorator check if a module was called as the main module and catches exceptions. | |||||
2015-09-16 | Check for Asymptote not writing a PDF file. | Michael Schwarz | 2 | -2/+5 | |
If no drawing commands are called in an Asymptote script, no PDF output is created and no error is generated. This confuses the build process, which expect a target to exist after its commands were called. With this change, the Python wrapper checks whether a PDF was actually written and throws an error otherwise. | |||||
2015-09-16 | Fixed layer mixup when no layer was selected in Inkscape. | Michael Schwarz | 1 | -2/+2 | |
The Inkscape export would put objects into the wrong layers or miss objects completely when no layer was selected. | |||||
2015-09-16 | Fixed empty layers missing from Asymptote export. | Michael Schwarz | 1 | -38/+46 | |
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 | Prevent Python stack trace when an external command failed. | Michael Schwarz | 1 | -4/+8 | |
This catches the OSError thrown by the subprocess module and wraps it so that in the end only an error message is printed, explaining which command failed. | |||||
2015-09-16 | Compile Asymptote files in separate working dir. | Michael Schwarz | 1 | -4/+11 | |
Asymptote leaves a trail of partially cleaned-up temporary files behind it when PDFLaTeX is used. With this changes, Asymptote files are compiled in a temporary directory outside the project root. | |||||
2015-09-16 | New workaround for temp dir on different device. | Michael Schwarz | 2 | -2/+21 | |
Currently, on setups where the project dir is on a different file system as the system temporary directory, a temporary directory is instead created on the project dir. This is not very nice. With this change, we still create temporary files in the system temporary directory but copy instead of move files from and to the temporary directory, if necessary, which solves the problems. | |||||
2015-09-15 | Revert "support: Workaround for tempdir on different mount." | Michael Schwarz | 1 | -13/+1 | |
This reverts commit 3d21efd4897053e760ad7f4ce14a5482f66e858c. | |||||
2015-08-10 | Asymptote export: Call variable with all paths `all`. | Michael Schwarz | 1 | -1/+1 | |
2015-08-07 | Inkscape export: Removed stray semicolon in exported Asymptote files. | Michael Schwarz | 1 | -1/+1 | |
2015-08-07 | Inkscape export: Fix elliptical arcs not being closed. | Michael Schwarz | 1 | -3/+8 | |
2015-08-07 | Use Python script to run Asymptote. | Michael Schwarz | 3 | -9/+32 | |
2015-08-07 | Inkscape export: Fix wrong units in Asymptote export. | Michael Schwarz | 2 | -17/+16 | |
The generate asymptote file would use the Inkscape document coordinates but Asymptote always uses PostScript points. | |||||
2015-08-07 | Inkscape export: Use original file name for temp file. | Michael Schwarz | 1 | -1/+1 | |
Because we can. | |||||
2015-08-06 | Inkscape export: Support to export to Asymptote. | Michael Schwarz | 2 | -59/+87 | |
2015-08-06 | Reworked Inkscape command line generation. | Michael Schwarz | 2 | -92/+148 | |
The old version was brittle and made conditional operations hard. | |||||
2015-08-06 | Inkscape export: Renamed module to inkscape. | Michael Schwarz | 12 | -0/+0 | |
This module will later be used for other export types than just DXF. | |||||
2015-08-06 | DXF export: Not tied to exporting to DXF anymore. | Michael Schwarz | 2 | -31/+34 | |
2015-08-06 | Inkscape export: Optionally don't transform strokes to shapes. | Michael Schwarz | 2 | -24/+57 | |
2015-07-12 | support: Workaround for tempdir on different mount. | Michael Schwarz | 1 | -1/+13 | |
This adds a workaround for setups where the user has checked out the project on a different mount point than where the temporary directory is located. | |||||
2015-03-21 | dxf export: Use different colors for layers. | Michael Schwarz | 1 | -8/+18 | |
With this change, different colors are assigned to shapes. Shapes on the same layer get the same color. This allows them to be grouped by color by software that doesn’t support layers (e.g. Lasercut 5.3). | |||||
2015-03-15 | Fix make jobserver warning. | Michael Schwarz | 2 | -3/+12 | |
When running the make file with a number of jobs, the following warning was generated by the make process used to parse the dependency makefile generated by OpenSCAD: make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. With this change, the variables MAKELEVEL and MAKEFLAGS are removed from the environment before starting the child make process. | |||||
2015-03-15 | Compile OpenSCAD files to DXF. | Michael Schwarz | 1 | -6/+8 | |
This adds support to selectively compile some OpenSCAD files to DXF instead of STL. | |||||
2015-03-15 | Fixed text on path export. | Michael Schwarz | 1 | -6/+23 | |
This fixes exporting SVG files which contain text on a path where the path is on a different layer than the text (which is necessary unless the path should also be combined with the text in a single layer). | |||||
2015-03-07 | Support for setting the DXF export quality. | Michael Schwarz | 1 | -2/+2 | |
2014-12-21 | Workaround for OpenSCAD sometimes writing an empty STL file when it crashes. | Michael Schwarz | 1 | -2/+11 | |
2014-12-21 | Removed some unused imports in the scripts copied from the Inkscape ↵ | Michael Schwarz | 3 | -248/+2 | |
distribution. | |||||
2014-12-21 | Rewritten unit conversion methods of inkex.py to properly handle viewport ↵ | Michael Schwarz | 5 | -19/+178 | |
settings. | |||||
2014-12-21 | Removed some unused imports in the scripts copied from the Inkscape ↵ | Michael Schwarz | 6 | -771/+726 | |
distribution. | |||||
2014-12-20 | Fixed DXF plugin to work with new inkex library. | Michael Schwarz | 1 | -1/+1 | |
2014-12-20 | Upgraded Python files copied from the Inkscape distribution to those from ↵ | Michael Schwarz | 6 | -49/+131 | |
version 0.91.99.13724. | |||||
2014-12-12 | Added support for recording dependencies while compiling OpenSCAD files. | Michael Schwarz | 3 | -1/+56 | |
2014-12-10 | Extracted common functions to separate module. | Michael Schwarz | 3 | -21/+23 | |
2014-12-10 | Moved DXF export scripts to separate directory. | Michael Schwarz | 12 | -0/+2422 | |