Scott Lahteine
35258dd50b
Consistent heating status and status reset
...
Fix #10699
2018-05-13 17:18:19 -05:00
Scott Lahteine
08e36e264e
Apply _AXIS macro
2018-05-13 06:51:01 -05:00
Scott Lahteine
99ecdf59af
Smarter MIN, MAX, ABS macros
...
Use macros that explicitly avoid double-evaluation and can be used for any datatype, replacing `min`, `max`, `abs`, `fabs`, `labs`, and `FABS`.
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-13 04:52:56 -05:00
Scott Lahteine
8f8c6a9bc4
Move get_axis_position_mm to Planner ( #10718 )
2018-05-12 09:59:11 -05:00
Scott Lahteine
f5aaa2d6c0
Fix some compiler warnings
2018-05-12 05:28:12 -05:00
Scott Lahteine
625035a9ce
Fix M301 access to lpq_len ( #10714 )
...
Co-Authored-By: Zwaubel
2018-05-12 02:13:40 -05:00
Scott Lahteine
306f0f2135
Move Stepper::synchronize to Planner ( #10713 )
...
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-12 01:38:02 -05:00
ManuelMcLure
8679f671ed
Remove dependency on PI. ( #10701 )
2018-05-11 17:55:56 -05:00
Scott Lahteine
6671c064cd
Use arc moves for G26 if enabled ( #10696 )
...
Co-Authored-By: ManuelMcLure <manuelmclure@users.noreply.github.com>
2018-05-11 02:15:14 -05:00
Scott Lahteine
c43235dd39
Remove non-special comments
2018-05-11 00:36:04 -05:00
ManuelMcLure
613a3be167
Remove hidden dependencies on destination. Fixes #10686 . ( #10691 )
2018-05-11 00:30:51 -05:00
Scott Lahteine
b76344c080
More Trinamic cleanup
2018-05-10 00:12:10 -05:00
Giuliano
44f3a6dc3b
[2.0.x] Add missing axes to M911, M912 ( #10668 )
2018-05-09 17:58:11 -05:00
Scott Lahteine
19f189b4e5
Add UBL support for G2/G3 and G5 ( #10648 )
2018-05-08 11:10:45 -05:00
Scott Lahteine
bfe223e120
Adjust usage of stepper.synchronize
2018-05-06 01:24:14 -05:00
Scott Lahteine
af1950a63e
Improve sync of stepper positions
2018-05-06 01:24:14 -05:00
Scott Lahteine
d7b699ec34
Fewer includes of vector_3.h
2018-05-01 07:05:18 -05:00
Scott Lahteine
05fca752d6
Clean up autostart handling
2018-05-01 01:35:57 -05:00
Scott Lahteine
05c33833e7
[2.0.x] Add NO_LCD_MENUS option ( #10582 )
2018-04-30 21:16:31 -05:00
Scott Lahteine
59fda986ea
Allow Z_AFTER_PROBING to be 0
2018-04-30 03:25:47 -05:00
Scott Lahteine
9e0d99c0c6
Round all floats in string conversion functions ( #10566 )
2018-04-29 00:51:36 -05:00
Scott Lahteine
cd08f01bb4
Fix M421 comment in gcode.h
2018-04-28 11:16:52 -05:00
Scott Lahteine
8db7fb226a
Fix M420 C for UBL
2018-04-28 08:14:20 -05:00
Marcio Teixeira
724e9f56c8
Removed "const" to match parser. ( #10548 )
2018-04-27 17:48:52 -05:00
Giuliano
2e1939e85c
[2.0.x] report error on unsupported commands ( #10553 )
...
Raise an error when an unknown/unsupported G/M command is requires.
This will address #10546
2018-04-27 17:40:27 -05:00
Scott Lahteine
a51ba6e3f6
Fix ABL grid bounds test for Delta/SCARA
...
Addressing #10538
2018-04-27 02:23:10 -05:00
Scott Lahteine
63e0b36f8b
Fix G29_RECOVER_COMMANDS typo
2018-04-27 02:23:10 -05:00
Scott Lahteine
eef0248a1c
Add M420 C to adjust the whole mesh ( #10522 )
2018-04-25 06:43:45 -05:00
Marcio Teixeira
02a711c4d6
[2.0.x] Fix crash upon repeated calls to process_subcommands_now_P ( #10509 )
2018-04-24 13:44:22 -05:00
Scott Lahteine
f06c3c38b9
Fix M0_M1 with no LCD
2018-04-24 09:22:05 -05:00
Scott Lahteine
f423e54f77
Strip trailing spaces
2018-04-23 18:00:43 -05:00
Scott Lahteine
cb46cb8480
Add HAS_HEATED_BED conditional ( #10495 )
2018-04-23 17:13:01 -05:00
Scott Lahteine
1c3d49afe0
Fix G28 with Z_AFTER_PROBING
...
Fix #10476
2018-04-22 01:23:26 -05:00
Scott Lahteine
023385ca59
Merge pull request #10479 from thinkyhead/bf2_creality_power_loss_resume
...
[2.0.x] Creality3D Power-Loss Recovery
2018-04-22 00:17:44 -05:00
Scott Lahteine
3396671011
[2.0.x] Reset LCD status to fallbacks ( #10470 )
...
* Remove obsolete strings
* Tweak some static consts
* Reset LCD status to fallbacks
2018-04-22 00:16:30 -05:00
Scott Lahteine
11ab017dd0
Creality3D Power-Loss Recovery
2018-04-21 21:56:50 -05:00
Scott Lahteine
7dcd0a1cff
Add R parameter to G28 to specify pre-raise
2018-04-21 19:07:48 -05:00
Scott Lahteine
a90cbc6339
[2.0.x] Wait for bed heaters between probing ( #10472 )
2018-04-21 15:43:21 -05:00
Scott Lahteine
d8a8eec6ea
Add THERMAL_PROTECTION capability
...
Based on #10465
In response to `M115` the firmware reports if Thermal Protection is enabled (1) or not (0). This information can be used by software such as OctoPrint (more precisely the Printer Safety Check plugin) to warn users when Thermal Protection is not enabled in the firmware.
Co-Authored-By: andrivet <sebastien@advtools.com>
2018-04-20 16:50:50 -05:00
Scott Lahteine
65a6a86d19
Don't report point 0 in MBL G29
2018-04-20 13:12:50 -05:00
Marcio Teixeira
5cc7916e69
Add G29_RETRY_AND_RECOVER feature
...
- Add an option to retry G29, optionally executing a G-code procedure after each failed probe.
2018-04-19 19:45:53 -05:00
Scott Lahteine
78ea4871f9
Fix up enqueue now functions
...
…and apply to MALYAN_LCD.
2018-04-19 19:45:53 -05:00
Scott Lahteine
df2f24617b
Use 0 as the bed position (not Z_MIN_POS)
2018-04-17 20:32:56 -05:00
Scott Lahteine
52c024e260
M221 with no parameters report flow
2018-04-17 16:06:25 -05:00
Scott Lahteine
0746aff595
Improve UBL mesh report. Add M420 T, M421 N
2018-04-17 15:52:56 -05:00
Scott Lahteine
99282a46e9
Make sure ABL (manual) starts close to the bed
2018-04-13 20:19:30 -05:00
Scott Lahteine
3c5c6d478a
Prettify process_parsed_command
2018-04-13 00:23:11 -05:00
Scott Lahteine
bb7064cc30
Tweak MBL move to bed code
2018-04-12 22:43:02 -05:00
Scott Lahteine
daa712455b
Make sure MBL starts close to the bed
...
Fix #10390
2018-04-12 19:36:37 -05:00
Scott Lahteine
4c8751727a
Fix M118 parameter handling
...
Fix #10388
2018-04-12 19:10:04 -05:00
Luc Van Daele
646aa20b43
Overhaul of G33 Delta Calibration ( #8822 )
2018-04-11 21:14:48 -05:00
Luc Van Daele
ac2e0afb62
Low Point for delta calibration ( #10363 )
2018-04-11 18:59:46 -05:00
Sean
2d9b0a66fe
Add Filament Change accelerations
2018-04-09 23:57:27 -05:00
Scott Lahteine
8b8ad14178
Add Z_PROBE_LOW_POINT to prevent damage
2018-04-09 17:23:03 -05:00
Scott Lahteine
cea398849e
Tweak to gcode_line_error/return
2018-04-07 21:25:49 -05:00
Scott Lahteine
e8e60263c8
Scale feedrate (mm/s to deg/s) for SCARA
2018-04-06 19:47:48 -05:00
Marcio Teixeira
8bc93c6f2b
Improve heating/cooling LCD messages ( #10293 )
2018-04-04 18:29:27 -05:00
Scott Lahteine
241996d5d6
Merge pull request #10257 from thinkyhead/bf2_tool_change_debug
2018-04-02 19:33:45 -05:00
Scott Lahteine
adcb87f0db
Z Endstop Servo => Z Probe Servo
2018-04-01 23:54:21 -05:00
Scott Lahteine
1a75165f35
For set_z_fade_height use set_bed_leveling_enabled
2018-03-31 22:43:05 -05:00
Scott Lahteine
55e9b85ad6
Clear the "Wait for user" message set by M0/M1
...
See https://github.com/MarlinFirmware/Marlin/issues/10246#issuecomment-377146936
2018-03-29 18:38:12 -05:00
AnHardt
c1f58a238d
No delay in sensorless quick homing ( #10254 )
2018-03-29 16:10:20 -05:00
Scott Lahteine
1be955e52a
Alert users about low Z jerk values
2018-03-28 23:08:33 -05:00
Scott Lahteine
9e4c037cef
Wait before turning off PRINTER_EVENT_LEDS at print end ( #10248 )
2018-03-28 22:59:28 -05:00
Scott Lahteine
7b8bb2519e
Fix gcode_line_error call
...
Followup to 3007eee
2018-03-28 20:29:41 -05:00
Scott Lahteine
aa20b3ef7c
Fix linear/3-point manual leveling buffer overrun
...
Fixes #10137
2018-03-28 18:41:22 -05:00
Scott Lahteine
38378cd0e8
M218 with DELTA needs planner.h
...
Fix #10232
2018-03-28 17:05:14 -05:00
Scott Lahteine
3007eee22e
Require a checksum when writing to SD
...
From #10204 by @adriancuzman
2018-03-28 17:05:13 -05:00
Bob-the-Kuhn
9656a82609
Fix G53/CNC_COORDINATE_SYSTEMS compilation, Travis testing ( #10227 )
2018-03-28 14:14:39 -04:00
Rob Power
d1f14202a9
[2.0.x] NANODLP_Z_SYNC requires linear axes ( #10240 )
2018-03-28 14:03:34 -04:00
Scott Lahteine
1cb810ff1c
[2.0.x] Automatically reset stepper timeout ( #10179 )
...
* Automatically reset stepper timeout in manage_inactivity
Any code that adds moves to the planner can skip resetting the stepper timeout. We can let `idle` / `manage_inactivity` reset the timer whenever it detects any moves in the planner.
* blocks_queued => has_blocks_queued
2018-03-21 19:30:06 -05:00
Scott Lahteine
045ee28c50
Tweaks to M915
2018-03-21 05:15:25 -05:00
Scott Lahteine
ff304d3767
Allow G53 to go back to native space
2018-03-21 01:38:25 -05:00
Scott Lahteine
bc45fb6b13
Tweak use of move_z_after_probing
2018-03-21 01:25:08 -05:00
Scott Lahteine
c352954882
Allow no raise after run_z_probe in probe_pt
2018-03-21 01:24:51 -05:00
Scott Lahteine
ae39fbd646
Also suppress keepalive with suspend_auto_report
2018-03-21 00:29:09 -05:00
Scott Lahteine
a46bac3100
Add 'I' parameter to M906/M913/M914; 'T' to M906/M913
2018-03-19 22:05:16 -05:00
Scott Lahteine
cfc13ed7f3
Quiet M906/M913/M914 with axes. Patch for DISTINCT_E_FACTORS.
2018-03-19 22:05:16 -05:00
Scott Lahteine
48d7036874
Consolidate smart stepper driver initialization
2018-03-19 22:05:16 -05:00
Scott Lahteine
dd2949922b
Consolidate 3-point leveling point options
2018-03-19 04:12:20 -05:00
Scott Lahteine
8922b56b58
Fix some spelingz
2018-03-16 01:25:41 -05:00
Scott Lahteine
a6feb58837
Delta support for multiple hotends with offsets ( #10118 )
2018-03-16 00:46:42 -05:00
TheSFReader
2e43438e0c
Add C parameter to M27 to include the long filename
...
In answer to #10001
Add an option to retrieve the currently open file name (long filename if possible).
2018-03-15 23:06:18 -05:00
Scott Lahteine
14c03cb6f4
[2.0.x] Make MIN_PROBE_EDGE a general option (for electronic probes) ( #10069 )
...
Some probes don't work near the edges of the bed. This change promotes MIN_PROBE_EDGE to a general setting that applies to all probing functions.
2018-03-13 01:15:22 -05:00
Scott Lahteine
5b45aab262
M218: report with no parameters
2018-03-12 08:14:35 -05:00
Scott Lahteine
28f1276286
[2.0.x] Add Z_AFTER_PROBING option ( #10058 )
...
Some "fix-mounted" probes need manual stowing. And after probing some may prefer to raise or lower the nozzle. This restores an old option but tailors it to allow raise or lower as preferred.
2018-03-11 13:07:55 -05:00
Scott Lahteine
bae1cb859c
Patch flush_and_request_resend for 1.1.x parity
2018-03-11 07:36:00 -05:00
Bob-the-Kuhn
0d8c15c01f
restore PR 9661 files & V1 fix
2018-03-10 22:46:32 -06:00
Scott Lahteine
751785fc97
Followup to recent patches
...
- `M666` is static, not inline
- Disambiguate some stepper macros
2018-03-10 21:41:17 -06:00
Scott Lahteine
f003173752
Fixup M666
...
Followup to d6df032
2018-03-10 19:52:30 -06:00
Bob-the-Kuhn
bf59a4a6df
Revert "[2.0.x] DUE compatibility with shared SPI LCDs, USB mass storage, add pin defs & update examples\MakerParts\Configuration.h"
2018-03-10 17:22:20 -06:00
Sebastianv650
fd1d590726
[2.0.x] Silence M204 ( #10037 )
...
`M204` is often used by slicers to set acceleration depending on perimeter, infill, etc., so Marlin's answers are flooding the serial windows. Silence `M204` according to the philosophy that setter commands should only send a reply if no parameter is given.
2018-03-10 07:16:55 -06:00
Scott Lahteine
d6df0322c2
Update M666 for XYZ dual endstops
2018-03-10 06:57:31 -06:00
Scott Lahteine
fbc41c0e98
Update Marlin G-code summary
2018-03-10 06:57:31 -06:00
Scott Lahteine
ddce486360
Merge pull request #10032 from thinkyhead/bf2_unknown_z_no_raise
...
[2.0.x] Add UNKNOWN_Z_NO_RAISE to prevent Z grinding
2018-03-10 00:57:30 -06:00
Scott Lahteine
419d12ca1b
Add UNKNOWN_Z_NO_RAISE option
...
With this option enabled, Z won't ever be raised until after `G28` has been completed, and it won't raise if Z becomes unknown. This is good for machines whose beds fall when Z is powered off.
2018-03-10 00:17:34 -06:00
Bob-the-Kuhn
914bb80bde
removed SDSS init
...
added device & comm drivers for shared SPI LCDs
mistyped some updates in ultralcd_impl_DOGM.h
remove unwanted changes in onfiguration.h
still can't type
Update HAL_LCD_class_defines.h
include USB mass storage & misc
2018-03-09 23:06:11 -06:00
Scott Lahteine
49ca67202f
Patch configuration_store for extra serial port
...
Fix #9948
2018-03-09 07:42:27 -06:00
Scott Lahteine
3c2bfa5e53
Update powersupply_on in power_on/off ( #10015 )
...
Fix #10004
2018-03-08 18:56:47 -06:00
Scott Lahteine
42608b1925
Init old_red to 127 to ensure initial change
...
Fix #10012
2018-03-08 18:28:33 -06:00