Skip to content

Instantly share code, notes, and snippets.

@mikejr83
Last active January 7, 2022 05:41
Show Gist options
  • Save mikejr83/6eb5cae9bff0883106e6812fc6ec1bde to your computer and use it in GitHub Desktop.
Save mikejr83/6eb5cae9bff0883106e6812fc6ec1bde to your computer and use it in GitHub Desktop.
Start and End g-code for JGMaker Artist-D (for Cura)
G91 ;Relative positioning
G1 E-2 F2700 ;Retract a bit
G1 E-2 Z0.2 F2400 ;Retract and raise Z
G1 X5 Y5 F3000 ;Wipe out
G1 Z10 ;Raise Z more
G90 ;Absolute positionning
G28 X; Move extruders out of print area
G1 Y{machine_depth} ;Present print
M106 S0 ;Turn-off fan
M104 S0 ;Turn-off hotend
M140 S0 ;Turn-off bed
M84 X Y E ;Disable all steppers but Z
M140 S{material_bed_temperature_layer_0} ; Set Heat Bed temperature
M104 S{material_print_temperature_layer_0} ; Set Extruder temperature
G28 ;Home
M190 S{material_bed_temperature_layer_0} ; Wait for Heat Bed temperature
G1 Z15.0 F6000 ;Move the platform down 15mm
;Prime the extruder
G92 E0 ; Reset Extruder
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
G1 X10 Y20 Z0.3 F5000.0 ; Move to start position
M109 S{material_print_temperature_layer_0} ; Wait for Extruder temperature
G1 X10 Y200.0 Z0.2 F1500.0 E15 ; Draw the first line
G1 X10.3 Y200.0 Z0.2 F5000.0 ; Move to side a little
G1 X10.3 Y20 Z0.2 F1500.0 E30 ; Draw the second line
G92 E0 ; Reset Extruder
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
G1 X14 Y20 Z0.2 F5000.0 ; Move over to prevent blob squish
@inspectionsbybob
Copy link

I am revisiting the Gcode Start sequence as I am rebuilding my Profiles....

If I want to a RETRACTION as the last move before starting my print to prevent carrying any BLOB over to my print, where would I put it?

Would it be a "G1 E1 -1.5 F800" or should I use something else?

@inspectionsbybob
Copy link

I love this Start sequence, the only thing I would add to the END is to move the Y to only 250 so it doesn't block the controls and I would move it a bit slower than the default travel move which can be jarring....

Oh Yes, I am trying to figure out how to play a short "I'm done "tune, but am not having luck with the M300 commands...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment