From 181b4447ce212a18a07c67b3f05c206098e11cdb Mon Sep 17 00:00:00 2001 From: "kwan.nguyen" Date: Thu, 31 Oct 2024 10:43:24 +0700 Subject: [PATCH] fix wait time calculation --- PCUT/PCUT/Extensions/HpglExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PCUT/PCUT/Extensions/HpglExtensions.cs b/PCUT/PCUT/Extensions/HpglExtensions.cs index 7ca0799..88246c9 100644 --- a/PCUT/PCUT/Extensions/HpglExtensions.cs +++ b/PCUT/PCUT/Extensions/HpglExtensions.cs @@ -63,7 +63,7 @@ namespace PCUT.Extensions { var lengthX = Math.Abs(maxX - moveCommand.X); builder.AddHpglMove(moveCommand.X, moveCommand.Y, ref maxX); - length += (lengthX + (heightUnit / UnitLength)) * 0.75; + length += (lengthX + heightUnit) * 0.75; break; } case LineCommand lineCommand: