summaryrefslogtreecommitdiff
path: root/support/openscad/__main__.py
AgeCommit message (Collapse)AuthorFilesLines
2015-09-16Separate module for make file stuff.Michael Schwarz1-7/+3
2015-09-16Wrap all Python main functions with decorator.Michael Schwarz1-10/+2
This decorator check if a module was called as the main module and catches exceptions.
2015-09-16New workaround for temp dir on different device.Michael Schwarz1-1/+1
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-03-15Fix make jobserver warning.Michael Schwarz1-1/+1
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-15Compile OpenSCAD files to DXF.Michael Schwarz1-6/+8
This adds support to selectively compile some OpenSCAD files to DXF instead of STL.
2014-12-21Workaround for OpenSCAD sometimes writing an empty STL file when it crashes.Michael Schwarz1-2/+11
2014-12-21Rewritten unit conversion methods of inkex.py to properly handle viewport ↵Michael Schwarz1-1/+7
settings.
2014-12-12Added support for recording dependencies while compiling OpenSCAD files.Michael Schwarz1-0/+37