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

This commit is contained in:
mwganson
2022-01-17 00:04:50 +01:00
committed by Uwe
parent a8f9f1dd42
commit d549cff781
+1
View File
@@ -1715,6 +1715,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;