mirror of
https://github.com/DJSundog/NopSCADlib.git
synced 2025-01-11 10:12:43 -05:00
Added scad/printed to stl search path.
This commit is contained in:
parent
4459cca3ea
commit
ad3e8d85af
@ -85,7 +85,7 @@ def make_parts(target, part_type, parts = None):
|
||||
#
|
||||
lib_dir = os.environ['OPENSCADPATH'] + '/NopSCADlib/printed'
|
||||
module_suffix = '_dxf' if part_type == 'svg' else '_' + part_type
|
||||
for dir in [source_dir, lib_dir]:
|
||||
for dir in [source_dir, source_dir + '/printed', lib_dir]:
|
||||
for filename in os.listdir(dir):
|
||||
if filename[-5:] == ".scad":
|
||||
#
|
||||
|
@ -124,7 +124,7 @@ def views(target, do_assemblies = None):
|
||||
#
|
||||
main_blurb = None
|
||||
lib_dir = os.environ['OPENSCADPATH'] + '/NopSCADlib/printed'
|
||||
for dir in [source_dir, lib_dir]:
|
||||
for dir in [source_dir, source_dir + '/printed', lib_dir]:
|
||||
for filename in os.listdir(dir):
|
||||
if filename.endswith('.scad'):
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user