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

works both on windows and linux

you need to get MSVCR100D.dll somewhere to get included openscad_cl running
This commit is contained in:
Vsevolod Lobko
2012-03-12 22:55:27 +02:00
parent 04b1fa549d
commit b4f3f2040f
4 changed files with 17 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
import os
import subprocess
import openscad
import shutil
import sys
@@ -58,7 +58,7 @@ def stls(machine):
# Run openscad on the created file
#
stl_name = target_dir + "/" + module[:-4] + ".stl"
subprocess.call(["openscad", "-o", stl_name, stl_maker_name])
openscad.run("-o", stl_name, stl_maker_name)
targets.remove(module)
#