Line Track Designer
Line Track Designer is a library to design line following tracks for robots. With this tool, you can easily edit, save, share and print your tracks with a printer.
Tracks can be created in two different ways:
- with the command line interface (CLI)
- with the application programming interface in Python (API)
It uses a PDF file containing tiles to build tracks: PDF
Installation
Line Track Designer can be installed using pip:
pip3 install line-track-designer
Quickstart
For example, we consider a file named track.txt:
3;1 2;1 3;0
2;0 11;0 2;0
3;2 2;1 3;3
This file represents the following track:
This picture can be obtained with the following command:
linetrack show track.txt
You can also generate documentation for your track using this command:
linetrack savemd track.txt
It generates a markdown file with informations about the track. You can see an example here.
You can also use the API to create tracks:
import numpy as np
from line_track_designer.track import Track
# Arrays for the track
tiles = np.array([
[3, 2, 3],
[2, 11, 2],
[3, 2, 3]
])
orient = np.array([
[1, 1, 0],
[0, 0, 0],
[2, 1, 3]
])
# Creation of the track
track = Track(tiles, orient, 'Test track')
# Save the track
track.save_txt('track.txt')
# Make png file
track.save_img('track.png')
# Make markdown file
track.save_md('track.md', 'Easy track')
For more details, see the documentation here.
Links
- GitHub: https://github.com/Quentin18/Line-Track-Designer/
- PyPI: https://pypi.org/project/line-track-designer/
- Documentation: https://line-track-designer.readthedocs.io/en/latest/
- Travis: https://travis-ci.org/github/Quentin18/Line-Track-Designer/
- PDF file's author: http://robotsquare.com/
Author
Quentin Deschamps: quentindeschamps18@gmail.com
License
Metadata
Release files for line-track-designer 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| line-track-designer-0.0.2.tar.gz | 1.2 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| line_track_designer-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.4 MB
Release files / line-track-designer-0.0.2.tar.gz
| Download URL | line-track-designer-0.0.2.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e58c0db39a2acf586db9bac418a1a5b2fba7f0c94ef95813767f80341c66b1bd
|
|
BLAKE2b-256 checksum How to use checksums |
0f9a9b8a409158f677f1cc4ac8768c3245d5d05fbffb446810b7c81357842575
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Release files / line_track_designer-0.0.2-py3-none-any.whl
| Download URL | line_track_designer-0.0.2-py3-none-any.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7c20a4fb598bfcc905778390b61ad443d2039f20fb8c79648f2a86518c3da604
|
|
BLAKE2b-256 checksum How to use checksums |
2fad90facdb6aa637370e3e2fd6986fc90c4a95d1c428c42254d8819a51ce64d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Security for line-track-designer 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.