TopoShapePy: enable multithreading in function distToShape

This commit is contained in:
tomate44
2024-03-25 17:38:26 +01:00
committed by wwmayer
parent a32e67c85e
commit 2f124008ae

View File

@@ -2621,6 +2621,9 @@ PyObject* TopoShapePy::distToShape(PyObject *args)
}
BRepExtrema_DistShapeShape extss;
extss.SetDeflection(tol);
#if OCC_VERSION_HEX >= 0x070600
extss.SetMultiThread(true);
#endif
extss.LoadS1(s1);
extss.LoadS2(s2);
try {