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:
4
stls.py
4
stls.py
@@ -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)
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user