we are using FreeCAD with a library https://github.com/ElmerCSC/elmerfem/tr ... chFEMTools
for automated mesh creation. Our geometries can consist of many mesh groups (faces, solids). We have come to notice that FreeCAD slows down by o(n^2) when the number of mesh groups is increased.
In the image attached you can see test results using a test script (found in the FreeCADBatchFEMTools library under tests/cubemeshtest/cubemeshtest.py).
You can try this script yourself (library is tested today with daily). Write
$ python cubemeshtest.py -h
Basically the script creates a number of cubes (or spheres) in air, meshes everything and tries to find each boundary and solid (if -fb and -fs switches are used). Then it logs the time elapsed for each procedure.
I'm interested in improving this performance with some binary search or other method but I would like to get input from the community if there are someone who has worked on this.