1
0
mirror of https://github.com/nophead/Mendel90.git synced 2025-08-16 18:23:59 +02:00

modified to run on linux

windows support is broken
This commit is contained in:
Vsevolod Lobko
2012-03-12 21:34:30 +02:00
parent 78f29b3b3e
commit 04b1fa549d
3 changed files with 5 additions and 3 deletions

4
bom.py
View File

@@ -95,8 +95,10 @@ def boms(machine):
f. write("include <%s_config.scad>\n" % machine);
f.close()
subprocess.call(["openscad_cl", "-o", "dummy.stl", "scad/bom.scad"])
log = open("openscad.log", "w")
subprocess.call(["openscad", "-o", "dummy.csg", "scad/bom.scad"], stdout = log, stderr = log)
print "Generating bom ...",
log.close()
main = BOM()
stack = []