mirror of
https://github.com/nophead/Mendel90.git
synced 2025-01-16 20:38:15 +01:00
069dcdfc3d
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.
11 lines
234 B
Python
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()
|