Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

End G-code in machine settings causing issues #97

Open
Fishhooks1945 opened this issue Oct 22, 2022 · 0 comments
Open

End G-code in machine settings causing issues #97

Fishhooks1945 opened this issue Oct 22, 2022 · 0 comments

Comments

@Fishhooks1945
Copy link

PopOS! 22.04 Cura 5.1.1 latest dremel and autotower plugins, 3D45

I tried printing a retraction tower, and in the end made a big mess.. the machine just stops and tries to inject a ton of filament into the top of the tower. https://youtu.be/JF6ziO7qqOA
For example, here is the end of the gcode for the retraction tower.

; ...finishing the tower...
G1 F432.9 X-16.026 Y-3.399 E1153.2292
G1 F432.2 X-17.589 Y-3.399 E1153.30744
G1 F431.5 X-19.152 Y-3.398 E1153.38581
G1 F397.9 X-19.349 Y-3.349 E1153.39685
;TIME_ELAPSED:1992.599192
G1 F2400 E1147.39685 ; AutoTowersGenerator retracting 6.0 mm of filament (absolute)o
M140 S0
M204 S4000
M205 X20 Y20
M107
M104 S0
M140 S0
G92 E1
; this line causes the machine to stop and just purge filament
;G1 F300 E1147.39685 ; AutoTowersGenerator retracting 6.0 mm of filament (absolute)

; I removed the autotowers modification and put the Dremel plugin's choice, and it works
G1 E-1 F300 ; i removed the autotowers and put this back in
G162 Z F600
G162 X Y F2000
M84

M82 ;absolute extrusion mode
M104 S0
;End of Gcode

I realize that Dremel Plugin's "G92 E1, G1 E-1" is just a standard retraction at the end of the print that everyone does. However, I checked a few others printers (utilimaker 3, ender 3 pro, prusa) and it seems this Dremel plugin is the only one that uses the "G92 E1, G1 E-1" method, where most do "G91, G1 E-1".

I changed the end g-code manually in my machine settings to "G91, G1 E-1" retraction method, and now my tower prints OK. 5axes's calibration shapes plugin has almost 1 million downloads (and AutoTowers plugin is an extension of 5axes plugin), so I think it makes sense to change the dremel plugin's end g-code settings to be more compatible and people make happy towers :) I also add comments to the End G-code for easier understanding and debug:

; Start of End G-code from Dremel 3D45 machine settings
M104 S0 ; shut off extruder, then bed
M140 S0 
;G92 E1 ; not compatible with cura plugins, !standard practice
G91 ; relative positioning
G1 E-2 F300  ; compatible, gets same result as original dremel file
G90 ; back into Absolute positioning so print present works
G162 Z F600 ; not standard marlin
G162 X Y F2000 ; proprietary? yes, this is makerbot\thingiverse lingo
M84 ; disabble all steppers
; End of End G-code from Dremel 3D45 machine settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant