Jump to content

"perfect" start.gcode & end.gcode for Cura 15.04.2 (Mac) for Octoprint


frederiekpascal

Recommended Posts

Posted · "perfect" start.gcode & end.gcode for Cura 15.04.2 (Mac) for Octoprint

I've been reading this board and several threads about octoprint and reprap.

It looks like the default end and start code is not the best to use.

Currently it is :

start.gcode :

 

G28G1 X110 Y45 F3000 ; bring extruder to the frontG92 E0 ; zero the extruded lengthG1 Z30 ; lowerG1 E50 F225 ; purge nozzle with 50mm of filamentG1 X80 Y60 F3000 ; move aside of the puddle of primed plasticG92 E0 ; zero the extruded length again

 

end.gcode :

 

G28M104 S0 ; turn off heatersM140 S0 ; turn off bedM84 ; disable motors

 

But that doesn't seem to be the perfect codes to use with Octoprint?

Anybody who can help me out with tweaking this code to use with my Ultimaker2?

Thanks in advance ;)

  • Link to post
    Share on other sites

    Posted · "perfect" start.gcode & end.gcode for Cura 15.04.2 (Mac) for Octoprint

    Ha I recognise that code. Its my simplify3d start code. Easy to recognise as it starts in the front-middle and not the left-front. You can change the xy easy to left front again. I've not used octoprint but it's on my todo list. .. i'll see if I can have a look soon.

  • Link to post
    Share on other sites

    Posted (edited) · "perfect" start.gcode & end.gcode for Cura 15.04.2 (Mac) for Octoprint

    ow OK, my bad :-)

    The default start.gcode is :

    ;Sliced at: {day} {date} {time}
    ;Basic settings: Layer height: {layer_height} Walls: {wall_thickness} Fill: {fill_density}
    ;Print time: {print_time}
    ;Filament used: {filament_amount}m {filament_weight}g
    ;Filament cost: {filament_cost}
    ;M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line
    ;M109 S{print_temperature} ;Uncomment to add your own temperature line
    G21        ;metric values
    G90        ;absolute positioning
    M82        ;set extruder to absolute mode
    M107       ;start with the fan off
    G28 X0 Y0  ;move X/Y to min endstops
    G28 Z0     ;move Z to min endstops
    G1 Z15.0 F{travel_speed} ;move the platform down 15mm
    G92 E0                  ;zero the extruded length
    G1 F200 E3              ;extrude 3mm of feed stock
    G92 E0                  ;zero the extruded length again
    G1 F{travel_speed}
    ;Put printing message on LCD screen
    M117 Printing...

    default end.gcode :

    ;End GCode
    M104 S0                     ;extruder heater off
    M140 S0                     ;heated bed heater off (if you have it)
    G91                                    ;relative positioning
    G1 E-1 F300                            ;retract the filament a bit before lifting the nozzle, to release some of the pressure
    G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more
    G28 X0 Y0                              ;move X/Y to min endstops, so the head is out of the way
    M84                         ;steppers off
    G90                         ;absolute positioning
    ;{profile_string}
    

    which one should I use? Or do I need adjustments to any of the codes?

    Edited by Guest
  • Link to post
    Share on other sites

    Posted · "perfect" start.gcode & end.gcode for Cura 15.04.2 (Mac) for Octoprint

    Not perfect but it's mine :)

     

    G28			; Tous les axes en position maisonG1 X10 Y15 Z20 F12000	; Positionnement de la tête pour le primingG92 E0			; Remise à zéro de la position feederG1 E28 F225		; Extrusion rapideG92 E0			; Remise à zéro de la position feederG1 E6 F60		; Extrusion d'appointG1 X100 Y15 Z0.2 F12000	; Dépôt du résidu

     

     

    G1 Z0.2			; LiftG1 E-20 F1000		; Rétraction M104 S0			; Extinction de l'extrudeuseM140 S0			; Extinction du plateau chauffantG28			; Tous les axes en position maisonM84			; Mise hors tension des moteurs

     

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.7 stable released
        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. 
         
          • Like
        • 18 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...