Thanks for your help.
I was able to access FC through Jupyter.
I entered the commands below.
After that FC started and the FreeCAD and App objects were available.
I think this could be a very powerful interface to FC.
import sys, os
os.environ["QT_API"] = "pyside"
Has Anyone successfully connected to FC thru Jupyter ?
If yes, could you share the procedure.
I tried using the module at:
This was only a test but as freecad uses python we do not need to write an own kernel.
Easiest way to get compatible freecad and jupyter is by use of conda-package manager. Eg.:
Code: Select all
conda create -n freecad freecad jupyterlab
To start the freecad-gui from jupyter you can have a look here:
https://forum.freecadweb.org/viewtopic. ... 30#p257684
It's possible the commands to launch freecad are a bit different on different pöattforms. But launching freecad from jupyter-notebook worked for me on all 3 major platforms.