Open DagUd opened 1 year ago
Fcmcua relies heavily on the recompute functionality of FreeCAD, which took most of the time of each update cycle in my testing. I have seen a lot of discussion about the performance of that mechanic, like this discussion on multithreading occ. I am hoping the performance will improve in future releases of FreeCAD.
Since the recompute is a CPU heavy task, you could look into the following:
opc_cad_updater.py
. In the updateCad()
method: uncomment lines 29 and 50-61. Restart Freecad. Fcmcua now prints FreeCAD's recompute time to the output window of FreeCAD.For reference: In my testing I had compute times of around 100ms or ~10 Fps of which the recompute command made up ca. 80ms.
Very nice project ! I'm testing this project with a Siemens plc. Is working correctly but the performance are slow on a I7 12700K with 32GB and quadro 2000 video adapter. Do you have some suggestion about freecad settings for improve performances ? Thank you