refactoring

This commit is contained in:
Nikolay Khabarov
2017-06-12 00:52:11 +03:00
parent 0fe98f4cca
commit 98bf7e914e
23 changed files with 448 additions and 405 deletions
+10 -8
View File
@@ -30,11 +30,13 @@ perfect choice for easy development of this project.
Video demo - [YouTube video](https://youtu.be/vcedo59raS4)
# Current command support
G0, G1, G2, G3, G4, G17, G18, G19, G20, G21, G28, G53, G90, G91, G92, M2, M3,
M5, M30
Commands can be easily added, see [gmachine.py](./cnc/gmachine.py) file.
Four axis are supported - X, Y, Z, E
# Current gcode support
Commands G0, G1, G2, G3, G4, G17, G18, G19, G20, G21, G28, G53, G90, G91, G92, M2, M3,
M5, M30 are supported. Commands can be easily added, see
[gmachine.py](./cnc/gmachine.py) file.
Four axis are supported - X, Y, Z, E.
Spindle with rpm control is supported.
Circular interpolation for XY, ZX, YZ planes is supported.
# Config
All configs are stored in [config.py](./cnc/config.py) and contain hardware
@@ -47,8 +49,8 @@ So having Raspberry Pi connected this way, there is no need to configure
pin map for project.
# Hardware
Currently, this project supports Raspberry Pi 1-3. Tested with RPI2 and RPI3.
But there is a way to add new boards. See [hal.py](./cnc/hal.py) file.
Currently, this project supports Raspberry Pi 1-3. Developed and tested with
RPI3. And there is a way to add new boards. See [hal.py](./cnc/hal.py) file.
_Note: Current Raspberry Pi implementation uses the same resources as on board
3.5 mm jack(PWM module), so do not use it. HDMI audio works._
@@ -67,7 +69,7 @@ sudo pip remove pycnc
```
# Performance notice
Pure Python interpreter wouldn't provide great performance for high speed
Pure Python interpreter would not provide great performance for high speed
machines. Overspeeding setting causes motors mispulses and probably lose of
trajectory. According to my tests, Raspberry Pi 2 can handle axises with 400
pulses on mm with top velocity ~800 mm per min. There is always way out! :)