Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 74 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,75 @@
# DrawingMachines
Code and instructions for operating the drawing machines at Foulab, mainly the plotters.
This repository contains code and instructions for operating the drawing machines at Foulab, mainly the plotters.


## Long instructions are boring, I want to plot something

- Plot a precreated file
- On a modern linux, git clone this repo
- Probe the plotter
- Load paper and pen
- Run the test and plot the test file
- Create a file and plot it
- Run this notebook, download the resulting file
- Plot the resulting file

Rejoice, you have plotted a drawing!

## Driving the plotter

The plotter understands HPGL, and it has to be fed this HPGL over a serial port. You can probably achieve this with most serial port communication programs, but a piece of software especially useful for this is Chiplotle.

Create a python3 virtual environment, and pip install Chiplotle3 (note that pip can also find the chiplotle package, but that is python 2 only)

Testing

Loading paper

Choosing paper

Choosing pens

## Making HPGL

A HPGL file for a specific drawing is plotter specific. The software vpype can be used to generate it, but it needs a configuration file specific to your plotter. You can get this file here.

Most plotters support 5-8 different pens. In general, registration is good so long as the paper is left in place, so an alternative method of changing pens is to just send separate drawing files.

Plot requests outside the paper area will be ignored by the plotter – performing this geometric trimming is quite slow, so it is best not to rely on it, but it is a nice safety feature.

The efficiency of carrying out a plot is related to the geometric instructions given to the plotter. For example, if it is instructed to jump repeatedly from one side of the paper to the other, this will make the plot slower, than if the lines are organized to minimized pen movement.

Remember this is a physical drawing. You may wish to consider ink and pen effects – e.g. the point where the pen started and ended is often slightly visible. If drawing many circles, and they all start from the same angle, this will be apparent in the final drawing. These effects may or may not be desirable depending on your artistic goal.

Vpype can be used to draw directly, but this is a bit clunky. It also reads SVG as input.

## Basic SVG manipulation - VPYPE

Vpype can be used to perform various simple manipulations which can be used to prepare a file for plotting. These include

### Sizing
### Layer manipulation
### Framing
### Adding text
### Assembling a page
### Optimizing plot paths

## Other SVG tools

### Inkscape

### Shapely

### Processing

## Plotter art – Case studies

### A postcard, including text

### Some geometry

### A map

### Rendering images 1: Simple Shading

### Rendering images 2: Single line drawings (TSP)