Commit Graph

158 Commits

Author SHA1 Message Date
Kevin O'Connor f00281d1e6 config: Fixes for generic-th3d-ezboard-lite-v1.2.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-06-08 21:29:52 -04:00
Luke's Lab 080b7f68ca config: Add generic-duet3-mini.cfg
Adds Duet3 Mini Config with support for expansion header

Signed-off-by: Luke Ashley <Luke@Lukeslab.online>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-06-04 17:48:21 -04:00
Jason S. McMullan 913649de2e loop_sdcard: Add loopable SD card file sections
To support continuous belt printing, add nestable repeat
loop support via an `[sdcard_loop]` module.

Supported G-Code:
  - SDCARD_LOOP_BEGIN COUNT=n  ; Loop for N times, or infinitely if N is 0
  - SDCARD_LOOP_END            ; End of loop
  - SDCARD_LOOP_DESIST         ; Complete all loops without iterating

Marlin M808 compatibility example in `config/sample-macros.cfg`:
  - M808 Ln        ; Loop for N times, or infinitely if N is 0
  - M808           ; End of loop
  - M808 K         ; Complete all loops without iterating

Added unit tests in test/klippy/sdcard_loop.test

See https://reprap.org/wiki/G-code#M808:_Set_or_Goto_Repeat_Marker

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
2021-05-26 11:57:57 -04:00
Matthew Lloyd 93add3a095
config: Add printer-fokoos-odin5-f3.cfg (#4286)
Signed-off-by: Matthew Lloyd <github@matthewlloyd.net>
2021-05-12 15:00:06 -04:00
Kevin O'Connor 4799d05d42 config: Add generic-ruramps-v1.3.cfg to test cases and minor updates
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-12 10:25:41 -04:00
Kevin O'Connor c9e8298c36 config: Minor updates to printer-velleman-k8800-2017.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-06 11:38:31 -04:00
Jason S. McMullan 44387568f3 config: Add Creality CR-30 PrintMill support
Add support for the Creality CR-30 'PrintMill', and its base board,
the Creality v4.2.10.

Add them to the `test/klippy/printers.test` test suite

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
2021-05-06 11:07:18 -04:00
Tircown f2c74ec023
kinematics: Add hybrid-corexy and hybrid-corexz (#4229)
Signed-off-by: Fabrice GALLET <tircown@gmail.com>
2021-05-03 14:31:23 -04:00
George Fu fee386b8e2 config: add example configs for fysetc spider board
Signed-off-by: George Fu <nailao_5918@163.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-03 12:01:00 -04:00
Johannes Stuettgen ed6ab6b9cc screws_tilt_adjust: Add MAX_DEVIATION parameter for bed level invariant.
This is useful when a saved bed mesh is used to ensure that the bed level
has not drifted too far from where it was when the mesh was created.

Signed-off-by: Johannes Stuettgen <johannes.stuettgen@gmail.com>
2021-04-28 11:53:18 -04:00
Kevin O'Connor dfccc872b1 test: Add printer-creality-cr6se-2021.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-22 21:18:45 -04:00
Kevin O'Connor c5f1835bec config: Add printer-flashforge-creator-pro-2018.cfg to test cases
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-16 13:58:24 -04:00
Kevin O'Connor dcf6d30aba config: Updates to printer-tronxy-x5sa-pro-2020.cfg
Minor updates to use default values.

Also, add to printers.test test cases.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-16 00:16:09 -04:00
Kevin O'Connor de8eb884b4 test: Add generic-bigtreetech-skr-2.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-13 21:08:24 -04:00
Demetrius Apostolopoulos bf01d6d1f8
config: Added config for Eryone Thinker Series (#4096)
Signed-off-by: Demetrius Apostolopoulos <dapostol73@hotmail.com>
2021-04-07 14:10:59 -04:00
Kevin O'Connor b0f94e50ee test: Add printer-hiprecy-leo-2019.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-07 18:58:08 -05:00
Kevin O'Connor a1072be7eb test: Add printer-flsun-q5-2020.cfg to printers.test and minor changes
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-22 15:29:34 -05:00
Kevin O'Connor 7e21350989 config: Rename generic-mks-robin-nano.cfg to generic-mks-robin-nano-v1.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-20 10:17:16 -05:00
Kevin O'Connor 83552f6ea6 config: Add example generic-mks-robin-nano-v2.cfg config
Reported by @mks-viva.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-20 10:17:16 -05:00
Kevin O'Connor 023eeceb2a config: Add example generic-mks-robin-nano-v3.cfg config
Reported by @mks-viva.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-20 10:17:16 -05:00
Kevin O'Connor 093db5172e test: Add printer-robo3d-r2-2017.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-19 11:15:49 -05:00
Kevin O'Connor 319c36df52 config: Update generic-bigtreetech-gtr.cfg
Add generic-bigtreetech-gtr.cfg to printers.test.  Add definitions for
thermocouple and temperature_mcu.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-12 17:48:49 -05:00
Kevin O'Connor dfd052511f config: Add generic-mks-rumba32-v1.0.cfg to tests
Also remove copy of lcds from sample-lcd.cfg

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-11 18:23:42 -05:00
Kevin O'Connor 3162f4746f test: Add printer-creality-ender3max-2021.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-02 18:16:40 -05:00
Kevin O'Connor bc137f3dd7 test: Add printer-creality-cr6se-2020.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-01-24 10:54:31 -05:00
Kevin O'Connor ee7230893d test: Add printer-longer-lk4-pro-2019.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-01-10 11:21:26 -05:00
Kevin O'Connor 750c157000 config: Add example generic-bigtreetech-skr-mini-mz.cfg config
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-01-09 18:30:04 -05:00
Kevin O'Connor f79187d726 config: Add example generic-bigtreetech-skr-e3-turbo.cfg config file
Reported by @kinggrave.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-01-05 12:04:37 -05:00
Kevin O'Connor 02ece242d1 config: Add example generic-fysetc-s6-v2.cfg config file
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-01-04 01:58:39 -05:00
Kevin O'Connor 074148d983 test: Add printer-creality-ender6-2020.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-21 11:08:24 -05:00
Kevin O'Connor 7dcc778b6c stepper: Calculate step_distance from rotation_distance
Add support for automatically calculating the internal step_distance
from new config parameters - rotation_distance, microsteps,
full_steps_per_rotation, and gear_ratio.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-18 10:30:32 -05:00
Pranas Kiziela 0bebdf11c2 config: Add example printer-twotrees-sapphire-plus-2020.cfg config
Signed-off-by: Pranas Kiziela <pranas.kiziela@gmail.com>
2020-12-15 08:52:24 -05:00
Kevin O'Connor 5773654a00 config: Minor changes to printer-sunlu-s8-2020.cfg
Remove default parameters from heater_fan section.  Add to
printers.test test cases.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-26 12:26:11 -05:00
Kevin O'Connor b24a547cfe config: Minor updates to printer-monoprice-select-mini-v2-2018.cfg
Minor indentation changes and remove default values for heater_fan.
Add to printers.test test cases.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-25 20:41:39 -05:00
Kevin O'Connor 15b5dbaf8f docs: Move config reference information to new Config_Reference.md
Move all the config reference information from files in the config/
directory to a new Config_Reference.md document.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-18 20:10:21 -05:00
Kevin O'Connor 0bf0cb5b54 config: Add a generic-creality-v4.2.7.cfg example config
Reported by @Feche and @yjh0502 .

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-09-29 12:00:09 -04:00
Guy Shapira a79c57ab29 test: Add pwm tests
Signed-off-by: Guy Shapira <gayuha@gmail.com>
2020-09-26 20:26:44 -04:00
Kevin O'Connor d0c5802fe2 config: Add printer-creality-ender3pro-2020.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-08-30 21:53:26 -04:00
Kevin O'Connor 1d201c3592 config: Minor updates to printer-tronxy-x5sa-v6-2019.cfg
Minor changes to default config and add to printers.test.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-08-30 13:04:40 -04:00
Oliver Fawcett-Griffiths bc30414362
config: Add example printer-tevo-tarantula-pro-2020.cfg config (#3225)
Signed-off-by: Oliver Fawcett-Griffiths <olly@ollyfg.com>
2020-08-23 08:35:01 -04:00
Kevin O'Connor 4c5e93d51d gcode: Split G0/G1 command handling to new gcode_move class
Split up the main GCodeParser class into GCodeDispatch and GCodeMove
classes.  The GCodeMove class is now available using the "gcode_move"
printer object name.  This split simplifies the gcode.py code.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-08-20 21:03:22 -04:00
Kevin O'Connor b2c78d71b0 gcode: Remove "action_" commands from get_status() calls
Rename printer.gcode.action_emergency_stop() to
action_emergency_stop(), printer.gcode.action_respond_info() to
action_respond_info(), and printer.gcode.action_respond_error() to
action_raise_error() in command templates.

This simplifies the get_status() interface, as returning callable
functions from that interface was confusing.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-08-20 21:03:22 -04:00
Kevin O'Connor 68e9a495dd config: Minor updates to printer-creality-ender3-v2-2020.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-08-02 16:27:31 -04:00
Voron 9213646c63
corexz: Add CoreXZ kinematics (#3129)
Add a CoreXZ kinematics

Signed-off-by: Maks Zolin <mzolin@vorondesign.com>
2020-07-30 12:42:23 -04:00
Kevin O'Connor 541665679e config: Add printer-creality-ender5plus-2019.cfg example config
Reported by @mihaiserban.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-06-25 12:45:47 -04:00
Kianusch Sayah Karadji 2ae6c220e3 config: Example configuration for MKS Robin E3D/E3
Signed-off-by: Kianusch Sayah Karadji <kianusch@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-06-25 12:37:10 -04:00
Kevin O'Connor 5d26c2a08e gcode_arcs: Add back in support for E moves in absolute extrude mode
This reverts commit 43fa41c1af.

The above commit disabled absolute extrude moves because it was
unclear if the code would work properly when an M221 extrude factor or
G92 offset was in use.  However, since the calculation is done
relative to the raw E position and is sent as a raw E position to
gcode.cmd_G1() these modes should not matter.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-06-04 15:25:17 -04:00
Kevin O'Connor 2da7d65402 config: Add example config printer-makergear-m2-2016.cfg
Reported by @N5QM.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-06-04 12:01:30 -04:00
Kevin O'Connor 3a3ea90ba5 config: Fixes for generic-bigtreetech-skr-mini-e3-v2.0.cfg
Add config file to printers.test.  Fix errors in config and unify
settings with the mini-e3-v1.2 config.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-06-04 11:46:57 -04:00
Kevin O'Connor c3b973319f config: Add printer-anet-e16-2019.cfg example config file
Reported by @dstack.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-05-11 12:34:58 -04:00