mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 22:08:02 +00:00
Merge pull request #8715 from thinkyhead/bf1_followup_8713
Followup to #8713
This commit is contained in:
commit
4aba382b01
@ -860,12 +860,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -880,12 +880,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -860,12 +860,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -979,12 +979,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -867,12 +867,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -851,12 +851,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -861,12 +861,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -851,12 +851,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -859,12 +859,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -870,12 +870,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -842,12 +842,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -842,12 +842,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -863,12 +863,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -875,12 +875,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -860,12 +860,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -864,12 +864,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -884,12 +884,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -864,12 +864,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -864,12 +864,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -860,12 +860,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -858,12 +858,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -872,12 +872,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -891,12 +891,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -916,12 +916,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -890,12 +890,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -860,12 +860,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -860,12 +860,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -870,12 +870,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -860,12 +860,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -990,12 +990,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -990,12 +990,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -977,12 +977,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -980,12 +980,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -980,12 +980,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -989,12 +989,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -874,12 +874,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -863,12 +863,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -855,12 +855,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
@ -865,12 +865,7 @@
|
|||||||
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
|
||||||
* A comprehensive bed leveling system combining the features and benefits
|
* A comprehensive bed leveling system combining the features and benefits
|
||||||
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
* of other systems. UBL also includes integrated Mesh Generation, Mesh
|
||||||
* Validation and Mesh Editing systems. Currently, UBL is only checked out
|
* Validation and Mesh Editing systems.
|
||||||
* for Cartesian Printers. That said, it was primarily designed to correct
|
|
||||||
* poor quality Delta Printers. If you feel adventurous and have a Delta,
|
|
||||||
* please post an issue if something doesn't work correctly. Initially,
|
|
||||||
* you will need to set a reduced bed size so you have a rectangular area
|
|
||||||
* to test on.
|
|
||||||
*
|
*
|
||||||
* - MESH_BED_LEVELING
|
* - MESH_BED_LEVELING
|
||||||
* Probe a grid manually
|
* Probe a grid manually
|
||||||
|
74
Marlin/ubl.h
74
Marlin/ubl.h
@ -205,25 +205,25 @@
|
|||||||
*/
|
*/
|
||||||
inline static float z_correction_for_x_on_horizontal_mesh_line(const float &rx0, const int x1_i, const int yi) {
|
inline static float z_correction_for_x_on_horizontal_mesh_line(const float &rx0, const int x1_i, const int yi) {
|
||||||
if (!WITHIN(x1_i, 0, GRID_MAX_POINTS_X - 1) || !WITHIN(yi, 0, GRID_MAX_POINTS_Y - 1)) {
|
if (!WITHIN(x1_i, 0, GRID_MAX_POINTS_X - 1) || !WITHIN(yi, 0, GRID_MAX_POINTS_Y - 1)) {
|
||||||
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
||||||
if (DEBUGGING(LEVELING)) {
|
if (DEBUGGING(LEVELING)) {
|
||||||
serialprintPGM( !WITHIN(x1_i, 0, GRID_MAX_POINTS_X - 1) ? PSTR("x1l_i") : PSTR("yi") );
|
serialprintPGM( !WITHIN(x1_i, 0, GRID_MAX_POINTS_X - 1) ? PSTR("x1_i") : PSTR("yi") );
|
||||||
SERIAL_ECHOPAIR(" out of bounds in z_correction_for_x_on_horizontal_mesh_line(rx0=", rx0);
|
SERIAL_ECHOPAIR(" out of bounds in z_correction_for_x_on_horizontal_mesh_line(rx0=", rx0);
|
||||||
SERIAL_ECHOPAIR(",x1_i=", x1_i);
|
SERIAL_ECHOPAIR(",x1_i=", x1_i);
|
||||||
SERIAL_ECHOPAIR(",yi=", yi);
|
SERIAL_ECHOPAIR(",yi=", yi);
|
||||||
SERIAL_CHAR(')');
|
SERIAL_CHAR(')');
|
||||||
SERIAL_EOL();
|
SERIAL_EOL();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return NAN;
|
return NAN;
|
||||||
}
|
}
|
||||||
|
|
||||||
const float xratio = (rx0 - mesh_index_to_xpos(x1_i)) * (1.0 / (MESH_X_DIST)),
|
const float xratio = (rx0 - mesh_index_to_xpos(x1_i)) * (1.0 / (MESH_X_DIST)),
|
||||||
z1 = z_values[x1_i][yi];
|
z1 = z_values[x1_i][yi];
|
||||||
|
|
||||||
return z1 + xratio * (z_values[x1_i < GRID_MAX_POINTS_X - 1 ? x1_i + 1 : x1_i][yi] - z1); // Don't allow x1_i+1 to be past the end of the array
|
return z1 + xratio * (z_values[min(x1_i, GRID_MAX_POINTS_X - 2) + 1][yi] - z1); // Don't allow x1_i+1 to be past the end of the array
|
||||||
// If it is, it is clamped to the last element of the
|
// If it is, it is clamped to the last element of the
|
||||||
// z_values[][] array and no correction is applied.
|
// z_values[][] array and no correction is applied.
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -231,25 +231,25 @@
|
|||||||
//
|
//
|
||||||
inline static float z_correction_for_y_on_vertical_mesh_line(const float &ry0, const int xi, const int y1_i) {
|
inline static float z_correction_for_y_on_vertical_mesh_line(const float &ry0, const int xi, const int y1_i) {
|
||||||
if (!WITHIN(xi, 0, GRID_MAX_POINTS_X - 1) || !WITHIN(y1_i, 0, GRID_MAX_POINTS_Y - 1)) {
|
if (!WITHIN(xi, 0, GRID_MAX_POINTS_X - 1) || !WITHIN(y1_i, 0, GRID_MAX_POINTS_Y - 1)) {
|
||||||
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
||||||
if (DEBUGGING(LEVELING)) {
|
if (DEBUGGING(LEVELING)) {
|
||||||
serialprintPGM( !WITHIN(xi, 0, GRID_MAX_POINTS_X - 1) ? PSTR("xi") : PSTR("yl_i") );
|
serialprintPGM( !WITHIN(xi, 0, GRID_MAX_POINTS_X - 1) ? PSTR("xi") : PSTR("y1_i") );
|
||||||
SERIAL_ECHOPAIR(" out of bounds in z_correction_for_y_on_vertical_mesh_line(ry0=", ry0);
|
SERIAL_ECHOPAIR(" out of bounds in z_correction_for_y_on_vertical_mesh_line(ry0=", ry0);
|
||||||
SERIAL_ECHOPAIR(", xi=", xi);
|
SERIAL_ECHOPAIR(", xi=", xi);
|
||||||
SERIAL_ECHOPAIR(", y1_i=", y1_i);
|
SERIAL_ECHOPAIR(", y1_i=", y1_i);
|
||||||
SERIAL_CHAR(')');
|
SERIAL_CHAR(')');
|
||||||
SERIAL_EOL();
|
SERIAL_EOL();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return NAN;
|
return NAN;
|
||||||
}
|
}
|
||||||
|
|
||||||
const float yratio = (ry0 - mesh_index_to_ypos(y1_i)) * (1.0 / (MESH_Y_DIST)),
|
const float yratio = (ry0 - mesh_index_to_ypos(y1_i)) * (1.0 / (MESH_Y_DIST)),
|
||||||
z1 = z_values[xi][y1_i];
|
z1 = z_values[xi][y1_i];
|
||||||
|
|
||||||
return z1 + yratio * (z_values[xi][y1_i < GRID_MAX_POINTS_Y - 1 ? y1_i + 1 : y1_i] - z1); // Don't allow y1_i+1 to be past the end of the array
|
return z1 + yratio * (z_values[xi][min(y1_i, GRID_MAX_POINTS_Y - 2) + 1] - z1); // Don't allow y1_i+1 to be past the end of the array
|
||||||
// If it is, it is clamped to the last element of the
|
// If it is, it is clamped to the last element of the
|
||||||
// z_values[][] array and no correction is applied.
|
// z_values[][] array and no correction is applied.
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -260,29 +260,15 @@
|
|||||||
*/
|
*/
|
||||||
static float get_z_correction(const float &rx0, const float &ry0) {
|
static float get_z_correction(const float &rx0, const float &ry0) {
|
||||||
const int8_t cx = get_cell_index_x(rx0),
|
const int8_t cx = get_cell_index_x(rx0),
|
||||||
cy = get_cell_index_y(ry0);
|
cy = get_cell_index_y(ry0); // return values are clamped
|
||||||
|
|
||||||
if (!WITHIN(cx, 0, GRID_MAX_POINTS_X - 1) || !WITHIN(cy, 0, GRID_MAX_POINTS_Y - 1)) {
|
|
||||||
|
|
||||||
SERIAL_ECHOPAIR("? in get_z_correction(rx0=", rx0);
|
|
||||||
SERIAL_ECHOPAIR(", ry0=", ry0);
|
|
||||||
SERIAL_CHAR(')');
|
|
||||||
SERIAL_EOL();
|
|
||||||
|
|
||||||
#if ENABLED(ULTRA_LCD)
|
|
||||||
strcpy(lcd_status_message, "get_z_correction() indexes out of range.");
|
|
||||||
lcd_quick_feedback();
|
|
||||||
#endif
|
|
||||||
return NAN;
|
|
||||||
}
|
|
||||||
|
|
||||||
const float z1 = calc_z0(rx0,
|
const float z1 = calc_z0(rx0,
|
||||||
mesh_index_to_xpos(cx), z_values[cx][cy],
|
mesh_index_to_xpos(cx), z_values[cx][cy],
|
||||||
mesh_index_to_xpos(cx + 1), z_values[cx < GRID_MAX_POINTS_X - 1 ? cx + 1 : cx][cy]);
|
mesh_index_to_xpos(cx + 1), z_values[min(cx, GRID_MAX_POINTS_X - 2) + 1][cy]);
|
||||||
|
|
||||||
const float z2 = calc_z0(rx0,
|
const float z2 = calc_z0(rx0,
|
||||||
mesh_index_to_xpos(cx), z_values[cx][cy < GRID_MAX_POINTS_Y - 1 ? cy + 1 : cy],
|
mesh_index_to_xpos(cx), z_values[cx][min(cy, GRID_MAX_POINTS_X - 2) + 1],
|
||||||
mesh_index_to_xpos(cx + 1), z_values[cx < GRID_MAX_POINTS_X - 1 ? cx + 1 : cx][cy<GRID_MAX_POINTS_Y - 1 ? cy + 1 : cy]);
|
mesh_index_to_xpos(cx + 1), z_values[min(cx, GRID_MAX_POINTS_X - 2) + 1][min(cy, GRID_MAX_POINTS_X - 2) + 1]);
|
||||||
|
|
||||||
float z0 = calc_z0(ry0,
|
float z0 = calc_z0(ry0,
|
||||||
mesh_index_to_ypos(cy), z1,
|
mesh_index_to_ypos(cy), z1,
|
||||||
|
Loading…
Reference in New Issue
Block a user