Difference between revisions of "PythonScad"

From BITPlan Wiki
Jump to navigation Jump to search
Line 20: Line 20:
 
npm --version
 
npm --version
 
8.8.0
 
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
 
</source>
 
</source>
  

Revision as of 07:03, 22 September 2022

ViewSCAD

Installation

  • Install OpenSCAD
  • Install viewscad
    pip install viewscad
    

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

Videos

Minkowski