diff options
Diffstat (limited to 'src/helpers_solid.py')
-rw-r--r-- | src/helpers_solid.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers_solid.py b/src/helpers_solid.py index f5636ea..174d65a 100644 --- a/src/helpers_solid.py +++ b/src/helpers_solid.py @@ -133,9 +133,9 @@ def extrude_poly(outer_poly, inner_polys=None, height=1): return sl.linear_extrude(height=height, twist=0, convexity=0, center=True)(outer_poly) -def import_file(fname): +def import_file(fname, convexity=2): print("IMPORTING FROM {}".format(fname)) - return sl.import_(fname + ".stl") + return sl.import_stl(fname + ".stl", convexity=convexity) def export_file(shape, fname): |