TopoShape::analyze() SetRunParallel(true) to do the bopcheck in parallel mode

This commit is contained in:
mwganson
2022-01-06 15:59:29 -06:00
committed by wwmayer
parent a4582d8d61
commit 1f6daebdbf

View File

@@ -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;