Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

readme.md

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
sys.path.append('/path/to/cqnb/script')
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.

About

A Jupyter extension for the CadQuery library

Resources

License

Releases

No releases published

Packages

No packages published