Scott Lahteine
44fa7fb18c
Cleanups for leveling-related code
6 years ago
Scott Lahteine
3583e2b449
Followup to Menu Refactor ( #12275 )
6 years ago
MasterPIC
6fbc87301f
'G29 H' to set a centered square probe area (linear, bilinear) ( #12242 )
6 years ago
Scott Lahteine
d556dc1865
Fix and improve EEPROM storage ( #12054 )
...
* Clean up Temperature PID
* Improve EEPROM read/write/validate
* Group `SINGLENOZZLE` saved settings
* Group planner saved settings
* Group filament change saved settings
* Group skew saved settings
* Group `FWRETRACT` saved settings
6 years ago
Scott Lahteine
07d33849b0
Fix unused var warning, apply ENABLED
6 years ago
Scott Lahteine
1718eff54a
Code changes supporting up to 6 extruders
6 years ago
Thomas Moore
c437bb08f1
Overhaul of the planner ( #11578 )
...
- Move FWRETRACT to the planner
- Combine leveling, skew, etc. in a single modifier method
- Have kinematic and non-kinematic moves call one planner method
6 years ago
Scott Lahteine
2a61c9a939
Various fixups to configs, spacing, etc.
6 years ago
Scott Lahteine
e05e95cf97
Clean trailing whitespace
7 years ago
Scott Lahteine
05518d6add
Add newline to end of file
7 years ago
Colin Gilgenbach
0fff79c24b
Fixes G29_with_retry behavior ( #11045 )
...
* Fix G29 (ABL) retry behavior
7 years ago
Scott Lahteine
a2a30ff0ac
Use Tool 0 for Dual X Axis G29
...
See https://github.com/MarlinFirmware/Marlin/issues/5597#issuecomment-397683325
7 years ago
Scott Lahteine
4832be52d7
Followup to G29 O
7 years ago
Robert Mendon
86170e6a66
[2.0.x] Add O (optional) flag to G28/G29 ( #10913 )
7 years ago
Eduardo José Tagle
6f330f397e
[2.0.x] Buffer overflow and scroll fix, UTF8 cleanup ( #10844 )
7 years ago
Scott Lahteine
c173a31060
Fix some compile warnings
7 years ago
Scott Lahteine
eb2eb72720
Modify UBL mesh_is_valid and use in leveling_is_valid ( #10746 )
7 years ago
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>
7 years ago
Scott Lahteine
306f0f2135
Move Stepper::synchronize to Planner ( #10713 )
...
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
ManuelMcLure
8679f671ed
Remove dependency on PI. ( #10701 )
7 years ago
Scott Lahteine
6671c064cd
Use arc moves for G26 if enabled ( #10696 )
...
Co-Authored-By: ManuelMcLure <manuelmclure@users.noreply.github.com>
7 years ago
Scott Lahteine
bfe223e120
Adjust usage of stepper.synchronize
7 years ago
Scott Lahteine
d7b699ec34
Fewer includes of vector_3.h
7 years ago
Scott Lahteine
05c33833e7
[2.0.x] Add NO_LCD_MENUS option ( #10582 )
7 years ago
Scott Lahteine
59fda986ea
Allow Z_AFTER_PROBING to be 0
7 years ago
Scott Lahteine
8db7fb226a
Fix M420 C for UBL
7 years ago
Scott Lahteine
a51ba6e3f6
Fix ABL grid bounds test for Delta/SCARA
...
Addressing #10538
7 years ago
Scott Lahteine
eef0248a1c
Add M420 C to adjust the whole mesh ( #10522 )
7 years ago
Scott Lahteine
cb46cb8480
Add HAS_HEATED_BED conditional ( #10495 )
7 years ago
Scott Lahteine
65a6a86d19
Don't report point 0 in MBL G29
7 years ago
Scott Lahteine
df2f24617b
Use 0 as the bed position (not Z_MIN_POS)
7 years ago
Scott Lahteine
0746aff595
Improve UBL mesh report. Add M420 T, M421 N
7 years ago
Scott Lahteine
99282a46e9
Make sure ABL (manual) starts close to the bed
7 years ago
Scott Lahteine
bb7064cc30
Tweak MBL move to bed code
7 years ago
Scott Lahteine
daa712455b
Make sure MBL starts close to the bed
...
Fix #10390
7 years ago
Scott Lahteine
aa20b3ef7c
Fix linear/3-point manual leveling buffer overrun
...
Fixes #10137
7 years ago
Scott Lahteine
bc45fb6b13
Tweak use of move_z_after_probing
7 years ago
Scott Lahteine
c352954882
Allow no raise after run_z_probe in probe_pt
7 years ago
Scott Lahteine
dd2949922b
Consolidate 3-point leveling point options
7 years ago
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.
7 years ago
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.
7 years ago
Scott Lahteine
3f89bbeab5
Drop a conditional only used once
7 years ago
Scott Lahteine
241e55ef3b
Apply SERIAL_FLUSH macro
7 years ago
Scott Lahteine
6a70a4fbb3
Fix G26 circles ( #9627 )
...
Easier to configure. Catch an odd divisor.
7 years ago
Roxy-3D
c78e1c0f23
Fix G26 Circles... ( #9641 )
...
* Fix G26 Circles...
7 years ago
Scott Lahteine
8d71ad37cb
flush comment to match 1.1.x
7 years ago
Scott Lahteine
e3043d7ac7
Fix #8744
7 years ago
Scott Lahteine
ca8fdff1af
Comment G26 properly
7 years ago
GMagician
338dac258b
[2.0.x] Fix compiler error when G26 is enabled ( #9492 )
7 years ago
Scott Lahteine
03bfc0d7c8
Merge pull request #9439 from thinkyhead/bf2_fix_G26_circle_bumps
...
[2.0.x] Change G26 circle angles
7 years ago
Scott Lahteine
2ea4e74ed3
Misc. comments
7 years ago
Scott Lahteine
e6cdc438fd
Change G26 circle angles
...
To prevent the nozzle from colliding with the printed pattern.
7 years ago
Scott Lahteine
a8764ac5d5
G26 parity with 1.1.x
7 years ago
Scott Lahteine
34160806c0
Fix broken G29 W I J
7 years ago
Scott Lahteine
e5ca60acf5
Patch G29 no_action for A and Q
7 years ago
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.
7 years ago
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'.
7 years ago
Scott Lahteine
60d07f20e7
Make mbl.has_mesh() a method
7 years ago
Scott Lahteine
86818c9a89
Move MBL functions into the class
7 years ago
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
7 years ago
Scott Lahteine
4ef965cc40
Fix compiler warnings
7 years ago
Scott Lahteine
9e8008c49c
Fixes for G29, esp. 3POINT
7 years ago
Scott Lahteine
f2731c9f93
Allow consecutive uses of G29
7 years ago
Scott Lahteine
4b49ea1e92
General cleanup of config-store, reset_bed_level
7 years ago
Scott Lahteine
a71d2f3f40
UBL_DELTA => UBL_SEGMENTED
7 years ago
Scott Lahteine
73e32925e4
References are better for array args
7 years ago
Scott Lahteine
204199e1ce
Only compare XYZ to check motion
7 years ago
Scott Lahteine
7d2e850577
Have M420 report a changed position
7 years ago
Scott Lahteine
03ba79f144
Sync and report changed position
7 years ago
Scott Lahteine
90cf6a06be
Simplify G26 user_canceled
7 years ago
Scott Lahteine
c846388a65
Standardize LCD interface code for UBL a little
7 years ago
Scott Lahteine
2fde60da12
Changes for parity with 1.1.x
7 years ago
Scott Lahteine
f4b16a3bac
Update M49.cpp
7 years ago
Ben Lye
1f3ad461bc
Update M49.cpp
...
Fix M49 so that it does not hang the terminal console.
7 years ago
Scott Lahteine
0786b61ce7
Followup to #8575
7 years ago
Scott Lahteine
276271e72f
Make MBL work more like PROBE_MANUALLY
7 years ago
Roxy-3D
e48fcad615
change G26 and G29 bit function names to avoid HAL collision
7 years ago
Scott Lahteine
41ec449960
Fix G26 error return
7 years ago
Scott Lahteine
b49acce035
Tweaks for lcd_external_control
7 years ago
Roxy-3D
ec04cf27d3
Fix the G26 out of scope identifiers in the v2.0.0 branch ( #8543 )
...
These changes may need to be warmed over. I tried to fix things with
the least amount of disruption. I just wanted to get the bugfix_v2.0.0
branch working for people again.
7 years ago
Scott Lahteine
c6b0c104bb
Adapt G26 to work for all meshes
7 years ago
Scott Lahteine
c19eb33408
Move G26 to gcode sub-folder
7 years ago
Scott Lahteine
0cfb936dd1
Clarify some motion code
7 years ago
Colten Edwards
a6160916b0
[2.0] Fix M48 for delta printers/ABL compile issue ( #8286 )
...
* fix M48 for delta printers
fix M48 for delta printers. home printer if not already homed.
* remove ENABLED(DELTA)
remove ENABLED(DELTA) as it is not needed.
* Update M48.cpp
* abl needs queue.h
without queue.h abl will not compile since there is a script that runs at the end of it and we need to queue it up.
7 years ago
Scott Lahteine
85a62bbf46
Misc. fixes to compiler warnings, etc.
7 years ago
Scott Lahteine
f8393a0908
Operate in Native Machine Space
7 years ago
Roxy-3D
72156a2029
change to better (more clear) names ( #8050 )
...
set_destination_to_current() changed to set_destination_from_current()
set_current_to_destination() changed to set_current_from_destination()
7 years ago
Roxy-3D
5439358281
Basic UBL operations working on 32-bit platforms ( #8024 )
...
* 32-bit work for UBL
* Update FT i3-2020 reference file
7 years ago
Scott Lahteine
c0dddd4233
Tweaks to tool_change, GcodeSuite::T()
7 years ago
Scott Lahteine
1344ca4b2f
UBL no longer needs ubl_state
7 years ago
Scott Lahteine
3e3911fb81
Use planner.leveling_active for all leveling systems
7 years ago
Scott Lahteine
9a930ebec2
Make leveling_is_active a macro
7 years ago
Scott Lahteine
90af1fe5ee
Implement NO_MOTION_BEFORE_HOMING option
7 years ago
Scott Lahteine
931aa79d85
Move G42 to cpp
7 years ago
Scott Lahteine
551752eac7
Consolidate "bedlevel" code
7 years ago