A simple gcode sender
Project description
A simple gcode sender
Features:
- fast (buffered)
- simple to use
- easy to tune to your device (one simple & clean Python file)
- works well on a raspberry pi (tested with "old" Python versions)
Usage: sgs <gcode_filename> <serial_device>
Note: if you see any output, it means there are errors occurring, try tweaking those two values:
BUFFER_SIZE = 10 # you can try to reduce this
BUFFER_FULL_PAUSE_DURATION = 0.01 # you can try to increase that
On the other hand, if you have a really fast hardware, you can do the opposite until you get some errors (prioritize BUFFER_FULL_PAUSE_DURATION over BUFFER_SIZE: buffered data may get replayed on error which may lead to undesired behavior (duplicate gcodes).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simple_gcode_sender-1.0.0.tar.gz.
File metadata
- Download URL: simple_gcode_sender-1.0.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.10-zen2-1-zen
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39cc0c08a634560341c41486cee414bfbe2acb9ad2703ce3ce3b160e95ceab8e
|
|
| MD5 |
f9eac81ff1b8100afa07a31617c9e4b1
|
|
| BLAKE2b-256 |
b3602f10a40f08954d59c15b4d9f0bf9587aa70521be2bdfb070704cc37abed8
|
File details
Details for the file simple_gcode_sender-1.0.0-py3-none-any.whl.
File metadata
- Download URL: simple_gcode_sender-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.10-zen2-1-zen
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cea765d1f4aba40d87b449c31a23d03d942a87768ba6c0cde6fab8f4168d8d79
|
|
| MD5 |
42c7bea3af6b4c69d18a1a5eca5d2ad6
|
|
| BLAKE2b-256 |
da9f132cc1d4f6f1171e2b51abb379cc0d43f9b103c09b4355a9a973a0b68b8f
|