Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Current start gcode for InfimechTx printer has the wrong index for Y when creating the Y purge line. Under a rare case if the Y purge line is too small it causes the printer to fault out ( this happened to me). Also under some circumstances the purge line can be backwards.
Updated start gcode to use right index for the first_layer_print_min Y value
Was:
G1 X{first_layer_print_min[0]-1.5} Y{min(first_layer_print_min[0] + 60,print_bed_max[0])} F6000
Updated with fix :
G1 X{first_layer_print_min[0]-1.5} Y{min(first_layer_print_min[1] + 60,print_bed_max[0])} F6000
Screenshots/Recordings/Graphs
Without fix purge line backwards 200mm x 30mm primitive
Y Purge line small and causes printer to error out with MCU error saying MCU is behind:
Tests
Same print after fix, purge line is now correctly 60x60