5 December 2024

CNC projects

I implemented a simple CLI tool in Ruby parsing common SVG path elements to easily cut or engrave 2.5D parts on a small CNC.

N.B. This script does not provide path optimization

Key holder

I simply traced the contours of my car in Inkscape on top of a photo to recreate its shape, then used a Ruby script I wrote to generate G-code for the CNC. The cutting process repeated the paths several times and included a final pass dedicated to the external contour.

Car key holder

2.5D Switzerland Engraving

This project involved retrieving Earth surface data from NASA’s SRTM Data Access and Tools.
The data were processed in QGIS to generate a heatmap of Switzerland, which was then cropped to include only the country’s surface.
Finally, the model was sliced into small passes to produce the G-code for the CNC.

V1

Heatmap of Switzerland

V2

Unfortunately, the drill bit snapped about two-thirds of this engraving.

Heatmap of Switzerland

V3

Heatmap of Switzerland