Skip to content
Creates gcode for use on drawbots
Processing Java
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead, 8 commits behind Scott-Cooper:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
boarder
pics
BotDrawing.pde
BotLine.pde
Bresenham.pde
Copic.pde
Drawbot_image_to_gcode_v2.pde
GClip.java
Gcode.pde
Image_Tools.pde
LICENSE
Limit.pde
PFM_original.pde
README.md

README.md

Drawbot_image_to_gcode_v2

This code is used to generate gcode for drawbots, polargraphs or other vertical drawing machines.
It takes an original image, manipulates it and generates a drawing path that kinda sorta looks like the original image.
This code was specifically written to work with multiple Copic markers.
The code was intended to be heavily modified to generate different and unique drawing styles.

If your clipboard contains a URL to an image, the code will download it. This makes finding usable images easy and straight forword. If your clipboard contains a URL to a web site, the code will crash and burn in a spectacular fashion.

Key Bindings:

Key Description
r Rotate drawing
[ Zoom in
] Zoom out
\ Reset drawing zoom, offset and rotation
O Display original image (capital letter)
o Display image to be drawn after pre-processing (lower case letter)
l Display image after the path finding module has manipulated it
d Display drawing with all pens
Q Display drawing, pen 0 only
W Display drawing, pen 1 only
E Display drawing, pen 2 only
R Display drawing, pen 3 only
T Display drawing, pen 4 only
Y Display drawing, pen 5 only
S Stop path finding prematurely
Esc Exit running program
< Decrease the total number of lines drawn
> Increase the total number of lines drawn
g Generate GCode with lines as displayed
G Display grid
t Redistribute percentage of lines drawn by each pen evenly
y Redistribute 100% of lines drawn to pen 0 ( Black/White/Sharpie )
9 Change distribution of lines drawn (lighten)
0 Change distribution of lines drawn (darken)
1 Increase percentage of lines drawn by pen 0
2 Increase percentage of lines drawn by pen 1
3 Increase percentage of lines drawn by pen 2
4 Increase percentage of lines drawn by pen 3
5 Increase percentage of lines drawn by pen 4
6 Increase percentage of lines drawn by pen 5
shift 0 Decrease percentage of lines drawn by pen 0
shift 1 Decrease percentage of lines drawn by pen 1
shift 2 Decrease percentage of lines drawn by pen 2
shift 3 Decrease percentage of lines drawn by pen 3
shift 4 Decrease percentage of lines drawn by pen 4
shift 5 Decrease percentage of lines drawn by pen 5
{ Change Copic marker sets, increment
} Change Copic marker sets, decrement

Examples of drawings made with this software: http://dullbits.com/drawbot/gallery

You can’t perform that action at this time.