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
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
bfe223e120
Adjust usage of stepper.synchronize
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
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
8db7fb226a
Fix M420 C for UBL
2018-04-28 08:14:20 -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
eef0248a1c
Add M420 C to adjust the whole mesh ( #10522 )
2018-04-25 06:43:45 -05:00
Scott Lahteine
cb46cb8480
Add HAS_HEATED_BED conditional ( #10495 )
2018-04-23 17:13:01 -05:00
Scott Lahteine
65a6a86d19
Don't report point 0 in MBL G29
2018-04-20 13:12:50 -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
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
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
aa20b3ef7c
Fix linear/3-point manual leveling buffer overrun
...
Fixes #10137
2018-03-28 18:41:22 -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
dd2949922b
Consolidate 3-point leveling point options
2018-03-19 04:12:20 -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
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
3f89bbeab5
Drop a conditional only used once
2018-02-24 16:35:31 -06:00
Scott Lahteine
241e55ef3b
Apply SERIAL_FLUSH macro
2018-02-16 17:32:12 -06:00
Scott Lahteine
6a70a4fbb3
Fix G26 circles ( #9627 )
...
Easier to configure. Catch an odd divisor.
2018-02-15 22:11:26 -06:00
Roxy-3D
c78e1c0f23
Fix G26 Circles... ( #9641 )
...
* Fix G26 Circles...
2018-02-15 11:15:15 -06:00
Scott Lahteine
8d71ad37cb
flush comment to match 1.1.x
2018-02-14 02:56:18 -06:00
Scott Lahteine
e3043d7ac7
Fix #8744
2018-02-10 16:54:42 -06:00
Scott Lahteine
ca8fdff1af
Comment G26 properly
2018-02-06 00:58:28 -06:00
GMagician
338dac258b
[2.0.x] Fix compiler error when G26 is enabled ( #9492 )
2018-02-05 14:27:39 -06:00
Scott Lahteine
03bfc0d7c8
Merge pull request #9439 from thinkyhead/bf2_fix_G26_circle_bumps
...
[2.0.x] Change G26 circle angles
2018-02-04 19:05:18 -06:00
Scott Lahteine
2ea4e74ed3
Misc. comments
2018-02-04 17:40:39 -06:00
Scott Lahteine
e6cdc438fd
Change G26 circle angles
...
To prevent the nozzle from colliding with the printed pattern.
2018-02-03 19:17:49 -06:00
Scott Lahteine
a8764ac5d5
G26 parity with 1.1.x
2018-02-02 05:19:14 -06:00
Scott Lahteine
34160806c0
Fix broken G29 W I J
2018-02-01 21:37:35 -06:00
Scott Lahteine
e5ca60acf5
Patch G29 no_action for A and Q
2018-01-23 14:00:06 -06:00
Roxy-3D
bfd9728cf4
Serial buffer over run work around for v2.0.0 ( #9236 )
...
* Work around for serial buffer over run
PronterFace sends a lot of M105 commands. During long operations such
as UBL's G29 P1, G29 P2, G29 P4 and G26 this can over run the serial
buffer. This results (very often) in a M1 (actually a M1M105) ending
up in the command queue.
Until we figure out a better way to resolve this issue, this will keep
the UBL commands from experiencing bogus commands at thier completion.
2018-01-18 19:57:18 -06:00
Roxy-3D
f5f1b069ad
Convert UBL mesh tilting to all use the same algorithm ( #9204 )
...
A number of regressions were patched also. The UBL G29 P2 and P4 Press and Hold had stopped working. It is very possible this is broken in the bugfix_v1.1.x branch also.
The main purpose of the Pull Request is to get the 3-Point mesh tilting to use the LSF algorithm just like the grid based mesh tilt. This simplifies the logic and reduces the code size some what. But the real reason to do it is the 3-Point case can be solved exactly. And by feeding these numbers into the LSF algorithm it provides a way to check all that code for 'correctness'.
2018-01-16 11:08:00 -06:00
Scott Lahteine
60d07f20e7
Make mbl.has_mesh() a method
2018-01-07 00:13:36 -06:00
Scott Lahteine
86818c9a89
Move MBL functions into the class
2018-01-07 00:13:36 -06:00
Unknown
bbb8d4c802
Set has_mesh if user issues G9 S3
...
Prevents user from having to manually run through entire manual leveling process only to enable mesh so they can manually restore their offline mesh backup
2018-01-06 21:07:07 -08:00
Scott Lahteine
4ef965cc40
Fix compiler warnings
2017-12-25 08:53:01 -06:00
Scott Lahteine
9e8008c49c
Fixes for G29, esp. 3POINT
2017-12-25 08:37:27 -06:00
Scott Lahteine
f2731c9f93
Allow consecutive uses of G29
2017-12-25 06:32:33 -06:00
Scott Lahteine
4b49ea1e92
General cleanup of config-store, reset_bed_level
2017-12-25 05:16:01 -06:00
Scott Lahteine
a71d2f3f40
UBL_DELTA => UBL_SEGMENTED
2017-12-11 00:27:06 -06:00
Scott Lahteine
73e32925e4
References are better for array args
2017-12-11 00:27:06 -06:00
Scott Lahteine
204199e1ce
Only compare XYZ to check motion
2017-12-10 23:00:00 -06:00