1
0
mirror of https://github.com/nophead/Mendel90.git synced 2025-01-16 20:38:15 +01:00
Mendel90/openscad.py
Chris Palmer 069dcdfc3d Openscad_cl was found to be unecessary as the Python wrapper does the same thing.
Openscad.exe has been removed, README.txt now specifies the required version.
Stls.py and Sheets.py now use relative include paths.
openscad.py now prints the command it is executing.
2012-03-27 18:12:04 +01:00

11 lines
234 B
Python

import subprocess
def run(*args):
print "openscad",
for arg in args:
print arg,
print
log = open("openscad.log", "w")
subprocess.call(["openscad"] + list(args), stdout = log, stderr = log)
log.close()