forked from nophead/Mendel90
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
6 changed files
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
import subprocess | ||
import os | ||
|
||
def run(*args): | ||
if os.name == "nt": | ||
subprocess.call(["openscad_cl"] + list(args)) | ||
else: | ||
log = open("openscad.log", "w") | ||
subprocess.call(["openscad"] + list(args), stdout = log, stderr = log) | ||
log.close() | ||
|
||
print "openscad", | ||
for arg in args: | ||
print arg, | ||
log = open("openscad.log", "w") | ||
subprocess.call(["openscad"] + list(args), stdout = log, stderr = log) | ||
log.close() |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters