1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Solved Custom G-Code?

Discussion in 'General Questions' started by Tehbatman, Nov 18, 2016.

  1. Tehbatman

    Tehbatman New Member

    Joined:
    May 16, 2016
    Messages:
    27
    Likes Received:
    2
    The only thing I've failed to work out for my printer is the custom G-Code. If anyone can edit the default to my needs, I'd be very grateful. I'm looking for code that can do everything that default code does but at some point after heating the extruder it extrudes 20 mm of filament. 20 mm that is later retracted in the end G-Code, essentially stopping me from having to hand-extrude filament until it's right in the hot end.
     
  2. danzca6

    danzca6 Well-Known Member

    Joined:
    Jul 27, 2015
    Messages:
    2,161
    Likes Received:
    1,077
    G1 F200 E20 ;extrude 20mm of filament at a feedrate per minute of 200
    G1 E-20 F300 ;retract 20mm of filament at a feedrate per minute of 300

    Retraction can be faster than extrusion
     
    Tehbatman likes this.

Share This Page