Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Merge pull request #153 from baoboa/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
jmwright committed Oct 12, 2016
2 parents fa71f9d + fc3c953 commit 669bc3c
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ This resin mold was modeled using cadquery and then created on a CNC machine:

The cadquery script is surprisingly short, and allows easily customizing any of the variables::

```python
import cadquery as cq
from Helpers import show
BS = cq.selectors.BoxSelector
Expand Down Expand Up @@ -108,7 +109,7 @@ The cadquery script is surprisingly short, and allows easily customizing any of
]).hole(fhd, mw/2.)

show(r)

```

Thanks go to cadquery contributor hyOzd ( Altu Technology ) for the example!

Expand Down Expand Up @@ -171,26 +172,30 @@ Use these steps if you would like to write CadQuery scripts as a python API. In
preferably one that has virtualenv available. To use FreeCAD from any python interpreter, just append the FreeCAD
lib directory to your path. On (*Nix)::

import sys
```python
import sys
sys.path.append('/usr/lib/freecad/lib')
```

or on Windows::

import sys
```python
import sys
sys.path.append('/c/apps/FreeCAD/bin')
```

*NOTE* FreeCAD on Windows will not work with python 2.7-- you must use pthon 2.6.X!!!!

3. install cadquery::

```bash
pip install cadquery

```
3. test your installation::

```python
from cadquery import *
box = Workplane("XY").box(1,2,3)
exporters.toString(box,'STL')

```
You're up and running!

Installing -- Using CadQuery from Inside FreeCAD
Expand Down

0 comments on commit 669bc3c

Please sign in to comment.