Linea
From artwork to pen plot.
From artwork to pen plot.
Open SVG or DXF artwork, then arrange and scale it on the bed in real units. Outlines follows visible fill and stroke boundaries in the SVG example.
Prepare the toolpath and press Play to see the drawing in plotting order. Turn on pen-up travel to inspect the moves between strokes.
Import a PNG or JPEG and choose how brightness becomes ink. Tone hatching varies line spacing. Tone Styles assigns a different mark to each brightness range.
Save the drawing as a G-code job, or export a pen-up outline to check that it fits on the paper. The bundled profile targets a Klipper-controlled Ender 3 V2.
From a local Linea checkout, run uv run linea.
Use SVG Color passes to group visible paint by color. Linea exports a numbered G-code job for each pen and keeps the same placement across every pass.
Replay any of the examples to see the pen paths Linea generated for it.
Thanks to Antoine Beyeler and the vpype contributors. Linea uses vpype to read SVG paths, represent drawings, and merge, simplify, and sort pen strokes before plotting.
Thanks also to David Olsen and the vpype-gcode contributors for the exporter Linea uses to write plot jobs.