Skip to content

Commit

Permalink
version bump and readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rmeno12 committed Jan 14, 2022
1 parent 7fc93ec commit 17e166a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,15 @@ $ pip3 install gcodepy
```
Note that `gcodepy` has only been tested with Python 3.X and no guarantees are made about compatibility with the deprecated Python 2.X.

## Examples
One of the most interesting things to do with `gcodepy` is to do toolhead movements using mathematical functions.
For example, you can make your printer go in a spiral:
![zspiral image](imgs/zspiral.png)
This example is defined in `examples/zspiral.py`.
For more examples, check the `examples` folder.

## Planned features
- cleaner interfacing for absolute movements
- more examples
- cleaner gcode output (particularly feedrates)
- better interfacing for absolute movements
- better detection + handling of invalid inputs/movements

Binary file added imgs/zspiral.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = gcodepy
version = 0.1.0
version = 0.1.1
author = Rahul Menon
author_email = [email protected]
description = Tool to generate g-code for Marlin based printers
Expand Down
1 change: 1 addition & 0 deletions src/gcodepy/gcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# TODO:
# minimize feedrate output
# draw absolute
# travel func
# catch more invalid inputs
class Gcode:
def __init__(
Expand Down

0 comments on commit 17e166a

Please sign in to comment.