plotink
Python helper routines for driving AxiDraw, EggBot, WaterColorBot, and similar plotter-based machines.
This repository maintained by Windell H. Oskay, Bantam Tools.
Source code and issue tracker are hosted at github.
Installation
Releases are available on PyPI.
To install the latest release, use pip install plotink
Overview
These library files are intended to provide a single place to edit routines that are common to the EggBot extensions for Inkscape, the WaterColorBot extensions for Inkscape, the AxiDraw extensions for Inkscape, and derivative machines. Hosting these in a single place means less duplication of code, and (more importantly) reduces the number of cases where identical code changes need to be made in multiple places.
The library files are:
- ebb_serial.py - General routines for communicating with the EiBotBoard by USB serial.
- ebb_motion.py - Motion-related routines for interacting with the robot.
- plot_utils.py - Additional helper functions for managing plots and their data.
- text_utils.py - Additional helper functions for managing text.
- rtree.py - Minimal R-tree spatial index class for calculating intersecting regions.
- spatial_grid.py - Specialized flat grid spatial index class for finding nearest neighbors.
Python version support
Latest version requires Python 3.6 or newer.
A previous release, Plotink version 1.0.1, supports python 2.7 as well.
Logging
This library uses the standard python logging module. Suggested configurations follow.
For stand-alone machine control, print info, warnings, and errors to stdout:
import logging
logging.basicConfig(level=logging.INFO, format='%(message)s')
For running as an Inkscape extension, print errors to Inkscape's extension errors log:
import logging
logging.basicConfig(level=logging.ERR,
format='%(message)s'),
filename = "~/.config/inkscape/extension-errors.log")
Metadata
Release files for plotink 1.14.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| plotink-1.14.3.tar.gz | 37.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| plotink-1.14.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 84.8 kB
Release files / plotink-1.14.3.tar.gz
| Download URL | plotink-1.14.3.tar.gz |
|---|---|
| Size | 37.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7cac111c06ee6a017e3d6184f138d54b7a3a489456ccef26ced5ffe5a3209848
|
|
BLAKE2b-256 checksum How to use checksums |
0376ab3c057edcbddb4438e70c0bdb9aaa12692874e98ff4231dadbf29f8baa7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / plotink-1.14.3-py3-none-any.whl
| Download URL | plotink-1.14.3-py3-none-any.whl |
|---|---|
| Size | 46.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f798cf61ecd27082d4cbdd93dfe0609d133870cd1c543e0a656575a6bbce438
|
|
BLAKE2b-256 checksum How to use checksums |
66710326d6263f828ce7e28bf2bbd16477c61ee1d463673e6e6edf74d8742cef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|