From c0c4ae40a5f7f44fcc601645988b2aa1fed5f942 Mon Sep 17 00:00:00 2001 From: mwganson Date: Thu, 6 Jan 2022 15:59:29 -0600 Subject: [PATCH] TopoShape::analyze() SetRunParallel(true) to do the bopcheck in parallel mode --- src/Mod/Part/App/TopoShape.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mod/Part/App/TopoShape.cpp b/src/Mod/Part/App/TopoShape.cpp index 4f03ee5610..ec6d94926e 100644 --- a/src/Mod/Part/App/TopoShape.cpp +++ b/src/Mod/Part/App/TopoShape.cpp @@ -1661,6 +1661,7 @@ bool TopoShape::analyze(bool runBopCheck, std::ostream& str) const #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;