aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Command_Templates.md
Commit message (Collapse)AuthorAgeFilesLines
* docs: Fix "QUERY_STATUS" typo in Command_Templates.mdKevin O'Connor2020-09-091-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: add get_status wrapper to probe for last_query from query_probe ↵Paul McGowan2020-09-091-0/+4
| | | | | | | command (#3296) Add get_status wrapper with last_query status for macros It is sometimes useful to determine the state of the probe from a macro. If the probe is connected to an endstop pin, the results can be obtained via QUERY_ENDSTOPS but if a physical endstop is in use in addition to the probe the probe state cannot be obtained. This change allows one to use QUERY_PROBE and then access the printer.probe.last_query object to obtain the state. Signed-off-by: Paul McGowan <mental405@gmail.com>
* docs: Document printer.gcode_move variables in Command_Templates.mdKevin O'Connor2020-08-201-7/+32
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Add idle_timeout get_status() info to Command_Templates.mdKevin O'Connor2020-08-201-0/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Remove "action_" commands from get_status() callsKevin O'Connor2020-08-201-21/+21
| | | | | | | | | | | | 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>
* docs: Note that printer.heater got changed to printer.heatersKevin O'Connor2020-04-261-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* configfile: Add get_status() to export raw config file informationKevin O'Connor2020-02-131-0/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* query_endstops: Add get_status() method that reports the last query stateKevin O'Connor2020-02-121-0/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update Command_templates.md - numbers in gcode_macro name must be at endKevin O'Connor2020-01-071-1/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Fix detection of some "extended" g-code commandsKevin O'Connor2020-01-071-3/+3
| | | | | | | Fix typo that resulted in _get_extended_params() being called for all commands. Allow "extended" g-code commands to contain numbers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Updates for gcode_macro naming (#2317)David Smith2020-01-061-1/+8
| | | | | Add note about numbers in macro names. Add note about variable name case restriction. Add set variable example. Signed-off-by: David O Smith <davidosmith@gmail.com>
* heater: Add PrinterHeater get_status() functionSimon Kühling2019-12-131-0/+7
| | | | | | | | Provide a list of available heater and sensor names to gcode macro templates through the printer.heater.available_heaters and printer.heater.available_sensors variables Signed-off-by: Simon Kühling <mail@simonkuehling.de>
* toolhead: Report which axes are homed via get_status()Kevin O'Connor2019-11-241-0/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: Report the current extruder from the get_status() methodKevin O'Connor2019-11-241-2/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Add documentation for [delayed_gcode]Arksine2019-07-011-0/+61
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* docs: Minor wording change to Command_Templates.mdKevin O'Connor2019-06-041-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fix github pages "liquid" rendering of Command_Templates.mdKevin O'Connor2019-06-041-0/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Add an initial Command_Templates.md documentKevin O'Connor2019-06-041-0/+186
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>