when using FreeCAD as a pure Python module. See forum topic: https://forum.freecadweb.org/viewtopic.php?f=10&t=67617