I would like to control the number of used threads, e.g. for the parallel mode of boolean operations using the following code:
from OCC.Core.OSD import OSD_ThreadPool
pool = OSD_ThreadPool.DefaultPool_s()
pool.Init(4)
However, I get the following error: OCC.Core.Exception.ClassNotWrappedError: OSD_ThreadPool not wrapped
It seems, the class was excluded from the wrapper. Is there any particular reason for this?
I would like to control the number of used threads, e.g. for the parallel mode of boolean operations using the following code:
However, I get the following error:
OCC.Core.Exception.ClassNotWrappedError: OSD_ThreadPool not wrappedIt seems, the class was excluded from the wrapper. Is there any particular reason for this?