Commit Graph

134 Commits

Author SHA1 Message Date
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
Kevin O'Connor 1460e0d6f4 config: Add printer-sovol-sv01-2020.cfg example config
Reported by @lalek54.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-04-29 21:13:11 -04:00
Kevin O'Connor 5c9551dc72 test: Add printer-tronxy-p802m-2020.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-04-29 20:46:29 -04:00
Kevin O'Connor 8c2b62775d test: Fix commands.test so RESTART is run last
Commands after a RESTART aren't properly run on a test case, so only
run it last.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-04-28 22:53:12 -04:00
Kevin O'Connor 43fa41c1af gcode_arcs: Disable E moves in absolute extrude mode
Commit 402110f6 didn't actually fix absolute extrude mode.  For now,
report an error if an extrude move is requested in absolute extrude
mode.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-04-23 10:05:05 -04:00
Kevin O'Connor c7d6d81a4d test: Fix printer-tronxy-p802e-2020.cfg and add to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-04-14 22:19:08 -04:00
Kevin O'Connor 931b73d498 test: Add generic-ultimaker-ultimainboard-v2 to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-04-08 11:28:41 -04:00
Kevin O'Connor d6034013e7 config: Add example printer-alfawise-u30-2018.cfg config
Reported by @elegos.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-03-30 21:29:57 -04:00
Kevin O'Connor 336af2f28d stepper: No need to pass stepper_kinematics to set_step_dist()
Also, no need to log in stepper.py as the update is already logged in
extruder.py.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-03-28 10:06:02 -04:00
Kevin O'Connor 8f8cf7ef41 config: Add example printer-twotrees-sapphire-pro-2020.cfg config
Reported by @thucar.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-03-26 11:53:06 -04:00
Kevin O'Connor cb414ae914 config: Add example generic-mks-robin-nano.cfg config
Reported by @thucar.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-03-26 11:53:06 -04:00
Kevin O'Connor a074af7c87 adc_temperature: Add builtin definition for PT1000 sensors
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-03-05 11:46:01 -05:00
Kevin O'Connor 79ce3ef1c5 test: Add printer-wanhao-duplicator-9-2018.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-02-13 20:53:30 -05:00
Kevin O'Connor e3dde19932 test: Add generic-bigtreetech-skr-v1.4.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-01-28 12:16:05 -05:00
mtw3d 2b3ea29f30 config: Add example printer-mtw-create-2015.cfg config file
Signed-off-by: Mike Payson <mike@mtw3d.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-01-24 09:28:03 -05:00
Kevin O'Connor fe76fbe820 test: Add generic-simulavr.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-01-23 23:29:32 -05:00
Kevin O'Connor 6e020123c6 test: Add printer-monoprice-mini-delta-2017.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-01-23 23:29:32 -05:00
Kevin O'Connor 8bf3e56301 config: Add example generic-flyboard.cfg config file
Reported by @DJDOUBLEG.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-01-23 19:23:00 -05:00
Kevin O'Connor fc6d045ded config: Add example generic-archim2.cfg config
Signed-off-by: Mike Payson <mike@mtw3d.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-01-23 18:32:52 -05:00
Kevin O'Connor 0160a7db9a config: Add an example generic-mks-sgenl.cfg config
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-01-23 18:07:34 -05:00
Kevin O'Connor ff0324b0c2 config: Add generic-mightyboard.cfg
Reported by @fragginright.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-01-23 17:49:10 -05:00
Eug Krashtan b70416167b stm32f0: Remove hal based stm32f0 implementation
Signed-off-by: Eug Krashtan <eug.krashtan@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-01-14 17:08:01 -05:00
Arksine dc51788f9a test: update sample configs and test configs with new bed_mesh options
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2020-01-09 14:14:13 -05:00
Kevin O'Connor ac863a95b6 rotary_delta: Initial support for rotary delta kinematics
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-01-06 11:52:42 -05:00
Simo Apell 90bc1679a2 extruder_stepper: Initial support for synchronized extruder steppers
Signed-off-by: Simo Apell <simo.apell@live.fi>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-01-06 11:03:05 -05:00
Kevin O'Connor f3b4173e6b test: Use more descriptive mcu chip names
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-18 11:28:56 -05:00
Kevin O'Connor 6b6879e6bc test: Add generic-fysetc-s6.cfg to printer config test cases
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-18 11:28:30 -05:00
Kevin O'Connor ab5540bd34 config: Add printer-anet-a4-2018.cfg config file
Reported by @Alkarasu.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-15 22:12:58 -05:00
Kevin O'Connor fcee27fc19 gcode: Remove builtin T0/T1/T2/... command support
The builtin Tn command is not sufficiently flexible to control some
multi-extruder printers.  Remove the command and encourage users to
define individual gcode_macros for each Tn instance.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-10 14:24:32 -05:00
Kevin O'Connor 8b75bddc0f test: Add new delta_calibrate test case
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-05 14:48:52 -05:00
Kevin O'Connor 8e296db410 test: Add printer-wanhao-duplicator-i3-mini-2017.cfg to build tests
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-03 13:34:46 -05:00
Kevin O'Connor 86b074e1ee config: Rename example-multi-mcu.cfg to sample-multi-mcu.cfg
Rename the sample file to be more similar to the naming of other
files.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-24 20:21:13 -05:00
Kevin O'Connor 0b90337d59 config: Minor updates to printer-lulzbot-mini1-2016.cfg
Add to printers.test test case.  Don't disable the
max_extrude_cross_section check by default (users should verify they
want that safety feature off).

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-05 10:57:47 -05:00
Kevin O'Connor c11e4b74c2 config: Minor updates to printer-creality-cr20-pro-2019.cfg
Don't specify a default for pressure_advance.  Don't specify values
that are already at their default.  Add to printers.test test case.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-05 10:50:19 -05:00
Kevin O'Connor 739583a21b test: Add printer-lulzbot-taz6-dual-v3-2017.cfg to printers.test
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-30 12:46:03 -04:00
Kevin O'Connor 7b792e40d5 stm32f0: Rename internal build symbol from MACH_STM32F0 to MACH_STM32F0_HAL
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 21:16:35 -04:00
Kevin O'Connor b91993d6a4 config: Add generic-bigtreetech-skr-e3-dip.cfg config
Reported by @salimvanak.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 15:59:26 -04:00
Kevin O'Connor ef142af785 config: Rename config to generic-bigtreetech-skr-mini-e3-v1.0.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 15:04:15 -04:00
Kevin O'Connor 48530db50e test: Add generic-bigtreetech-skr-mini-e3-v1.2.cfg to config tests
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 15:01:34 -04:00
Kevin O'Connor 1d7f6e1c13 test: Add initial test case for gcode_arcs support
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-09-13 12:05:15 -04:00