Gross misuse of the Shapely library for arcane plotting purposes …

hatch
I’ve used Shapely before for more sensible things, but it’s a dab hand at driving anything Cartesian — like my old HP-7470A pen plotter. Here’s some crude code to draw shapes and hatches in HP-GL: hpgl-shapely_hatch.py.

More silliness like this in my other blog under the plotter tag.

Comments

One response to “Gross misuse of the Shapely library for arcane plotting purposes …”

  1. […] Who knows, I might even integrate it into Chiplotle. Eventually. (Update: though I have some code that does something […]

Leave a Reply

Your email address will not be published. Required fields are marked *