Chiplotle is an HPGL Python API.
Project description
Chiplotle
Chiplotle is a Python library that implements and extends the HPGL (Hewlett-Packard Graphics Language) plotter control language. It supports all the standard HPGL commands as well as our own more complex "compound HPGL" commands, implemented as Python classes. Chiplotle also provides direct control of your HPGL-aware hardware via a standard usb<->serial port interface.
Chiplotle has been tested with a variety of HPGL devices from various companies, including Hewlett-Packard, Roland Digital Group, Houston Instrument, etc. It includes plotter-specific configuration files for many different plotter models, as well as a generic configuration that should work with any HPGL-compliant device.
Chiplotle is written and maintained by Victor Adan and Douglas Repetto.
Chiplotle has been updated to Python 3 by Cyprien Heusse. This updated version has been tested on several different computers and operating systems (MacOS Intel & M1, Linux Mint & Raspbian, Windows). Some information depending on the OS you install this library on:
- On Linux you will probably need to add yourself to the "dialout" group, to do so simply type
sudo usermod -a -G dialout user
. - On MacOS using M1 processor, you might need to reinstall Numpy for the library to work, to do so
pip uninstall numpy
andpip install numpy
.
Find all there is to know about Chiplotle at: http://sites.music.columbia.edu/cmc/chiplotle/
More information at: https://chiplotle.readthedocs.io/
The code for this version of Chiplotle is available at: https://github.com/cyprienh/chiplotle3
Installation
If you only want to use the command chiplotle3
it is recommended to install using pipx
:
pipx install chiplotle3
TODO
- When using the chiplotle3 command, would be nice if plotter instanciation prints happened after the banner
- Automatically update pip when pushing to GitHub
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file chiplotle3-0.4.4.tar.gz
.
File metadata
- Download URL: chiplotle3-0.4.4.tar.gz
- Upload date:
- Size: 92.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf09f454d447acdf5bd1466fbcb91b56938c25b20a481920e39eb4d95fed8e51 |
|
MD5 | 217039d34f41995a115e63dd50e51598 |
|
BLAKE2b-256 | 427a84cb6e53e7405a14b691df66be880b3fb7e4e551fe27d4ee489c72f8338c |