From 176820c042b278a585a013280fdde83245329f51 Mon Sep 17 00:00:00 2001 From: Mark Ganson TheMarkster <39143564+mwganson@users.noreply.github.com> Date: Sat, 11 Aug 2018 21:42:57 -0500 Subject: [PATCH] use parallel mode of BOPCheck class --- src/Mod/Part/Gui/TaskCheckGeometry.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mod/Part/Gui/TaskCheckGeometry.cpp b/src/Mod/Part/Gui/TaskCheckGeometry.cpp index 320493b2b6..a35bca036e 100644 --- a/src/Mod/Part/Gui/TaskCheckGeometry.cpp +++ b/src/Mod/Part/Gui/TaskCheckGeometry.cpp @@ -606,6 +606,7 @@ int TaskCheckGeometryResults::goBOPSingleCheck(const TopoDS_Shape& shapeIn, Resu #endif #if OCC_VERSION_HEX >= 0x060900 BOPCheck.SetParallelMode(true); //this doesn't help for speed right now(occt 6.9.1). + BOPCheck.SetRunParallel(true); //performance boost, use all available cores BOPCheck.TangentMode() = true; //these 4 new tests add about 5% processing time. BOPCheck.MergeVertexMode() = true; BOPCheck.CurveOnSurfaceMode() = true; @@ -616,7 +617,7 @@ int TaskCheckGeometryResults::goBOPSingleCheck(const TopoDS_Shape& shapeIn, Resu Base::TimeInfo start_time; #endif - BOPCheck.Perform(); +BOPCheck.Perform(); #ifdef FC_DEBUG float bopAlgoTime = Base::TimeInfo::diffTimeF(start_time,Base::TimeInfo());