cleanup
This commit is contained in:
@ -71,5 +71,5 @@ Generated stls are put into the `stl/` directories. The actual variable values f
|
|||||||
|
|
||||||
We recommend you start by printing the `eval_P.stl` file first, just to determine if the default slack/layer height
|
We recommend you start by printing the `eval_P.stl` file first, just to determine if the default slack/layer height
|
||||||
configurations work for you. If parts are too tight/loose please take a look at
|
configurations work for you. If parts are too tight/loose please take a look at
|
||||||
[config/slack.scad](config/slack.scad). Please also adjust [config/printing.scad](config/printing.scad) to match your
|
[config/slack.scad](config/slack.scad). Please also adjust [config/printing.scad](config/slicer.scad) to match your
|
||||||
slicer settings.
|
slicer settings.
|
||||||
@ -3,5 +3,5 @@
|
|||||||
include <./dowel.scad>
|
include <./dowel.scad>
|
||||||
include <./magnet.scad>
|
include <./magnet.scad>
|
||||||
include <./slack.scad>
|
include <./slack.scad>
|
||||||
include <./printing.scad>
|
include <./slicer.scad>
|
||||||
include <./rackFrame.scad>
|
include <./rackFrame.scad>
|
||||||
@ -5,7 +5,6 @@ import subprocess
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
PATH_TO_OPENSCAD = '/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD'
|
PATH_TO_OPENSCAD = '/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD'
|
||||||
PATH_TO_OPENSCAD_NIGHTLY = 'path/to/nightly/build'
|
|
||||||
|
|
||||||
# For actual dimensions, please see profiles.scad.
|
# For actual dimensions, please see profiles.scad.
|
||||||
class BuildSizeConfig:
|
class BuildSizeConfig:
|
||||||
@ -22,7 +21,6 @@ BUILD_PARENT_DIR = './stl'
|
|||||||
RACK_BUILD_TARGET_SUB_DIR = 'rack'
|
RACK_BUILD_TARGET_SUB_DIR = 'rack'
|
||||||
RACK_MOUNT_BUILD_TARGET_SUB_DIR = 'rack-mount'
|
RACK_MOUNT_BUILD_TARGET_SUB_DIR = 'rack-mount'
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
||||||
if not assertOpenscadExists():
|
if not assertOpenscadExists():
|
||||||
@ -182,7 +180,7 @@ def run_openscad(options, nightly):
|
|||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
print('OpenSCAD command not found! '
|
print('OpenSCAD command not found! '
|
||||||
'Please make sure that you have OpenSCAD installed and can run OpenSCAD CLI commands. '
|
'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():
|
def assertOpenscadExists():
|
||||||
return os.path.exists(PATH_TO_OPENSCAD)
|
return os.path.exists(PATH_TO_OPENSCAD)
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user