summaryrefslogtreecommitdiff
path: root/src/helpers_solid.py
diff options
context:
space:
mode:
authorJoshua Shreve <j.a.shreve@gmail.com>2021-11-15 15:41:36 -0500
committerJoshua Shreve <j.a.shreve@gmail.com>2021-11-15 15:41:36 -0500
commite0f6c67602b8387b3122cb37aafaa393a4647568 (patch)
tree9de5e0c667afc70fe8cf6d8a7d669eaf204f03c1 /src/helpers_solid.py
parent01a3ff885863369e55664553b681ccb4619f498b (diff)
Minor wall correction. Minor directory fix with openscad imports.
Need to prioritize trackball geometry generation. OS and workflow path differences are causing import issues with OpenSCAD as it imports from the scad file ion OpenSCAD not during generation.
Diffstat (limited to 'src/helpers_solid.py')
-rw-r--r--src/helpers_solid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers_solid.py b/src/helpers_solid.py
index 2557e01..fcd9e73 100644
--- a/src/helpers_solid.py
+++ b/src/helpers_solid.py
@@ -144,7 +144,7 @@ def extrude_poly(outer_poly, inner_polys=None, height=1):
def import_file(fname, convexity=2):
print("IMPORTING FROM {}".format(fname))
- return sl.import_stl(fname + ".stl", convexity=convexity)
+ return sl.import_stl(fname.replace("\\", "/") + ".stl", convexity=convexity)
def export_file(shape, fname):