updated readme

This commit is contained in:
2020-11-22 15:24:15 +01:00
parent d61b4aa218
commit f70ccf1e78

View File

@@ -2,6 +2,10 @@
Split a Cura generated GCode file into several files. Split a Cura generated GCode file into several files.
Tested with GCode files from
* Cura 3.5.1
* Cura 4.7.1
## Features ## Features
* Split by layer number or layer Z position * Split by layer number or layer Z position
@@ -10,11 +14,9 @@ Split a Cura generated GCode file into several files.
## Requirements ## Requirements
* Python 3.7 * Python 3.7
* pipenv
## Usage ## Usage
* Run `pipenv sync`
* Edit the `__main__` part at the bottom of `GcodeFileSplitter.py` * Edit the `__main__` part at the bottom of `GcodeFileSplitter.py`
```python ```python
GcodeFileAnalyzer.SplitFileAtLayers( GcodeFileAnalyzer.SplitFileAtLayers(
@@ -25,4 +27,4 @@ GcodeFileAnalyzer.SplitFileAtLayers(
* The Z position where to split the file can be given in layer number (starting with 0) or in millimeters (value must match an actual layer z position in the gcode file) * The Z position where to split the file can be given in layer number (starting with 0) or in millimeters (value must match an actual layer z position in the gcode file)
* Execute `GcodeFileSplitter.py` * Execute `GcodeFileSplitter.py`
* E.g.: `pipenv run python GcodeFileSplitter.py` * E.g.: `python GcodeFileSplitter.py`