A Jupyter extension for the CadQuery library
Switch branches/tags
Nothing to show
Clone or download
Latest commit f387e20 Oct 12, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitattributes 👾 Added .gitattributes & .gitignore files Aug 7, 2017
.gitignore initial commit Aug 7, 2017
LICENSE Create LICENSE Oct 10, 2017
cqjupyter.py fixed valueError to ValueError Oct 11, 2017
import_warning.png initial commit Aug 7, 2017
lego_brick.ipynb initial commit Aug 7, 2017
readme.md Update readme.md Oct 11, 2017
showcase.gif changed showcase GIF Oct 12, 2017


CQNB - CadQuery Jupyter Notebook

A Jupyter extension for the CadQuery library.

NOTE: this extension is still under development. As such, install methods are still manual, and functionality is subject to change.

Getting Started

This extension has the following requirements:

Currently cqnb is used by directly importing the module into your notebook. As such, the installation process is:

  1. cd into your desired directory. Must be accessible by your Jupyter server.

  2. download cqjupyter.py or clone this repo

    git clone https://github.com/RustyVermeer/cqnb.git

  3. Import cqjupyter into your notebook.

import sys
from cqjuypter import *

ATTN: You must place these imports in a cell separate from your cadquery script. This is because the CadQuery interface runs into trouble when it reads the line 'import cqjupyter'.

If you wish to avoid having to import the script in your notebook, you can add a short script to your startup folder that contains the above import statements.

It's a simple process and you can read about it here.