# PyCAM

# PyCAM Site

PyCAM is a toolpath generator for 3-axis CNC machining. It loads 3D models in STL format or 2D contour models from DXF or SVG files. The resulting GCode can be used with EMC2 or any other machine controller.

PyCAM supports a wide range of toolpath strategies for 3D models and 2D contour models.

# fab.senselab.org/pycam

# Lars Kruse

## PyCAM #1: Generating a toolpath for a 2D model

The video shows how to generate a toolpath based on a 2D contour model (SVG). The following steps are described:

- define a tool shape
- configure an engraving process
- set a bounding box
- add support bridges
- simulate the generated toolpath
- store the resulting toolpath as a GCode file

Everything was done with PyCAM v0.5 (pycam.sf.net) - an open source toolpath generator for 3 axes machines.

BEWARE: due to a recent change in PyCAM you need to specify the “upper z margin” instead of the “lower z margin” (as described in the video).

## Lars Kruse - screen video - PyCAM #2: Using multi-layered 2D models

from Lars Kruse

The video shows how to use multi-layered 2D models with the toolpath generator PyCAM. The following steps are described:

- create a multi-layered 2D model with Inkscape
- use the clipboard for copy/paste operations
- verify the polygon winding in a 2D model
- fix the polygon winding
- use pocketing
- simulate the generated toolpath
- store the resulting toolpath as a GCode file

Everything was done with PyCAM v0.5 (pycam.sf.net) - an open source toolpath generator for 3 axes machines.

# riverallen - chmodux.wordpress.com

```
html boilerplate
<a href="" target="_blank"></a>
<img src="" width="400px">
```