I don't want to pollute the official repo. And since I still have some old branches on SF I anyway need a github repo to migrate them some time.Why not push the branch with your changes to the official FreeCAD repo, I'll take it from there, we can delete it afterwards when we're done... After all the official FreeCAD repo is a bit yours by right
Then in order to not let crash the application it might be good to put the invoking of the script in a try/catch block:
Code: Select all
try {
Interpreter().runString(Base::ScriptFactory().ProduceScript("FreeCADInit"));
}
catch (const Base::Exception& e) {
Base::Console().Error("%s\n", e.what());
}
https://github.com/wwmayer/FreeCAD/comm ... b32a4da94d