Merge pull request #14 from justbuchanan/stl-export-precision
Pass exportShape()'s 'tolerance' param to exportStl()
This commit is contained in:
@ -105,7 +105,7 @@ def exportShape(shape, exportType, fileLike, tolerance=0.1):
|
|||||||
if exportType == ExportTypes.STEP:
|
if exportType == ExportTypes.STEP:
|
||||||
shape.exportStep(outFileName)
|
shape.exportStep(outFileName)
|
||||||
elif exportType == ExportTypes.STL:
|
elif exportType == ExportTypes.STL:
|
||||||
shape.exportStl(outFileName)
|
shape.exportStl(outFileName, tolerance)
|
||||||
else:
|
else:
|
||||||
raise ValueError("No idea how i got here")
|
raise ValueError("No idea how i got here")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user