/jupyter_freecad_kernel

A FreeCAD Kernel for Jupyter

Primary LanguageJupyter NotebookGNU General Public License v3.0GPL-3.0

jupyter_freecad_kernel

A FreeCAD Kernel for Jupyter

Dependencies

  1. FreeCAD
  2. Jupter
  3. for the examples (sympy, pydy, numpy, matplotlib)

Installation

  1. clone this repository (git clone https://github.com/looooo/jupyter_freecad_kernel)
  2. run "jupyter kernelspec install /path/to/FreeCAD_kernel" (withoud trailing "/")
  3. make the freecadkernel.py python importable (copy/link it to a place python can find it)

Get started

  1. start jupyter-notebook
  2. navigate to the example directory and open RotationBox1.ipynb
  3. wait for some time (the FreeCAD Gui will show up)
  4. open RotationBox1.ipynb in FreeCAD
  5. Now you have direct access to FreeCAD... run the cells

Things to do

  1. Store some information to couple FreeCAD Documents and Notebooks