my bigbox start/end gcode for cura

Discussion in 'Guides, Mods, and Upgrades' started by lance, Oct 2, 2016.

  1. lance

    lance Well-Known Member

    Joined:
    Nov 25, 2015
    Messages:
    54
    Likes Received:
    9
    so ive been using cura as my bigbox slicer for a few months now and just figured i would post my start/end gcode for it since it's pretty much as fine tuned as it can get. although you may want to adjust your purge and retraction lengths based on your setup as i have a volcano on mine.

    i wrote the gcode to give the fastest startup time possible. when you start the print, the bed is moved to 5mm away from the nozzle to make sure the nozzle is clear from collision. then the heated bed and nozzle start heating up at the same time. the machine waits for the bed to hit its set temperature, then the machine homes itself, after homing it moves the bed down to 5mm again. the hotend moves into the dock. then it waits for the nozzle to finish reaching its set tempurature before doing a purge and starting the print.

    the end gcode is a retract followed by the head moving to dock, then everything is disabled.

    there is no bed lowering after part finish as that is done in the firmware before the end gcode is read.

    the only downside to the way ive done this is that the buildplate and nozzle temperatures have to be manually set in the start gcode rather than in the slicer interface (where they are kept to 0) which ive done so that i can heatup the nozzle and buildplate at the same time.

    start

    G21 ;metric values
    G90 ;absolute positioning
    M82 ;set extruder to absolute mode
    G1 Z5 F360 ; move bed to 5 mm
    M104 S215 ; set nozzle temp
    M190 S60 ; Set bed temp
    G28 ; home all
    G1 Z5 F360 ; move bed down 5 mm
    G1 X100 Y200 F3000 ; move to dock
    G1 X100 Y235 F3000 ; move into dock
    M109 S215 ; set nozzle temp and wait
    G92 E0 ; zero extruder
    G1 E25 F200 ; purge
    G92 E0 ;zero extruder
    M117 Sciencing

    end

    G92 E0 ; zero extruder
    G1 E-15 F600 ; retract
    G92 E0 ; zero extruder
    G90 ; absolute positioning
    G1 X100 Y200 F3000 ; move to dock
    G1 X100 Y235 F3000 ; move into dock
    M104 S0 ;extruder heater off
    M140 S0 ;heated bed heater off
    M106 S0 ; disable cooling fans
    M84 ; disable steppers
     
    Alex Stevenson likes this.
  2. gearmesh

    gearmesh Well-Known Member

    Joined:
    Feb 21, 2016
    Messages:
    162
    Likes Received:
    13
    Maybe because I am using Edge or PetG, both a little stringy...I am always sketchy about the the "One wipe" when exiting the dock so I repeat it.
    I do need to modify this though so it always the nozzle isn't hitting the same exact spot on the wiper.

    ;move out of dock
    G1 X60 Y245 F3000 ; move to position in dock
    G1 X60 Y200 F3000 ; move out of dock
    G1 X50 Y245 F3000 ; move into dock
    G1 X60 Y200 F3000 ; move out of dock
    G1 X50 Y245 F3000 ; move into dock
    G1 X60 Y200 F3000 ; move out of dock
    G1 X50 Y245 F3000 ; move into dock
    G1 X60 Y200 F3000 ; move out of dock
     

Share This Page