TopoShapePy: enable multithreading in function distToShape
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user