r/OpenPythonSCAD • • Dec 16 '24

PythonSCAD as iPython

Today I managed to get PythonSCAD working as interactive python interpreter,

with all PythonSCAD functionality included, see yourself

https://www.youtube.com/watch?v=TymFtcB8K8E

Next task is to head towards Jupyter Notbook, but I am lacking some knowledge.

Who is interested in supporting me ?

4 Upvotes

14 comments sorted by

View all comments

Show parent comment

1

u/gadget3D Jan 22 '25 edited Jan 22 '25

jupyter kernels talk a special network protocol which is used to communicate to the jupyter client/web interface. basically command input and command output are transmitted.

This protocol is implemented by libxeus , and yes: pythonscad links it.

after that is done a simple file has to be installed somewhere in /sr/share/jupyter/kernels.

after that pythonscad can be selected as a kernel in the jupter lab