Difference between revisions of "PythonScad"

From BITPlan Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
== Installation ==
 
== Installation ==
 
* Install {{Link|target=OpenSCAD}}
 
* Install {{Link|target=OpenSCAD}}
 +
* Install viewscad <source lang='bash'>pip install viewscad</source>
 
=== On MacOS ===
 
=== On MacOS ===
 
create script $HOME/openscad
 
create script $HOME/openscad

Revision as of 05:55, 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
jupyter labextension install jupyter-threejs