Code Monkey home page Code Monkey logo

drawbot_image_to_gcode_v2's Introduction

Drawbot_image_to_gcode_v2

Drawbot_image_to_gcode_v2 example output

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
p Load next "Path Finding Module" (PFM)
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
1 Display drawing, pen 0 only
2 Display drawing, pen 1 only
3 Display drawing, pen 2 only
4 Display drawing, pen 3 only
5 Display drawing, pen 4 only
6 Display drawing, pen 5 only
7 Display drawing, pen 6 only
8 Display drawing, pen 7 only
9 Display drawing, pen 8 only
0 Display drawing, pen 9 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 all gcode, SVGs, and PDFs with lines as displayed
G Toggle 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
7 Increase percentage of lines drawn by pen 6
8 Increase percentage of lines drawn by pen 7
9 Increase percentage of lines drawn by pen 8
0 Increase percentage of lines drawn by pen 9
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
shift 6 Decrease percentage of lines drawn by pen 6
shift 7 Decrease percentage of lines drawn by pen 7
shift 8 Decrease percentage of lines drawn by pen 8
shift 9 Decrease percentage of lines drawn by pen 9
shift 0 Decrease percentage of lines drawn by pen 0
{ Change Copic marker sets, increment
} Change Copic marker sets, decrement

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

drawbot_image_to_gcode_v2's People

Contributors

scott-cooper avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.