The following is my plotter art workflow with Unity.
-
On Unity, render a monochrome line-art image using the Recolor (contour line) effect. The resolution of the image should be high enough. I usually use 2400x3840.
-
Rotate it if needed.
convert temp.png -rotate 90 render.png
-
Convert it to a black/white (complete binary) image.
convert temp.png -threshold 5% render.png
-
Convert it into SVG using autotrace.
autotrace --centerline --output-format=svg render.png > plot.svg
-
Edit the SVG file to change the resolution to 480x300.
-
Edit the SVG file to add a scaling group.
<g transform="scale(0.125)">...</g>
. -
Plot the SVG file.
axicli plot.svg -G 3
The official version of autotrace
doesn't work for me (it emits segfaults
with png files).
I used hanmertens' fork instead.
Memo: To toggle the pen position, use axicli -m toggle
Memo: To build autotrace, the following packages are needed:
autoconf intltool autopoint libglib2.0-dev libtool libmagickcore-dev libpstoedit-dev