This commit is contained in:
zhao
2023-08-10 15:45:08 -04:00
parent 1436b7d37a
commit b39c7121e5
28 changed files with 72 additions and 1 deletions

View File

@ -4,7 +4,12 @@ import argparse
import subprocess
import os
<<<<<<< HEAD
PATH_TO_OPENSCAD = '/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD'
=======
PATH_TO_OPENSCAD = 'openscad'
PATH_TO_OPENSCAD_NIGHTLY = 'path/to/nightly/build'
>>>>>>> 380dcb9 (update)
# For actual dimensions, please see profiles.scad.
class BuildSizeConfig:
@ -179,7 +184,11 @@ def run_openscad(options, nightly):
except FileNotFoundError:
print('OpenSCAD command not found! '
<<<<<<< HEAD
'Please make sure that you have OpenSCAD installed and can run OpenSCAD CLI commands. '
=======
'Please make sure that you have the OpenSCAD binary configured in rbuild.py.'
>>>>>>> 380dcb9 (update)
'(Currently needs Linux/Mac for this)')
def assertOpenscadExists():
return os.path.exists(PATH_TO_OPENSCAD)