Merge pull request #14 from justbuchanan/stl-export-precision

Pass exportShape()'s 'tolerance' param to exportStl()
This commit is contained in:
Adam Urbańczyk
2018-12-14 21:19:17 +01:00
committed by GitHub

View File

@ -105,7 +105,7 @@ def exportShape(shape, exportType, fileLike, tolerance=0.1):
if exportType == ExportTypes.STEP:
shape.exportStep(outFileName)
elif exportType == ExportTypes.STL:
shape.exportStl(outFileName)
shape.exportStl(outFileName, tolerance)
else:
raise ValueError("No idea how i got here")