Inkscape and WaterColorBot
- 1 Introduction
- 2 Getting the software
- 3 Special information for EggBot and AxiDraw users
- 4 Setting up your file
- 5 Extensions
- 6 Performance issues
- 7 For Developers
Inkscape is a superb, free vector graphics editor, for which we have written an extension (a plugin) to control the WaterColorBot. Our extension provides a fine grain level of control over exactly what will be painted, but more-or-less requires that you create the artwork within Inkscape to take full advantage of the features. The most important thing to know is that the Inkscape extension will paint all of the paths (lines) within your drawing. It will not automatically fill in any regions; any region that you wish to fill with paint will have to have (for example) a hatch fill that consists of lines, in order for the area to be colored in.
Inkscape is also capable of importing artwork in PDF format (as well as tracing bitmap graphics to some extent), and saving as SVG graphics that can be used with RoboPaint. Users who have experience with the Eggbot (and its Inkscape based driver) may wish to start with this application, before trying the others.
Getting the software
The WaterColorBot extensions for Inkscape are now included with the AxiDraw software installers. To install the software please follow the directions on that page.
If you have an older computer and cannot run Inkscape 1.0, please contact technical support for special installation instructions particular to your system.
Special information for EggBot and AxiDraw users
The WaterColorBot Control extension is based on the same software framework as the Eggbot and AxiDraw software. If you have had some experience with those, you will find most controls to be the same. In particular, you may have had some experience with making a multi-color drawing, by putting paths that you want to print in different colors on different layers.
The biggest difference between the these machines is that since the WaterColorBot can perform automatic paint color changes-- unlike the Eggbot or AxiDraw --it requires that you use multiple named layers when multicolor painting is enabled.
Setting up your file
The WaterColorBot Template / Making a new document
A WaterColorBot template is included with the software installation. To create a new document pre-formatted for the WaterColorBot, select from the menu: File > Templates... and select WaterColorBot from the list there.
The template is pre-sized at 11" wide x 8" tall, matching the printable area of the WaterColorBot (that is, for a sheet of 9x12 paper, without the margins shown). The template also comes pre-formatted with a layer structure that may help save you some time in preparing your document.
Default paint layers
The template comes with 9 (named but otherwise empty) layers that are intended to represent the 8 colors plus water wash.
In accordance with the way that the Control WaterColorBot extension works, the 9 default layers have names like "4-Yellow" and "1-Black" that represent both a paint position (4 and 1, respectively in those two cases) and the human-readable paint color (Yellow and Black, respectively in those two cases).
While layers can easily be re-ordered, the default stackup of the layers is in approximate order of darkness, with 4-Yellow at the bottom (meaning that it will be printed first) and 1-Black is near the top (meaning that it will be printed near the end).
If you will be using a painting mode that does not automatically change paint colors (e.g., pen/pencil mode), you can ignore the layer structure, and put your painting on any layer or combination of layers that you desire.
Working with layers
If there are multiple layers in your Inkscape Drawing, they will be printed in the order from bottom to top.
To paint with different colors (using either automatic or manual paint color changes), the different parts of your drawing that will be painted in different colors should be separated into layers as described below.
Preparing layers for automatic paint color changes
To paint with multiple colors, and have Inkscape automatically change the paint color as it goes, you need to do two things:
- Create one or more layers in Inkscape and assign them names that begin with integers, and
- Configure the WaterColorBot (in Control WaterColorBot) for painting with automatic paint color changes. (See NOTE 1 below.)
The integer can be in the range from 0 - 100, and that integer can be followed by any name or description that you like.
Only layers that begin with an integer in the range 0-8 will be painted with AutoChange enabled, and for each of those layers, the paint color will be determined by that leading integer, as follows:
- 0 - Water wash (no paint)
- 1 - Top paint pan (normally black)
- 2 - Second from top (red)
- 3 - 3rd from top (orange)
- 4 - 4th from top (yellow)
- 5 - 5th from top (green)
- 6 - 6th from top (blue)
- 7 - 7th from top (violet)
- 8 - bottom paint pan (brown)
- 9 or higher: ignored
For example, if you create four layers with the names:
- 2 - circles
- 2 - rectangles
- 5 - triangles
- 62 - zigzags
Then, the two layers that start with the "2" (the circles and the rectangles) will be painted in red, the triangles will be painted in green, and layer 62 (zigzags) will not be painted.
The order in which the layers will be painted is from bottom to top. You can add additional layers of any of the colors, and you can re-arrange the order of the layer to change the order in which the different colors are painted. For example, you can switch back and forth between two or more colors as desired.
NOTE 1: To configure the WaterColorBot to use automatic paint color changes:
- Select a painting mode in the "Modes" tab of Control WaterColorBot that has "AutoChange" enabled (e.g., Watercolor, Tempera, or manual with AutoChange selected), and
- Start your painting from the "Paint" tab (not the "Layers" tab) of Control WaterColorBot.
Preparing layers for manual paint color changes
The same layer structure can be used with manual color changes, for example, switching to different colors of watercolor pencil or permanent marker.
When doing so, select a painting mode in the "Modes" tab of Control WaterColorBot that does not have "AutoChange" enabled (e.g., Dip Pen, Watercolor Pencil or Pen/Pencil). Use the "Layers" tab in Control WaterColorBot rather than the "Paint" tab, to paint one layer at a time, and manually change the color after each layer that you paint.
Preparing a file that does not need color changes
There are a number of ways to use the WaterColorBot that do not require paint color changes. For example, if you are using the WaterColorBot to sketch or draw with a pen or pencil, or with a calligraphy brush that will only be dipped in black ink. In cases like these, without color changes, you can ignore the layer structure, and put your drawing on any layer or combination or layers that you desire.
To turn off automatic paint color changes, make sure that none of the "AutoChange" modes (e.g., Watercolor, Tempera, or manual with AutoChange selected) is enabled in the "Modes" tab. Then, you can begin your painting from either the "Layers" tab (to draw only the contents of one layer) or from the "Paint" tab (to draw the contents of all layers).
There are three Inkscape extensions installed as part of the WaterColorBot distribution.
Control WaterColorBot is the primary Inkscape extension for WaterColorBot, and of the three, is the one that actually talks to and drives the WaterColorBot.
The Hatch Fill extension (originally developed for the Eggbot project) is included in the WaterColorBot submenu, below Control WaterColorBot. This version has been slightly modified to have calibration in terms of lines per inch, rather than pixel steps.
Snap Colors to Layers (beta)
This new extension (still in beta test) can automatically assign colored paths to layers, making it possible for the WaterColorBot to semi-automatically paint them.
Pausing a plot in progress
The WaterColorBot has a useful feature which allows you to pause and resume your plots. By pressing the PRG button on the EBB (EiBotBoard), plotting is paused. You can then make adjustments including changing drawing speeds and pen up or down positions. After making any adjustments, you can resume the plot within the Resume tab. Note that you can even exit Inkscape. The Control WaterColorBot extension will automatically store plotting information in your drawing file. So, if you save the drawing file before exiting Inkscape, you can later resume your plot by relaunching Inkscape and re-opening your drawing.
There are actually two options in the Resume tab, to either resume the plot or only return the carriage to the home corner. If you use that feature to return to the home corner, you can still resume your plot from there.
The WaterColorBot extensions for Inkscape are maintained at our github repository.
Bugs and feature requests
Please use the issues page at our repository to report bugs and request new features for the WaterColorBot extensions for Inkscape.