Skip to content

Commit

Permalink
Add NOZZLE_AS_PROBE option to disable limits on probe point and alway…
Browse files Browse the repository at this point in the history
…s use nozzle for XY
  • Loading branch information
InsanityAutomation committed Dec 4, 2019
1 parent 0832a60 commit 6560c3f
Show file tree
Hide file tree
Showing 126 changed files with 757 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/inc/Conditionals_post.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,11 @@
#define Z_SAFE_HOMING
#endif

// NOZZLE_AS_PROBE is a subset of FIX_MOUNTED_PROBE
#if ENABLED(NOZZLE_AS_PROBE)
#define FIX_MOUNTED_PROBE
#endif

/**
* DELTA should ignore Z_SAFE_HOMING and SLOWDOWN
*/
Expand Down
8 changes: 8 additions & 0 deletions Marlin/src/module/probe.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@
return (
#if IS_KINEMATIC
(X_CENTER) - probe_radius()
#elif ENABLED(NOZZLE_AS_PROBE)
MIN_PROBE_EDGE_LEFT, X_MIN_POS
#else
_MAX((X_MIN_BED) + (MIN_PROBE_EDGE_LEFT), (X_MIN_POS) + probe_offset.x)
#endif
Expand All @@ -94,6 +96,8 @@
return (
#if IS_KINEMATIC
(X_CENTER) + probe_radius()
#elif ENABLED(NOZZLE_AS_PROBE)
MIN_PROBE_EDGE_RIGHT, X_MAX_POS
#else
_MIN((X_MAX_BED) - (MIN_PROBE_EDGE_RIGHT), (X_MAX_POS) + probe_offset.x)
#endif
Expand All @@ -103,6 +107,8 @@
return (
#if IS_KINEMATIC
(Y_CENTER) - probe_radius()
#elif ENABLED(NOZZLE_AS_PROBE)
MIN_PROBE_EDGE_FRONT, Y_MIN_POS
#else
_MAX((Y_MIN_BED) + (MIN_PROBE_EDGE_FRONT), (Y_MIN_POS) + probe_offset.y)
#endif
Expand All @@ -112,6 +118,8 @@
return (
#if IS_KINEMATIC
(Y_CENTER) + probe_radius()
#elif ENABLED(NOZZLE_AS_PROBE)
MIN_PROBE_EDGE_BACK, Y_MAX_POS
#else
_MIN((Y_MAX_BED) - (MIN_PROBE_EDGE_BACK), (Y_MAX_POS) + probe_offset.y)
#endif
Expand Down
6 changes: 6 additions & 0 deletions config/default/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/3DFabXYZ/Migbot/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,12 @@
*/
#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/ADIMLab/Gantry v1/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/ADIMLab/Gantry v2/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/AlephObjects/TAZ4/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,12 @@
*/
#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/Alfawise/U20-bltouch/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -918,6 +918,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/Alfawise/U20/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -918,6 +918,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/AliExpress/CL-260/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/AliExpress/UM2pExt/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -866,6 +866,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/Anet/A2/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/Anet/A2plus/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/Anet/A6/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/Anet/A8/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/Anet/A8plus/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -866,6 +866,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/Anet/E16/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/AnyCubic/i3/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/ArmEd/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/Azteeg/X5GT/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/BIBO/TouchX/cyclops/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/BIBO/TouchX/default/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/BQ/Hephestos/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/BQ/Hephestos_2/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,12 @@
*/
#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/BQ/WITBOX/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/Cartesio/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/Creality/CR-10/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
6 changes: 6 additions & 0 deletions config/examples/Creality/CR-10S/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Utilize the nozzle as a probe for systems such as the Lulzbot
* conductive nozzle or a Piezeo Electric smart effector
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down
Loading

0 comments on commit 6560c3f

Please sign in to comment.