r/OpenPythonSCAD • u/gadget3D • 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
View all comments
Show parent comment
3
u/grow2live Dec 23 '24
Regarding viewscad, its functionality that is relevant here is: stl viewer. This can be accomplished in Python with a 3d js library. Viewscad uses pythreejs for this. It’s not overwhelmingly complicated, the hardest challenge is in setting a scoped vision for the viewer. There isn’t any Jupyter-specific complication, Jupyter just renders the js generated by pythreejs