Przeglądaj źródła

Add the move_z_after_probing() functionality to UBL's G29 J

Roxy-3D 7 lat temu
rodzic
commit
1d7dd0edfd
No account linked to committer's email address
1 zmienionych plików z 11 dodań i 3 usunięć
  1. 11
    3
      Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp

+ 11
- 3
Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp Wyświetl plik

1562
             incremental_LSF(&lsf_results, PROBE_PT_3_X, PROBE_PT_3_Y, measured_z);
1562
             incremental_LSF(&lsf_results, PROBE_PT_3_X, PROBE_PT_3_Y, measured_z);
1563
           }
1563
           }
1564
         }
1564
         }
1565
-
1565
+        
1566
+        STOW_PROBE();
1567
+        #ifdef Z_AFTER_PROBING
1568
+          move_z_after_probing();
1569
+        #endif
1570
+        
1566
         if (abort_flag) {
1571
         if (abort_flag) {
1567
           SERIAL_ECHOPGM("?Error probing point.  Aborting operation.\n");
1572
           SERIAL_ECHOPGM("?Error probing point.  Aborting operation.\n");
1568
           return;
1573
           return;
1618
 
1623
 
1619
           zig_zag ^= true;
1624
           zig_zag ^= true;
1620
         }
1625
         }
1621
-        STOW_PROBE();
1622
       }
1626
       }
1623
-
1627
+      STOW_PROBE();
1628
+      #ifdef Z_AFTER_PROBING
1629
+        move_z_after_probing();
1630
+      #endif
1631
+      
1624
       if (abort_flag || finish_incremental_LSF(&lsf_results)) {
1632
       if (abort_flag || finish_incremental_LSF(&lsf_results)) {
1625
         SERIAL_ECHOPGM("Could not complete LSF!");
1633
         SERIAL_ECHOPGM("Could not complete LSF!");
1626
         return;
1634
         return;

Ładowanie…
Anuluj
Zapisz