This commit is contained in:
zhao
2023-08-10 15:06:31 -04:00
parent 5a5638fb3c
commit 1436b7d37a
27 changed files with 3 additions and 5 deletions

View File

@ -5,7 +5,6 @@ import subprocess
import os
PATH_TO_OPENSCAD = '/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD'
PATH_TO_OPENSCAD_NIGHTLY = 'path/to/nightly/build'
# For actual dimensions, please see profiles.scad.
class BuildSizeConfig:
@ -22,7 +21,6 @@ BUILD_PARENT_DIR = './stl'
RACK_BUILD_TARGET_SUB_DIR = 'rack'
RACK_MOUNT_BUILD_TARGET_SUB_DIR = 'rack-mount'
def main():
if not assertOpenscadExists():
@ -182,7 +180,7 @@ def run_openscad(options, nightly):
except FileNotFoundError:
print('OpenSCAD command not found! '
'Please make sure that you have OpenSCAD installed and can run OpenSCAD CLI commands. '
'(Currently needs Linux for this)')
'(Currently needs Linux/Mac for this)')
def assertOpenscadExists():
return os.path.exists(PATH_TO_OPENSCAD)