From 439f6684bee4f4cd884e24cd6f5409632c9ab2f9 Mon Sep 17 00:00:00 2001
From: Kevin O'Connor <kevin@koconnor.net>
Date: Wed, 26 Sep 2018 08:16:40 -0400
Subject: [PATCH] config: Move some sections around in example-extras.cfg

Move the quad_gantry_level description closer to z_tilt section.  Move
the force_move section closer to the homing_override section.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
---
 config/example-extras.cfg | 102 ++++++++++++++++++++------------------
 1 file changed, 53 insertions(+), 49 deletions(-)

diff --git a/config/example-extras.cfg b/config/example-extras.cfg
index 1ec4a1cbc..9eed29931 100644
--- a/config/example-extras.cfg
+++ b/config/example-extras.cfg
@@ -174,6 +174,48 @@
 #   The distance (in mm) to retract between each sample if
 #   sampling more than once.  Default is 2mm.
 
+
+# Moving gantry leveling using 4 independently controlled Z motors.
+# Corrects hyperbolic parabola effects (potato chip) on moving gantry
+# which is more flexible.
+# WARNING: Using this on a moving bed may lead to undesirable results.
+# If this section is present then a QUAD_GANTRY_LEVEL extended G-Code
+# command becomes available. This routine assumes the following Z motor
+# configuration:
+# ----------------
+# |Z1          Z2|
+# |  ---------   |
+# |  |       |   |
+# |  |       |   |
+# |  x--------   |
+# |Z           Z3|
+# ----------------
+# Where x is the (0,0) point on the bed
+#[quad_gantry_level]
+#gantry_corners:
+#   A newline separated list of X,Y coordinates describing the
+#   two opposing corners of the gantry. The first entry corresponds to
+#   Z, the second to Z2.
+#   This parameter must be provided.
+#points:
+#   A newline separated list of four X,Y points that should be probed
+#   during a QUAD_GANTRY_LEVEL command.
+#   Order of the locations is important, and should correspond to Z,Z1
+#   Z2, and Z3 location in order.
+#   This parameter must be provided.
+#   For maximum accuracy, ensure your probe offsets are configured.
+#speed: 50
+#   The speed (in mm/s) of non-probing moves during the calibration.
+#   The default is 50.
+#horizontal_move_z: 5
+#   The height (in mm) that the head should be commanded to move to
+#   just prior to starting a probe operation. The default is 5
+#samples: 1
+#   Number of probe samples per point. The defaut is 1
+#sample_retract_dist: 2.0
+#   Distance in mm to retract the probe between samples. Default is 2.
+
+
 # In a multi-extruder printer add an additional extruder section for
 # each additional extruder. The additional extruder sections should be
 # named "extruder1", "extruder2", "extruder3", and so on. See the
@@ -608,6 +650,7 @@
 #   to an appropriate sensitivity value.) The default is to not enable
 #   sensorless homing.
 
+
 # Configure a TMC2208 (or TMC2224) stepper motor driver via single
 # wire UART. To use this feature, define a config section with a
 # "tmc2208" prefix followed by the name of the corresponding stepper
@@ -770,6 +813,15 @@
 #   axis. The default is to not force a position for an axis.
 
 
+# Support manually moving stepper motors for diagnostic purposes.
+# Note, using this feature may place the printer in an invalid state -
+# see docs/G-Codes.md for important details.
+#[force_move]
+#enable_force_move: False
+#   Set to true to enable FORCE_MOVE and SET_KINEMATIC_POSITION
+#   extended G-Code commands. The default is false.
+
+
 # A virtual sdcard may be useful if the host machine is not fast
 # enough to run OctoPrint well. It allows the Klipper host software to
 # directly print gcode files stored in a directory on the host using
@@ -836,6 +888,7 @@
 #   The pin connected to 'kill' button. This button will call
 #   emergency stop.
 
+
 # Custom thermistors (one may define any number of sections with a
 # "thermistor" prefix). A custom thermistor may be used in the
 # sensor_type field of a heater config section. (For example, if one
@@ -912,15 +965,6 @@
 #   name in the above list.
 
 
-# Support manually moving stepper motors for diagnostic purposes.
-# Note, using this feature may place the printer in an invalid state -
-# see docs/G-Codes.md for important details.
-#[force_move]
-#enable_force_move: False
-#   Set to true to enable FORCE_MOVE and SET_KINEMATIC_POSITION
-#   extended G-Code commands. The default is false.
-
-
 # G-Code macros (one may define any number of sections with a
 # "gcode_macro" prefix).
 #[gcode_macro my_cmd]
@@ -933,43 +977,3 @@
 # Replicape support - see the generic-replicape.cfg file for further
 # details.
 #[replicape]
-
-# Moving gantry leveling using 4 independently controlled Z motors.
-# Corrects hyperbolic parabola effects (potato chip) on moving gantry
-# which is more flexible.
-# WARNING: Using this on a moving bed may lead to undesirable results.
-# If this section is present then a QUAD_GANTRY_LEVEL extended G-Code
-# command becomes available. This routine assumes the following Z motor
-# configuration:
-# ----------------
-# |Z1          Z2|
-# |  ---------   |
-# |  |       |   |
-# |  |       |   |
-# |  x--------   |
-# |Z           Z3|
-# ----------------
-# Where x is the (0,0) point on the bed
-#[quad_gantry_level]
-#gantry_corners:
-#   A newline separated list of X,Y coordinates describing the
-#   two opposing corners of the gantry. The first entry corresponds to
-#   Z, the second to Z2.
-#   This parameter must be provided.
-#points:
-#   A newline separated list of four X,Y points that should be probed
-#   during a QUAD_GANTRY_LEVEL command.
-#   Order of the locations is important, and should correspond to Z,Z1
-#   Z2, and Z3 location in order.
-#   This parameter must be provided.
-#   For maximum accuracy, ensure your probe offsets are configured.
-#speed: 50
-#   The speed (in mm/s) of non-probing moves during the calibration.
-#   The default is 50.
-#horizontal_move_z: 5
-#   The height (in mm) that the head should be commanded to move to
-#   just prior to starting a probe operation. The default is 5
-#samples: 1
-#   Number of probe samples per point. The defaut is 1
-#sample_retract_dist: 2.0
-#   Distance in mm to retract the probe between samples. Default is 2.