We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d430b7b + 0c762e0 commit bfb0930Copy full SHA for bfb0930
1 file changed
src/gcode/gcode_to_command.cpp
@@ -270,8 +270,11 @@ void VisitCommand::to_proto_path(const gcode::ast::G0_G1& command)
270
{
271
if (delta_e > 0)
272
273
+ // NOTE: A move may only have a single bead mode tag
274
move->tags.emplace_back(botcmd::Tag::Restart);
275
state.is_retracted = false;
276
+ proto_path.emplace_back(move);
277
+ return;
278
}
279
else
280
@@ -283,8 +286,11 @@ void VisitCommand::to_proto_path(const gcode::ast::G0_G1& command)
283
286
284
287
else if (delta_e < 0)
285
288
289
290
move->tags.emplace_back(botcmd::Tag::Retract);
291
state.is_retracted = true;
292
293
294
295
else if (delta_e == 0)
296
0 commit comments