Pen-plotter toolchain for openFrameworks
Branches ahead of master
These branches have commits not yet on master — could be unmerged fixes or work in progress worth a look.
README
ofxPlotter
Pen-plotter orchestration for openFrameworks: mm-space paper layout, raster preprocessing, SVG import, and G-code export for GRBL-based machines.
Plot finding (image-to-stroke algorithms) lives in ofxPlotFinders. Stroke processing (merge, sort, filter, …) lives in ofxPlotProcessors. This addon wires them into
ImageToPath and handles export, pen settings, and layer state.
Features
ImageToPath— paper sizes, margins, preprocessing, layer hierarchy (EnTT), per-layer paths and stats- SVG import — vector outlines into layers (groups, colours, or single layer); optional fill rasterization for pen simulation
- Multi-layer jobs — per-layer finder choice, brush, colour, visibility, and hierarchy
- G-code export —
plotter::toGCode()with pen Z, feed rates, machine prefs, zones, optional pipeline - Helpers — bed coordinates, plotter zones, G-code injection hooks, stroke bridge to processors
Dependencies
| Addon | Role |
|---|---|
| ofxPlotFinders | Raster → polyline algorithms (used by ImageToPath::generate) |
| ofxPlotProcessors | Optional polyline pipeline before export |
| ofxGCode | Path-to-G-code serialisation |
| ofxSvg | SVG vector import (bundled with OF) |
| ofxGrbl | Machine connection (examples / apps) |
| ofxKit | UI in example-kit |
| ofxEnTTKit | Layer / hierarchy ECS components |
addons.make; addon_config.mk pulls in PlotFinders and PlotProcessors automatically.
ofxAddons