I have been playing around with FreeCAD for a while now, this time I don't know how to solve this problem
my main goal is to automate certain tasks with FreeCAD, and I would like to use freeCADcmd, so I can make the calls from anywhere I want, but when I try to show the GUI with Gui.showMainWindow() I get this in the log
Code: Select all
Log: All modules with GUIs using InitGui.py are now initialized
Log: All modules with GUIs initialized using pkgutil are now initialized
Log: Init: Loading FreeCAD GUI
Log: Init: Running FreeCADGuiInit.py start script... done
Log: Init: Activating default workbench
Log: Loading GUI of Web module... done
Log: Loading GUI of Start module... done
Log: Loading Start module... done
Log: WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
Err: Exception while processing file: C://Development//Qt//mainwindow//test.py [Illegal storage access! Please save your work under a new file name and restart the application!]
Log: Exiting on purpose
Log: FreeCAD terminating...
Is there anyway to use the FreeCAD instance that is already open?
Code: Select all
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/New Zealand (en_NZ)