We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac38934 commit 3d31d6eCopy full SHA for 3d31d6e
1 file changed
GCodeReaderWriter/GCodeReader.cs
@@ -189,11 +189,14 @@ private void ParseGCodeFile()
189
GCodeState gCodeState = new GCodeState(commandLines[0]);
190
foreach (string commandLine in commandLines.Skip(1))
191
{
192
+ bool[] objectUpdates = gCodeState.Update(commandLine);
193
+ bool workingPlaneChanged = objectUpdates[0], markingParamsChanged = objectUpdates[1], vectorBlockChanged = objectUpdates[2];
194
if (gCodeState.Update(commandLine))
195
196
switch (gCodeState.gCodeCommand)
197
198
case LinearInterpolationCmd linearCmd:
199
+ _currentVectorBlock.Vector
200
break;
201
202
case CircularInterpolationCmd circularCmd:
0 commit comments