Difference between revisions of "PythonScad"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
* Install {{Link|target=OpenSCAD}} | * Install {{Link|target=OpenSCAD}} | ||
* Install viewscad <source lang='bash'>pip install viewscad</source> | * Install viewscad <source lang='bash'>pip install viewscad</source> | ||
+ | * Install jupyterlab <source lang='bash'>pip install jupyterlab</source> see https://jupyterlab.readthedocs.io/en/stable/getting_started/installation.html | ||
=== On MacOS === | === On MacOS === | ||
create script $HOME/openscad | create script $HOME/openscad | ||
Line 31: | Line 32: | ||
app dir: /Users/wf/Library/Python/3.10/share/jupyter/lab | app dir: /Users/wf/Library/Python/3.10/share/jupyter/lab | ||
</source> | </source> | ||
+ | |||
== start == | == start == | ||
<source lang='bash'> | <source lang='bash'> |
Revision as of 06:04, 22 September 2022
- https://github.com/nickc92/ViewSCAD
- https://github.com/SolidCode/SolidPython
- https://pypi.org/project/openpyscad/
ViewSCAD
Installation
- Install OpenSCAD
- Install viewscad
pip install viewscad
- Install jupyterlab see https://jupyterlab.readthedocs.io/en/stable/getting_started/installation.html
pip install jupyterlab
On MacOS
create script $HOME/openscad
#!/bin/bash
# call OpenSCAD command line
/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD $@
check version
openscad -v
OpenSCAD version 2021.01
npm --version
8.8.0
jupyter labextension list
JupyterLab v3.4.7
/Users/wf/Library/Python/3.10/share/jupyter/labextensions
jupyter-threejs v2.4.0 enabled OK (python, pythreejs)
jupyterlab-datawidgets v7.1.2 enabled OK
jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
@jupyter-widgets/jupyterlab-manager v5.0.3 enabled OK (python, jupyterlab_widgets)
Other labextensions (built into JupyterLab)
app dir: /Users/wf/Library/Python/3.10/share/jupyter/lab
start
jupyter lab
Videos
Minkowski