UltiMaker uses functional, analytical and tracking cookies. Tracking cookies enhance your experience on our website and may also collect your personal data outside of Ultimaker websites. If you agree with the use of tracking cookies, click “I agree, continue browsing”. You can withdraw your consent at any time. If you do not consent with the use of tracking cookies, click “Refuse”. You can find more information about cookies on our Privacy and Cookie Policy page.
I believe I saw the exact same video. I put my g-code in the "printer startcode" area. If you look in the generated g-code file, CURA just inserts the code without any modification. So, I replaced everything put in by default with my own g-code. You probably want to look at the generated g-code file anyway to verify that it does what you want.
I also modified the "printer endcode" because I wanted to move the print bed to the front instead of it doing a home when the print was done. Otherwise on my printer, the bed was always moved to the back and you had to manually move the bed forward to remove the print.
Here is what I ended up doing:
; Prefix G-Code for Creality CR-10 Mini to clean nozzle
M117 Nozzle Cleaning... ; Indicate NOZZLE CLEANING on LCD
M107 ; Turn layer fan off
G21 ; Set units to metric (change to G20 if you want Imperial)
G90 ; Set absolute coordinates
G28 ; Home X/Y/Z axis
G0 X5 Y10 Z0.16 F5000 ; Move in 5mm x 10mm from corner and up [z] 0.16mm
G92 E0 ; Set extruder to [0] zero
G1 Y210 E100 F500 ; Extrude 100mm filament 200mm along Y axis to prime and clean the nozzle
G92 E0 ; Reset extruder to [0] zero at end of cleaning run
G1 E-3 F500 ; Retract filament by 3mm to reduce string effect
G0 Z15 F5000 ; Raise extruder to safe Z height (1st shearing action)
G0 X5 Y110 Z15 F5000 ; Move to center left of bed (2nd shearing action)
G1 E3 F500 ; Prime the extruder since retraction
M117 Printing... ; Indicate PRINTING on LCD
; Post G-Code for Creality CR-10 Mini
G91
G1 E-3 F1800
G1 Z10 F3000
G90
G0 X0 Y200 ; Eject (move print bed forward)
M106 S0 ; Turn off cooling fan
M104 S0 ; Turn off extruder
M140 S0 ; Turn off bed
M84 ; Disable motors
M117 Print Done. ; Indicate PRINT DONE on LCD
We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more.
Recommended Posts
MarkF 2
I believe I saw the exact same video. I put my g-code in the "printer startcode" area. If you look in the generated g-code file, CURA just inserts the code without any modification. So, I replaced everything put in by default with my own g-code. You probably want to look at the generated g-code file anyway to verify that it does what you want.
I also modified the "printer endcode" because I wanted to move the print bed to the front instead of it doing a home when the print was done. Otherwise on my printer, the bed was always moved to the back and you had to manually move the bed forward to remove the print.
Here is what I ended up doing:
; Prefix G-Code for Creality CR-10 Mini to clean nozzle M117 Nozzle Cleaning... ; Indicate NOZZLE CLEANING on LCD M107 ; Turn layer fan off G21 ; Set units to metric (change to G20 if you want Imperial) G90 ; Set absolute coordinates G28 ; Home X/Y/Z axis G0 X5 Y10 Z0.16 F5000 ; Move in 5mm x 10mm from corner and up [z] 0.16mm G92 E0 ; Set extruder to [0] zero G1 Y210 E100 F500 ; Extrude 100mm filament 200mm along Y axis to prime and clean the nozzle G92 E0 ; Reset extruder to [0] zero at end of cleaning run G1 E-3 F500 ; Retract filament by 3mm to reduce string effect G0 Z15 F5000 ; Raise extruder to safe Z height (1st shearing action) G0 X5 Y110 Z15 F5000 ; Move to center left of bed (2nd shearing action) G1 E3 F500 ; Prime the extruder since retraction M117 Printing... ; Indicate PRINTING on LCD
; Post G-Code for Creality CR-10 Mini G91 G1 E-3 F1800 G1 Z10 F3000 G90 G0 X0 Y200 ; Eject (move print bed forward) M106 S0 ; Turn off cooling fan M104 S0 ; Turn off extruder M140 S0 ; Turn off bed M84 ; Disable motors M117 Print Done. ; Indicate PRINT DONE on LCD
Link to post
Share on other sites
Idusidus 0
Thanks Mark, going to try your g-code and see how it goes on my Wanhao i3 plus ?
Link to post
Share on other sites