/pythonocc-demos

A set of examples and demos for the pythonocc CAD package

Primary LanguageJupyter Notebook

Travis Badge Appveyor Build status Language grade: Python Codacy Badge

Some pythonocc related code snippets, examples, jupter notebooks etc.

Requirements :

  • pythonocc-core 7.4.1
conda install -c conda-forge pythonocc-core=7.4.1
  • jupyter if you want to test the jupyter notebooks, as well as pythreejs.

Repository structure :

  • assets: 2D images, 3D modules in various formats. Used by the python scripts

  • examples: small python scripts that each describe a pythonocc feature

    $ cd examples  
    $ python core_helloworld.py
  • jupyter_notebook: a set of examples running pythonocc inside a jupyter notebook.
    $ cd jupyter_notebooks  
    $ jupyter notebook