Commit graph

8 commits

Author SHA1 Message Date
Michael Schwarz
2bd7e1e3d7 Separate module for make file stuff. 2015-09-16 01:50:23 +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
987fa08ce6 New workaround for temp dir on different device.
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-16 01:40:00 +02:00
Michael Schwarz
fb72dca77a Fix make jobserver warning.
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 16:34:59 +01:00
Michael Schwarz
e232c40ef7 Compile OpenSCAD files to DXF.
This adds support to selectively compile some OpenSCAD files to DXF instead of STL.
2015-03-15 12:12:01 +01:00
Michael Schwarz
72eca42f2d Workaround for OpenSCAD sometimes writing an empty STL file when it crashes. 2014-12-21 19:33:33 +01:00
Michael Schwarz
c74efa59dc Rewritten unit conversion methods of inkex.py to properly handle viewport settings. 2014-12-21 02:15:45 +01:00
Michael Schwarz
f9fa53eef8 Added support for recording dependencies while compiling OpenSCAD files. 2014-12-12 11:44:29 +01:00