# meerk40t-barcodes
MeerK40t 0.8+ Barcode extension.
## Barcode-Extension
* Registers the console command: `qrcode` which will generate a qrcode
Usage: `qrcode x_pos y_pos dim code`
Arguments:
> x_pos X-position of qr-code
> y_pos Y-position of qr-code
> dim Width/length of qr-code
> code Text to create qr-code from
Options:
> --boxsize (-x) Boxsize (default 10)
> --border (-b) Border around qr-code (default 4)
> --version (-v) size (1..40)
> --errcorr (-e) error correction, one of L (7%), M (15%), Q (25%), H (30%)
* Registers the console command: `barcode` which will generate a barcode
Usage: `barcode x_pos y_pos dimx dimy btype code`
Arguments:
> x_pos X-Position of barcode
> y_pos Y-Position of barcode
> dim Width of barcode, may be 'auto' to keep native width
> dimy Height of barcode, may be 'auto' to keep native height
> btype Barcode type
> code The code to process
Options:
> --notext (-n) suppress text display
* GUI-Support
The installation of this tool will register a new button in the Design section of MeerK40t:
<img width="639" alt="image" src="https://user-images.githubusercontent.com/2670784/232893108-c2f4293c-f084-4d5b-8900-b4cbd74f0e38.png">
If you click on it then a dialog will pop up allowing you to design a qr-code / a barcode:
<img width="258" alt="image" src="https://user-images.githubusercontent.com/2670784/232893402-88694837-370a-4b34-a0b7-e9e2ac83c0bc.png">
This will create an element in Meerk40t that can be treated like any other regular path, but which will allow post-creation change of the underlying code (ie the barcode will be regenerated based on the new input).
<img width="432" alt="image" src="https://user-images.githubusercontent.com/2670784/232892296-c3cbae13-53d8-4143-9667-94cdc31cb4a5.png">
## Installation
* `pip install meerk40t-barcodes`
Or
* Download into a directory:
* `$ pip install .`
## Development
* If you are developing your own extension for meerk40t you will want to use:
* `$ pip install -e .` this installs the python module in edit mode which allows you to easily see and experience your changes. Without reinstalling your module.
## Acknowledgements
* This MeerK40t extension uses the work of two great libraries to create barcodes & QR codes:
* The python-barcode library (https://github.com/WhyNotHugo/python-barcode)
* The qrcode library (https://github.com/lincolnloop/python-qrcode)
Raw data
{
"_id": null,
"home_page": "https://github.com/meerk40t/meerk40t-barcodes",
"name": "meerk40t-barcodes",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "lasercutter, laser, vector, parser",
"author": "jpirnay",
"author_email": "tatarize@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/34/1d/76b1a378cbad272c415e86adec7e157da116eec18a1c95c29b6eaf6436d0/meerk40t-barcodes-0.2.7.tar.gz",
"platform": null,
"description": "# meerk40t-barcodes\r\n\r\nMeerK40t 0.8+ Barcode extension.\r\n\r\n## Barcode-Extension\r\n\r\n* Registers the console command: `qrcode` which will generate a qrcode\r\n\r\nUsage: `qrcode x_pos y_pos dim code`\r\n\r\nArguments:\r\n> x_pos X-position of qr-code\r\n> y_pos Y-position of qr-code\r\n> dim Width/length of qr-code\r\n> code Text to create qr-code from\r\n\r\nOptions:\r\n> --boxsize (-x) Boxsize (default 10)\r\n> --border (-b) Border around qr-code (default 4)\r\n> --version (-v) size (1..40)\r\n> --errcorr (-e) error correction, one of L (7%), M (15%), Q (25%), H (30%)\r\n\r\n* Registers the console command: `barcode` which will generate a barcode\r\n\r\nUsage: `barcode x_pos y_pos dimx dimy btype code`\r\n\r\nArguments:\r\n> x_pos X-Position of barcode\r\n> y_pos Y-Position of barcode\r\n> dim Width of barcode, may be 'auto' to keep native width\r\n> dimy Height of barcode, may be 'auto' to keep native height\r\n> btype Barcode type\r\n> code The code to process\r\n\r\n Options:\r\n> --notext (-n) suppress text display\r\n\r\n* GUI-Support\r\nThe installation of this tool will register a new button in the Design section of MeerK40t:\r\n\r\n<img width=\"639\" alt=\"image\" src=\"https://user-images.githubusercontent.com/2670784/232893108-c2f4293c-f084-4d5b-8900-b4cbd74f0e38.png\">\r\n\r\nIf you click on it then a dialog will pop up allowing you to design a qr-code / a barcode:\r\n\r\n<img width=\"258\" alt=\"image\" src=\"https://user-images.githubusercontent.com/2670784/232893402-88694837-370a-4b34-a0b7-e9e2ac83c0bc.png\">\r\n\r\nThis will create an element in Meerk40t that can be treated like any other regular path, but which will allow post-creation change of the underlying code (ie the barcode will be regenerated based on the new input).\r\n\r\n<img width=\"432\" alt=\"image\" src=\"https://user-images.githubusercontent.com/2670784/232892296-c3cbae13-53d8-4143-9667-94cdc31cb4a5.png\">\r\n\r\n## Installation\r\n\r\n* `pip install meerk40t-barcodes`\r\nOr\r\n* Download into a directory:\r\n* `$ pip install .`\r\n\r\n## Development\r\n\r\n* If you are developing your own extension for meerk40t you will want to use:\r\n* `$ pip install -e .` this installs the python module in edit mode which allows you to easily see and experience your changes. Without reinstalling your module.\r\n\r\n## Acknowledgements\r\n\r\n* This MeerK40t extension uses the work of two great libraries to create barcodes & QR codes:\r\n\r\n* The python-barcode library (https://github.com/WhyNotHugo/python-barcode)\r\n* The qrcode library (https://github.com/lincolnloop/python-qrcode)\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "MeerK40t Barcode Extension",
"version": "0.2.7",
"project_urls": {
"Homepage": "https://github.com/meerk40t/meerk40t-barcodes"
},
"split_keywords": [
"lasercutter",
" laser",
" vector",
" parser"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "309b84959b027d490ed6749f1e06cbb13c7c95b6244d15a6206c3869bd49e574",
"md5": "4478fe0a2d5a588f0dbdbc3c460e668a",
"sha256": "da394d2c14340dec2efbe41e91cab7fd8f02273754fe08c1989f2508863ec7ac"
},
"downloads": -1,
"filename": "meerk40t_barcodes-0.2.7-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "4478fe0a2d5a588f0dbdbc3c460e668a",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 20454,
"upload_time": "2024-06-14T10:50:10",
"upload_time_iso_8601": "2024-06-14T10:50:10.108669Z",
"url": "https://files.pythonhosted.org/packages/30/9b/84959b027d490ed6749f1e06cbb13c7c95b6244d15a6206c3869bd49e574/meerk40t_barcodes-0.2.7-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "341d76b1a378cbad272c415e86adec7e157da116eec18a1c95c29b6eaf6436d0",
"md5": "80838afe523d532f8cbede0725caea98",
"sha256": "c773b6144adfec042d459ffb5b204a804bd94bc88f70fa74ff3bb00f6e9b949b"
},
"downloads": -1,
"filename": "meerk40t-barcodes-0.2.7.tar.gz",
"has_sig": false,
"md5_digest": "80838afe523d532f8cbede0725caea98",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 20254,
"upload_time": "2024-06-14T10:50:18",
"upload_time_iso_8601": "2024-06-14T10:50:18.968418Z",
"url": "https://files.pythonhosted.org/packages/34/1d/76b1a378cbad272c415e86adec7e157da116eec18a1c95c29b6eaf6436d0/meerk40t-barcodes-0.2.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-14 10:50:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "meerk40t",
"github_project": "meerk40t-barcodes",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "meerk40t-barcodes"
}