-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a couple of bugs Added documentation and available models list
- Loading branch information
Showing
6 changed files
with
84 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,3 @@ __pycache__/ | |
*.egg-info/ | ||
dist/ | ||
build/ | ||
README_new.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -620,7 +620,7 @@ copy of the Program in return for a fee. | |
|
||
|
||
gcode2zaxe <https://github/egeakman/gcode2zaxe> | ||
Copyright (C) 2022 Ege Akman <[email protected]> | ||
Copyright (C) 2022 Ege Akman <[email protected]> | ||
|
||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Affero General Public License as published | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,39 @@ | ||
Docs coming soon! | ||
# gcode2zaxe | ||
|
||
A CLI application that converts gcode files to Zaxe print-ready files. You can use it from the command line after installing it. The executable name is `g2z`. **Don't forget to star the project on [GitHub](https://github.com/egeakman/gcode2zaxe).** | ||
|
||
## Installation | ||
|
||
Run: ``python -m pip install --upgrade gcode2zaxe`` | ||
|
||
## Usage | ||
|
||
* Show help: ``g2z -h`` | ||
|
||
* Convert gcode file to zaxe file: ``g2z -g <gcode_file_path>`` | ||
|
||
## Optional Parameters | ||
|
||
* ``-n, --name:`` Output file base name. Defaults to the gcode file name -> (``-g <gcode_file_path>``). | ||
|
||
* ``-f, --filament:`` Filament type. Defaults to ``zaxe_pla``. Materials mostly start with ``zaxe_``. | ||
|
||
* ``-d, --nozzle_diameter:`` Nozzle diameter. Defaults to ``0.4``. | ||
|
||
* ``-m, --model:`` Zaxe printer model. Defaults to ``X1``. See available models in the [models list](https://github.com/egeakman/gcode2zaxe/blob/master/resources/models.json). | ||
|
||
## Contributing | ||
|
||
* If you have any suggestions or found any bugs, please open an issue or create a pull request. | ||
|
||
* Don't hesitate to open an issue if you have any questions about the code. | ||
|
||
## Footnotes | ||
|
||
* This application does not guarantee that the output file will be valid or compatible with the printer. | ||
|
||
* Use at your own risk. I take no responsibility for any damage to your printer. | ||
|
||
* This application has no affiliation with Zaxe or its affiliates. | ||
|
||
* This project is licensed under the [AGPLv3 license](https://raw.githubusercontent.com/egeakman/gcode2zaxe/master/LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"models": { | ||
"Zaxe X1": "X1", | ||
"Zaxe X1+": "X1_plus", | ||
"Zaxe X2": "X2", | ||
"Zaxe X3": "X3", | ||
"Zaxe XLite": "X_lite", | ||
"Zaxe Z1": "Z1", | ||
"Zaxe Z1+": "Z1_plus", | ||
"Zaxe Z3": "Z3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters