From 94bed8f3ebdb2ce0e6693a2f55d58ecb46c73961 Mon Sep 17 00:00:00 2001 From: Justin Buchanan Date: Sun, 25 Nov 2018 16:03:51 -0800 Subject: [PATCH] Pass exportShape()'s 'tolerance' param to exportStl() --- cadquery/occ_impl/exporters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cadquery/occ_impl/exporters.py b/cadquery/occ_impl/exporters.py index 175f2ae7..fb6e720d 100644 --- a/cadquery/occ_impl/exporters.py +++ b/cadquery/occ_impl/exporters.py @@ -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")