Skip to content

Instantly share code, notes, and snippets.

@kevenwyld
Created January 31, 2022 01:59
Show Gist options
  • Save kevenwyld/1d2c3a466c2054e84530bf7257152bca to your computer and use it in GitHub Desktop.
Save kevenwyld/1d2c3a466c2054e84530bf7257152bca to your computer and use it in GitHub Desktop.
a short clip of some gcode trying to debug an issue where the print head does not decellerate on one corner.
M106 S221.85 ; enable fan
;WIPE_START
G1 X114.55 Y100.904 F15000 ; move inwards before travel
;WIPE_END
G1 X114.204 Y100.882 ; move to first External perimeter point (0.000000 == 1500.000000)
G1 F5760
M106 S224.4 ; enable fan
G1 X114.215 Y100.765 E0.00255 ; External perimeter
G1 X114.227 Y100.687 E0.00171 ; External perimeter
G1 X114.243 Y100.61 E0.00171 ; External perimeter
G1 X114.261 Y100.534 E0.00171 ; External perimeter
G1 X114.283 Y100.459 E0.00171 ; External perimeter
G1 X114.309 Y100.384 E0.00171 ; External perimeter
G1 X114.337 Y100.311 E0.00171 ; External perimeter
G1 X114.369 Y100.239 E0.00171 ; External perimeter
G1 X114.403 Y100.169 E0.00171 ; External perimeter
G1 X114.441 Y100.1 E0.00171 ; External perimeter
G1 X114.482 Y100.033 E0.00171 ; External perimeter
G1 X114.526 Y99.968 E0.00171 ; External perimeter
G1 X114.572 Y99.904 E0.00171 ; External perimeter
G1 X114.621 Y99.843 E0.00171 ; External perimeter
G1 X114.673 Y99.784 E0.00171 ; External perimeter
G1 X114.727 Y99.727 E0.00171 ; External perimeter
G1 X114.784 Y99.673 E0.00171 ; External perimeter
G1 X114.843 Y99.621 E0.00171 ; External perimeter
G1 X114.904 Y99.572 E0.00171 ; External perimeter
G1 X114.968 Y99.526 E0.00171 ; External perimeter
G1 X115.033 Y99.482 E0.00171 ; External perimeter
G1 X115.1 Y99.441 E0.00171 ; External perimeter
G1 X115.169 Y99.403 E0.00171 ; External perimeter
G1 X115.239 Y99.369 E0.00171 ; External perimeter
G1 X115.311 Y99.337 E0.00171 ; External perimeter
G1 X115.384 Y99.309 E0.00171 ; External perimeter
G1 X115.459 Y99.283 E0.00171 ; External perimeter
G1 X115.534 Y99.261 E0.00171 ; External perimeter
G1 X115.61 Y99.243 E0.00171 ; External perimeter
G1 X115.687 Y99.227 E0.00171 ; External perimeter
G1 X115.765 Y99.215 E0.00171 ; External perimeter
G1 X115.843 Y99.207 E0.00171 ; External perimeter
G1 X115.921 Y99.202 E0.00171 ; External perimeter
G1 X116.002 Y99.2 E0.00176 ; External perimeter
G1 X181.998 Y99.2 E1.43749 ; External perimeter
G1 X182.079 Y99.202 E0.00176 ; External perimeter
G1 X182.157 Y99.207 E0.00171 ; External perimeter
G1 X182.235 Y99.215 E0.00171 ; External perimeter
G1 X182.313 Y99.227 E0.00171 ; External perimeter
G1 X182.39 Y99.243 E0.00171 ; External perimeter
G1 X182.466 Y99.261 E0.00171 ; External perimeter
G1 X182.541 Y99.283 E0.00171 ; External perimeter
G1 X182.616 Y99.309 E0.00171 ; External perimeter
G1 X182.689 Y99.337 E0.00171 ; External perimeter
G1 X182.761 Y99.369 E0.00171 ; External perimeter
G1 X182.831 Y99.403 E0.00171 ; External perimeter
G1 X182.9 Y99.441 E0.00171 ; External perimeter
G1 X182.967 Y99.482 E0.00171 ; External perimeter
G1 X183.032 Y99.526 E0.00171 ; External perimeter
G1 X183.096 Y99.572 E0.00171 ; External perimeter
G1 X183.157 Y99.621 E0.00171 ; External perimeter
G1 X183.216 Y99.673 E0.00171 ; External perimeter
G1 X183.273 Y99.727 E0.00171 ; External perimeter
G1 X183.327 Y99.784 E0.00171 ; External perimeter
G1 X183.379 Y99.843 E0.00171 ; External perimeter
G1 X183.428 Y99.904 E0.00171 ; External perimeter
G1 X183.474 Y99.968 E0.00171 ; External perimeter
G1 X183.518 Y100.033 E0.00171 ; External perimeter
G1 X183.559 Y100.1 E0.00171 ; External perimeter
G1 X183.597 Y100.169 E0.00171 ; External perimeter
G1 X183.631 Y100.239 E0.00171 ; External perimeter
G1 X183.663 Y100.311 E0.00171 ; External perimeter
G1 X183.691 Y100.384 E0.00171 ; External perimeter
G1 X183.717 Y100.459 E0.00171 ; External perimeter
G1 X183.739 Y100.534 E0.00171 ; External perimeter
G1 X183.757 Y100.61 E0.00171 ; External perimeter
G1 X183.773 Y100.687 E0.00171 ; External perimeter
G1 X183.785 Y100.765 E0.00171 ; External perimeter
G1 X183.793 Y100.843 E0.00171 ; External perimeter
G1 X183.798 Y100.921 E0.00171 ; External perimeter
G1 X183.8 Y101.002 E0.00176 ; External perimeter
G1 X183.8 Y196.998 E2.09094 ; External perimeter
G1 X183.798 Y197.079 E0.00176 ; External perimeter
G1 X183.793 Y197.157 E0.00171 ; External perimeter
G1 X183.785 Y197.235 E0.00171 ; External perimeter
G1 X183.773 Y197.313 E0.00171 ; External perimeter
G1 X183.757 Y197.39 E0.00171 ; External perimeter
G1 X183.739 Y197.466 E0.00171 ; External perimeter
G1 X183.717 Y197.541 E0.00171 ; External perimeter
G1 X183.691 Y197.616 E0.00171 ; External perimeter
G1 X183.663 Y197.689 E0.00171 ; External perimeter
G1 X183.631 Y197.761 E0.00171 ; External perimeter
G1 X183.597 Y197.831 E0.00171 ; External perimeter
G1 X183.559 Y197.9 E0.00171 ; External perimeter
G1 X183.518 Y197.967 E0.00171 ; External perimeter
G1 X183.474 Y198.032 E0.00171 ; External perimeter
G1 X183.428 Y198.096 E0.00171 ; External perimeter
G1 X183.379 Y198.157 E0.00171 ; External perimeter
G1 X183.327 Y198.216 E0.00171 ; External perimeter
G1 X183.273 Y198.273 E0.00171 ; External perimeter
G1 X183.216 Y198.327 E0.00171 ; External perimeter
G1 X183.157 Y198.379 E0.00171 ; External perimeter
G1 X183.096 Y198.428 E0.00171 ; External perimeter
G1 X183.032 Y198.474 E0.00171 ; External perimeter
G1 X182.967 Y198.518 E0.00171 ; External perimeter
G1 X182.9 Y198.559 E0.00171 ; External perimeter
G1 X182.831 Y198.597 E0.00171 ; External perimeter
G1 X182.761 Y198.631 E0.00171 ; External perimeter
G1 X182.689 Y198.663 E0.00171 ; External perimeter
G1 X182.616 Y198.691 E0.00171 ; External perimeter
G1 X182.541 Y198.717 E0.00171 ; External perimeter
G1 X182.466 Y198.739 E0.00171 ; External perimeter
G1 X182.39 Y198.757 E0.00171 ; External perimeter
G1 X182.313 Y198.773 E0.00171 ; External perimeter
G1 X182.235 Y198.785 E0.00171 ; External perimeter
G1 X182.157 Y198.793 E0.00171 ; External perimeter
G1 X182.079 Y198.798 E0.00171 ; External perimeter
G1 X181.998 Y198.8 E0.00176 ; External perimeter
G1 X116.002 Y198.8 E1.43749 ; External perimeter
G1 X115.921 Y198.798 E0.00176 ; External perimeter
G1 X115.843 Y198.793 E0.00171 ; External perimeter
G1 X115.765 Y198.785 E0.00171 ; External perimeter
G1 X115.687 Y198.773 E0.00171 ; External perimeter
G1 X115.61 Y198.757 E0.00171 ; External perimeter
G1 X115.534 Y198.739 E0.00171 ; External perimeter
G1 X115.459 Y198.717 E0.00171 ; External perimeter
G1 X115.384 Y198.691 E0.00171 ; External perimeter
G1 X115.311 Y198.663 E0.00171 ; External perimeter
G1 X115.239 Y198.631 E0.00171 ; External perimeter
G1 X115.169 Y198.597 E0.00171 ; External perimeter
G1 X115.1 Y198.559 E0.00171 ; External perimeter
G1 X115.033 Y198.518 E0.00171 ; External perimeter
G1 X114.968 Y198.474 E0.00171 ; External perimeter
G1 X114.904 Y198.428 E0.00171 ; External perimeter
G1 X114.843 Y198.379 E0.00171 ; External perimeter
G1 X114.784 Y198.327 E0.00171 ; External perimeter
G1 X114.727 Y198.273 E0.00171 ; External perimeter
G1 X114.673 Y198.216 E0.00171 ; External perimeter
G1 X114.621 Y198.157 E0.00171 ; External perimeter
G1 X114.572 Y198.096 E0.00171 ; External perimeter
G1 X114.526 Y198.032 E0.00171 ; External perimeter
G1 X114.482 Y197.967 E0.00171 ; External perimeter
G1 X114.441 Y197.9 E0.00171 ; External perimeter
G1 X114.403 Y197.831 E0.00171 ; External perimeter
G1 X114.369 Y197.761 E0.00171 ; External perimeter
G1 X114.337 Y197.689 E0.00171 ; External perimeter
G1 X114.309 Y197.616 E0.00171 ; External perimeter
G1 X114.283 Y197.541 E0.00171 ; External perimeter
G1 X114.261 Y197.466 E0.00171 ; External perimeter
G1 X114.243 Y197.39 E0.00171 ; External perimeter
G1 X114.227 Y197.313 E0.00171 ; External perimeter
G1 X114.215 Y197.235 E0.00171 ; External perimeter
G1 X114.207 Y197.157 E0.00171 ; External perimeter
G1 X114.202 Y197.079 E0.00171 ; External perimeter
G1 X114.2 Y196.998 E0.00176 ; External perimeter
G1 X114.2 Y101.002 E2.09094 ; External perimeter
G1 X114.201 Y100.941 E0.00132 ; External perimeter
M106 S221.85 ; enable fan
;WIPE_START
G1 X114.239 Y100.864 F15000 ; move inwards before travel
;WIPE_END
; INIT stop printing object misc-partbox-body-mesh.stl id:0 copy 0
;LAYER_CHANGE
;Z:5.18
;HEIGHT:0.14
; custom gcode: before_layer_gcode
;BEFORE_LAYER_CHANGE
;5.18
;LAYER:36
; custom gcode end: before_layer_gcode
; stop printing object misc-partbox-body-mesh.stl id:0 copy 0
M486 S-1
G1 Z5.18 F15000 ; move to next layer (36)
; custom gcode: layer_gcode
;AFTER_LAYER_CHANGE
;5.18
; custom gcode end: layer_gcode
; INIT printing object misc-partbox-body-mesh.stl id:0 copy 0
; printing object misc-partbox-body-mesh.stl id:0 copy 0
M486 S0
G1 X114.605 Y100.878 ; move to first External perimeter point (0.000000 == 1500.000000)
G1 F5760
M106 S224.4 ; enable fan
G1 X114.6 Y100.998 E0.00261 ; External perimeter
G1 X114.6 Y197.002 E2.09113 ; External perimeter
G1 X114.605 Y197.122 E0.00261 ; External perimeter
G1 X114.621 Y197.243 E0.00266 ; External perimeter
G1 X114.648 Y197.362 E0.00266 ; External perimeter
G1 X114.665 Y197.421 E0.00133 ; External perimeter
G1 X114.684 Y197.479 E0.00133 ; External perimeter
G1 X114.731 Y197.592 E0.00266 ; External perimeter
G1 X114.788 Y197.7 E0.00266 ; External perimeter
G1 X114.853 Y197.803 E0.00266 ; External perimeter
G1 X114.928 Y197.9 E0.00266 ; External perimeter
G1 X114.968 Y197.946 E0.00133 ; External perimeter
G1 X115.01 Y197.99 E0.00133 ; External perimeter
G1 X115.1 Y198.072 E0.00266 ; External perimeter
G1 X115.197 Y198.147 E0.00266 ; External perimeter
G1 X115.3 Y198.212 E0.00266 ; External perimeter
G1 X115.354 Y198.242 E0.00133 ; External perimeter
G1 X115.408 Y198.269 E0.00133 ; External perimeter
G1 X115.521 Y198.316 E0.00266 ; External perimeter
G1 X115.638 Y198.352 E0.00266 ; External perimeter
G1 X115.757 Y198.379 E0.00266 ; External perimeter
G1 X115.817 Y198.388 E0.00133 ; External perimeter
G1 X115.878 Y198.395 E0.00133 ; External perimeter
G1 X115.998 Y198.4 E0.00261 ; External perimeter
G1 X182.002 Y198.4 E1.43768 ; External perimeter
G1 X182.122 Y198.395 E0.00261 ; External perimeter
G1 X182.243 Y198.379 E0.00266 ; External perimeter
G1 X182.362 Y198.352 E0.00266 ; External perimeter
G1 X182.421 Y198.335 E0.00133 ; External perimeter
G1 X182.479 Y198.316 E0.00133 ; External perimeter
G1 X182.592 Y198.269 E0.00266 ; External perimeter
G1 X182.7 Y198.212 E0.00266 ; External perimeter
G1 X182.803 Y198.147 E0.00266 ; External perimeter
G1 X182.9 Y198.072 E0.00266 ; External perimeter
G1 X182.946 Y198.032 E0.00133 ; External perimeter
G1 X182.99 Y197.99 E0.00133 ; External perimeter
G1 X183.072 Y197.9 E0.00266 ; External perimeter
G1 X183.147 Y197.803 E0.00266 ; External perimeter
G1 X183.212 Y197.7 E0.00266 ; External perimeter
G1 X183.242 Y197.646 E0.00133 ; External perimeter
G1 X183.293 Y197.536 E0.00266 ; External perimeter
G1 X183.316 Y197.479 E0.00133 ; External perimeter
G1 X183.352 Y197.362 E0.00266 ; External perimeter
G1 X183.379 Y197.243 E0.00266 ; External perimeter
G1 X183.388 Y197.183 E0.00133 ; External perimeter
G1 X183.395 Y197.122 E0.00133 ; External perimeter
G1 X183.4 Y197.002 E0.00261 ; External perimeter
G1 X183.4 Y100.998 E2.09113 ; External perimeter
G1 X183.395 Y100.878 E0.00261 ; External perimeter
G1 X183.379 Y100.757 E0.00266 ; External perimeter
G1 X183.352 Y100.638 E0.00266 ; External perimeter
G1 X183.335 Y100.579 E0.00133 ; External perimeter
G1 X183.316 Y100.521 E0.00133 ; External perimeter
G1 X183.269 Y100.408 E0.00266 ; External perimeter
G1 X183.212 Y100.3 E0.00266 ; External perimeter
G1 X183.147 Y100.197 E0.00266 ; External perimeter
G1 X183.072 Y100.1 E0.00266 ; External perimeter
G1 X183.032 Y100.054 E0.00133 ; External perimeter
G1 X182.99 Y100.01 E0.00133 ; External perimeter
G1 X182.9 Y99.928 E0.00266 ; External perimeter
G1 X182.803 Y99.853 E0.00266 ; External perimeter
G1 X182.7 Y99.788 E0.00266 ; External perimeter
G1 X182.646 Y99.758 E0.00133 ; External perimeter
G1 X182.592 Y99.731 E0.00133 ; External perimeter
G1 X182.479 Y99.684 E0.00266 ; External perimeter
G1 X182.362 Y99.648 E0.00266 ; External perimeter
G1 X182.243 Y99.621 E0.00266 ; External perimeter
G1 X182.183 Y99.612 E0.00133 ; External perimeter
G1 X182.122 Y99.605 E0.00133 ; External perimeter
G1 X182.002 Y99.6 E0.00261 ; External perimeter
G1 X115.998 Y99.6 E1.43768 ; External perimeter
G1 X115.878 Y99.605 E0.00261 ; External perimeter
G1 X115.817 Y99.612 E0.00133 ; External perimeter
G1 X115.697 Y99.633 E0.00266 ; External perimeter
G1 X115.579 Y99.665 E0.00266 ; External perimeter
G1 X115.464 Y99.707 E0.00266 ; External perimeter
G1 X115.354 Y99.758 E0.00266 ; External perimeter
G1 X115.248 Y99.819 E0.00266 ; External perimeter
G1 X115.148 Y99.889 E0.00266 ; External perimeter
G1 X115.054 Y99.968 E0.00266 ; External perimeter
G1 X114.968 Y100.054 E0.00266 ; External perimeter
G1 X114.889 Y100.148 E0.00266 ; External perimeter
G1 X114.819 Y100.248 E0.00266 ; External perimeter
G1 X114.758 Y100.354 E0.00266 ; External perimeter
G1 X114.707 Y100.464 E0.00266 ; External perimeter
G1 X114.665 Y100.579 E0.00266 ; External perimeter
G1 X114.633 Y100.697 E0.00266 ; External perimeter
G1 X114.612 Y100.818 E0.00268 ; External perimeter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment