Meshing faces with BRepMesh_IncrementalMesh can take a lot of time if faces are distorted. Although there is a possibility to work against it by setting the MinSize parameter in BRepMesh_FastDiscret::Parameters, this might also limit the triangulation fineness of unproblematic faces.
Wouldn't it be better to support a progress indicator (Message_ProgressIndicator) in BRepMesh_IncrementalMesh, as it is done e.g. for the Boolean Operations (see BOPAlgo_Algo)? In this way, the user could see the progress and also cancel the execution. It would also be interesting to be able to set a timeout value.
Discussion
1 archived reply
Posts are displayed in their archived order.
01Commenter-1
The progress indicator is indeed useful tool.
One problem is providing efficient implementation of ProgressIndicator for multi-threading environment (Message_ProgressIndicator is currently not thread-safe).
You can track/comment on the related bug issue: #0025113