summaryrefslogtreecommitdiff
path: root/src/helpers_solid.py
diff options
context:
space:
mode:
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):