Skip to content

Plotter sketches with AxiDraw

Notifications You must be signed in to change notification settings

keijiro/AxiDrawSketches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The following is my plotter art workflow with Unity.

  1. 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.

  2. Rotate it if needed. convert temp.png -rotate 90 render.png

  3. Convert it to a black/white (complete binary) image. convert temp.png -threshold 5% render.png

  4. Convert it into SVG using autotrace. autotrace --centerline --output-format=svg render.png > plot.svg

  5. Edit the SVG file to change the resolution to 480x300.

  6. Edit the SVG file to add a scaling group. <g transform="scale(0.125)">...</g>.

  7. 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