← Back

ofxPlotProcessors

github.com/ofxyz/ofxPlotProcessors · @ofxyz
OF 0.12 2D Algorithms

Stroke pipeline for pen plotters.

0 0 Last commit 2mo ago Created 5mo ago

README

ofxPlotProcessors



Composable stroke pipeline for pen plotters: merge, sort, filter, transform, layout, and clip on ofPath strokes before G-code export.

Works with ofxPlotFinders (image → strokes) and ofxPlotter (ECS, UI, export).

Quick start



#include "ofxPlotProcessors.h"

plotproc::StrokeDocument doc = / from layer or finders /;
plotproc::PlotPipeline pipe = plotproc::PlotPipeline::loadPreset("bin/data/plot_pipeline_default.json");
pipe.run(doc);


Documentation



DocContents
docs/README.mdIndex
docs/ARCHITECTURE.mdStrokeDocument, registry, layers
docs/PIPELINE.mdJSON presets, recipes, metrics
docs/PROCESSORS.mdAll processors and options

Default pipeline



bin/data/plot_pipeline_default.json — line_merge → line_sort (squiggles/filter optional).

Credits



Many processors in this addon follow ideas from vpype by Antoine Beyeler (MIT)—a brilliant toolchain for pen-plot workflows. Thank you, Antoine.

ofxPlotProcessors is a native openFrameworks library for in-app pipelines; it is not a port of vpype.

Get this addon

HTTPS
SSH