fix wait time calculation

This commit is contained in:
kwan.nguyen 2024-10-31 10:43:24 +07:00
parent 05a0eab829
commit 181b4447ce
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ namespace PCUT.Extensions
{ {
var lengthX = Math.Abs(maxX - moveCommand.X); var lengthX = Math.Abs(maxX - moveCommand.X);
builder.AddHpglMove(moveCommand.X, moveCommand.Y, ref maxX); builder.AddHpglMove(moveCommand.X, moveCommand.Y, ref maxX);
length += (lengthX + (heightUnit / UnitLength)) * 0.75; length += (lengthX + heightUnit) * 0.75;
break; break;
} }
case LineCommand lineCommand: case LineCommand lineCommand: