Skip to content

Commit

Permalink
Version 1.7.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
svenhb authored Feb 25, 2024
1 parent bc76d9c commit fc6a045
Show file tree
Hide file tree
Showing 40 changed files with 16,181 additions and 9,534 deletions.
11 changes: 6 additions & 5 deletions GRBL-Plotter/MachineControl/ControlProbing.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* GRBL-Plotter. Another GCode sender for GRBL.
This file is part of the GRBL-Plotter application.
Copyright (C) 2015-2023 Sven Hasemann contact: [email protected]
Copyright (C) 2015-2024 Sven Hasemann contact: [email protected]
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -32,6 +32,7 @@ You should have received a copy of the GNU General Public License
* 2023-12-01 add ProcessAutomation support
* 2023-12-06 add inverted logic for CF
* 2023-12-11 add fiducial correction
* 2024-02-23 limit digits in output
*/

using GrblPlotter.MachineControl;
Expand Down Expand Up @@ -1452,7 +1453,7 @@ private void AutomaticFiducialDetection()
OnRaiseXYEvent(new XYEventArgs(0, 1, teachPoint1 - probeOffset, "G90 G0"));
fiducialDetectionProgressCounter++;

info = string.Format("1) move to X:{0} Y:{1} with probe offset X:{2} Y:{3}", teachPoint1.X, teachPoint1.Y, probeOffset.X, probeOffset.Y);
info = string.Format("1) move to X:{0:0.000} Y:{1:0.000} with probe offset X:{2:0.000} Y:{3:0.000}", teachPoint1.X, teachPoint1.Y, probeOffset.X, probeOffset.Y);
TbSetPoints.Text += info + "\r\n";
if (showLog) Logger.Trace(info);
break;
Expand Down Expand Up @@ -1539,7 +1540,7 @@ private void AutomaticFiducialDetection()
OnRaiseXYEvent(new XYEventArgs(0, 1, teachPoint2 - probeOffset, "G90 G0")); // move to fiducial position
fiducialDetectionProgressCounter++;

info = string.Format("4) move to X:{0} Y:{1}", teachPoint2.X, teachPoint2.Y);
info = string.Format("4) move to X:{0:0.000} Y:{1:0.000}", teachPoint2.X, teachPoint2.Y);
TbSetPoints.Text += info + "\r\n";
if (showLog) Logger.Trace(info);
break;
Expand Down Expand Up @@ -1651,7 +1652,7 @@ private void AutomaticFiducialDetection()
if (CbProbeScale.Checked) { scale = 1; }

if (showLog) Logger.Trace("6) Fiducial detection angle1:{0:0.00} angle2:{1:0.00}", angle1, angle2);
if (showLog) Logger.Trace("6) Fiducial detection: 2) real X:{0:0.00} Y:{1:0.00} rotate:{2:0.00} scale:{3:0.00}", realPos2.X, realPos2.Y, angleResult, scale);
if (showLog) Logger.Trace("6) Fiducial detection: 2) real X:{0:0.000} Y:{1:0.000} rotate:{2:0.00} scale:{3:0.00}", realPos2.X, realPos2.Y, angleResult, scale);

OnRaiseXYEvent(new XYEventArgs(angleResult, scale, teachPoint1, "a")); // rotate arround TP1

Expand Down Expand Up @@ -1748,7 +1749,7 @@ private void ListFiducials()
TbSetPoints.Text = "Fiducial coordinates (mm):\r\n";
int i = 1;
foreach (XyPoint tmp in VisuGCode.fiducialsCenter)
{ TbSetPoints.Text += string.Format("{0}] X:{1:0.0} Y:{2:0.0}\r\n", (i++), tmp.X, tmp.Y); }
{ TbSetPoints.Text += string.Format("{0}] X:{1:0.000} Y:{2:0.000}\r\n", (i++), tmp.X, tmp.Y); }
TbSetPoints.Text += "--------------------------------------\r\n";
TbSetPoints.BackColor = default;
}
Expand Down
412 changes: 353 additions & 59 deletions GRBL-Plotter/MachineControl/ControlProcessAutomation.Designer.cs

Large diffs are not rendered by default.

599 changes: 599 additions & 0 deletions GRBL-Plotter/MachineControl/ControlProcessAutomation.Designer_new.cs

Large diffs are not rendered by default.

75 changes: 75 additions & 0 deletions GRBL-Plotter/MachineControl/ControlProcessAutomation.ar.resx
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,79 @@
<data name="$this.Text" xml:space="preserve">
<value>أتمتة العمليات</value>
</data>
<data name="deleteRowToolStripMenuItem.Text" xml:space="preserve">
<value>احذف صف</value>
</data>
<data name="moveRowUpToolStripMenuItem.Text" xml:space="preserve">
<value>نقل الصف لأعلى</value>
</data>
<data name="moveRowDownToolStripMenuItem.Text" xml:space="preserve">
<value>نقل الصف إلى الأسفل</value>
</data>
<data name="TbProcessInfo.Text" xml:space="preserve">
<value>أنشئ ملف XML بهذا التنسيق وقم بتحميله:</value>
</data>
<data name="BtnSaveIni.ToolTip" xml:space="preserve">
<value>يحفظ إعدادات هذه النافذة كملف INI</value>
</data>
<data name="BtnHelp.ToolTip" xml:space="preserve">
<value>مساعدة على الانترنت</value>
</data>
<data name="label7.Text" xml:space="preserve">
<value>ملء الطابع</value>
</data>
<data name="label6.Text" xml:space="preserve">
<value>عدد الأرقام</value>
</data>
<data name="label5.Text" xml:space="preserve">
<value>نتيجة:</value>
</data>
<data name="GbCounter.Text" xml:space="preserve">
<value>عداد</value>
</data>
<data name="ComboDelimiter.Items" xml:space="preserve">
<value>; فاصلة منقوطة</value>
</data>
<data name="ComboDelimiter.Items1" xml:space="preserve">
<value>: القولون</value>
</data>
<data name="ComboDelimiter.Items2" xml:space="preserve">
<value>القولون</value>
</data>
<data name="ComboDelimiter.Items3" xml:space="preserve">
<value>|</value>
</data>
<data name="ComboDelimiter.Items4" xml:space="preserve">
<value>\t علامة التبويب</value>
</data>
<data name="ComboDelimiter.ToolTip" xml:space="preserve">
<value>قم بتعيين محدد لفصل أعمدة البيانات</value>
</data>
<data name="LblDataLoaded.Text" xml:space="preserve">
<value>لا شئ</value>
</data>
<data name="BtnLoadData.Text" xml:space="preserve">
<value>تحميل البيانات</value>
</data>
<data name="label4.Text" xml:space="preserve">
<value>مؤشر البيانات</value>
</data>
<data name="BtnDataIndexClear.Text" xml:space="preserve">
<value>واضح</value>
</data>
<data name="GbData.Text" xml:space="preserve">
<value>بيانات</value>
</data>
<data name="BtnNew.Text" xml:space="preserve">
<value>جديد</value>
</data>
<data name="BtnSave.Text" xml:space="preserve">
<value>حفظ البرنامج النصي</value>
</data>
<data name="LblInfo.Text" xml:space="preserve">
<value>لم يتم تحميل أي برنامج نصي</value>
</data>
<data name="label2.Text" xml:space="preserve">
<value>الفاصل الزمني للمؤقت بالمللي ثانية للاستقصاء</value>
</data>
</root>
Loading

0 comments on commit fc6a045

Please sign in to comment.