diff --git a/OpenCNCPilot/MainWindow.xaml b/OpenCNCPilot/MainWindow.xaml
index 4023989..3741fda 100644
--- a/OpenCNCPilot/MainWindow.xaml
+++ b/OpenCNCPilot/MainWindow.xaml
@@ -13,214 +13,219 @@
DataContext="{Binding RelativeSource={RelativeSource Self}}"
PreviewKeyDown="Window_PreviewKeyDown"
Title="{Binding WindowTitle,Mode=OneWay}" Height="{util:SettingBinding WindowHeight}" Width="{util:SettingBinding WindowWidth}" Closing="Window_Closing">
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
-
-
-
+
+
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
You can only Jog as long as this textbox has the keyboard focus
Use the arrow keys for XY movement (Right/Up is the positive direction for X/Y)
Use PgUp/Down for Z movement
The motion will stop when you release the button (not 100% stable at the moment)
Esc will issue a soft reset
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Tool Length Offsets:
1) load inital tool
2) move machine to tool length sensor
@@ -230,165 +235,167 @@
6) change tool
7) move to TLS and touch off again (new tool needs to be at same height as initial tool)
8) hit 'Apply TLO', this will use the position of the last received probe message and the saved position from earlier to compute the correct offset
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- OpenCNCPilot by martin2250
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OpenCNCPilot by martin2250
Project Page
Help
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/OpenCNCPilot/MainWindow.xaml.cs b/OpenCNCPilot/MainWindow.xaml.cs
index 0158721..901f9c1 100644
--- a/OpenCNCPilot/MainWindow.xaml.cs
+++ b/OpenCNCPilot/MainWindow.xaml.cs
@@ -343,6 +343,13 @@ private void ButtonResetViewport_Click(object sender, RoutedEventArgs e)
viewport.Camera.UpDirection = new System.Windows.Media.Media3D.Vector3D(0, 0, 1);
}
+ private void ButtonLayFlatViewport_Click(object sender, RoutedEventArgs e) // deHarro, 2024-08-23
+ {
+ viewport.Camera.Position = new System.Windows.Media.Media3D.Point3D(0, 10, 250);
+ viewport.Camera.LookDirection = new System.Windows.Media.Media3D.Vector3D(0, 1, -250);
+ viewport.Camera.UpDirection = new System.Windows.Media.Media3D.Vector3D(0, 0, 1);
+ }
+
private void ButtonRestoreViewport_Click(object sender, RoutedEventArgs e)
{
string[] scoords = Properties.Settings.Default.ViewPortPos.Split(';');
diff --git a/OpenCNCPilot/Properties/AssemblyInfo.cs b/OpenCNCPilot/Properties/AssemblyInfo.cs
index f46a144..822aa89 100644
--- a/OpenCNCPilot/Properties/AssemblyInfo.cs
+++ b/OpenCNCPilot/Properties/AssemblyInfo.cs
@@ -49,5 +49,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.5.12.0")]
-[assembly: AssemblyFileVersion("1.5.12.0")]
+[assembly: AssemblyVersion("1.5.13.0")]
+[assembly: AssemblyFileVersion("1.5.13.0")]