Linear3000 wrote: ↑
Sat Mar 21, 2020 4:19 pm
One other thing I haven't been able to locate in the documentation is how one might go about creating graphical elements that are not part of the existing freecad gui, ...
Obviously it's possible to add more graphical interfaces. This is exactly what many external workbenches
do, they add new graphical panes and dialogs.
What you want is located somewhere in the Power users hub
or Developer hub
. Unfortunately, many pages are very old, created around 2014 and earlier so they haven't been updated significantly in years. They are also hard to find, because there is no clear progression on what you should read first, and what second, or how to return to the beginning, etc.
But if you are willing to dig in, you can find what you need. And you should also check the official Qt docs to see what else is available.
FreeCAD uses Qt5. It accesses it through the PySide
wrapper in Python. See the examples there.
If you find references to PyQt in the documentation these are outdated as PyQt hasn't been used since 2013 or so. In many cases you can just substitute PyQt with PySide and the examples should work.