Jump to content

Cura Start G-code does not transfer to my gcode file when read in Mainsail.


Recommended Posts

Posted (edited) · Cura Start G-code does not transfer to my gcode file when read in Mainsail.

Running Cura 5.6.0 on a mac.

With Lastest Mainsail running klipper on a Creality Ender 3 v2 Neo.

This is my Start G-code:

G92 E0 ; Reset extruder
M117 Pre-heating the extruder!
M104 S{material_print_temperature_layer_0}; Set extruder temp
M140 S{material_bed_temperature_layer_0} ; Set Heat Bed temperature
M117 Getting the bed and extruder up to temp!
G28 ; Home all axes
BED_MESH_PROFILE LOAD="default_012024"
M117 Waiting to reach proper temp!
M109 S{material_print_temperature_layer_0} ; Wait for Extruder temperature
M190 S{material_bed_temperature_layer_0} ; Wait for Heat Bed temperature
G92 E0 ; Reset extruder
G1 Z2.0 F3000 ; Move Z Axis up
G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position
M117 LET THE PURGE BEGIN!
G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line
G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to the side
G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line
G92 E0 ; reset extruder
G1 Z2.0 F3000 ; Move Z Axis up
G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish
M117 Autobots! Roll Out!

 

And when I upload from Cura the file to my Mainsail instance, if I edit it in Mainsail, this is the code I get:

;FLAVOR:Marlin
;POSTPROCESSED
;  [CreateThumbnail]
;  [CreateThumbnail]
;  [SearchAndReplace]
;  [SearchAndReplace]
;  [InsertAtLayerChange]
;  [SearchAndReplace]
;TIME:210
;Filament used: 0.155324m
;Layer height: 0.2
;MINX:98.87
;MINY:93.35
;MINZ:0.2
;MAXX:131.67
;MAXY:126.15
;MAXZ:0.4
;Generated with Cura_SteamEngine 4.13.1
M82 ;absolute extrusion mode
;Ender 3 V2 Start Code
M117 Pre-heating the extruder!
M104 S150; start warming extruder to 150
M117 Getting the bed up to temp!
M140 S80 ; Set Heat Bed temperature
M190 S80 ; Wait for Heat Bed temperature
G28 ; Home all axes
BED_MESH_PROFILE LOAD="default"
G1 X245 Y218.5 Z1 F5000.0
G92 E0 ; Reset extruder
M117 Getting the extruder up to temp!
M104 S240.0 ; Set Extruder temperature
M109 S240.0 ; Wait for Extruder temperature
G1 Z1.0 F3000 ; move z up little to prevent scratching of surface
G1 X228 Y200 Z0.3 F5000.0 ; move to start-line position
M117 LET THE PURGE BEGIN!
G1 X228 Y20 Z0.3 F1500.0 E15 ; draw 1st line
G1 X225.2 Y20 Z0.3 F5000.0 ; move to side a little
G1 X225.2 Y200 Z0.3 F1500.0 E30 ; draw 2nd line
G92 E0 ; reset extruder
G1 Z1.0 F3000 ; move z up little to prevent scratching of surface
M117 Autobots! Roll Out!
; End of custom start GCode
G92 E0
G92 E0
G1 F1800 E-3
;LAYER_COUNT:2
;BEFORE_LAYER_CHANGE
;LAYER:0
BEFORE_LAYER_CHANGE LAYER=0
AFTER_LAYER_CHANGE
M107

 

Why did it change it?

And also, why is my extruder temp set to 240 and the bed to 80 when I have the Material set as 200 and 55 in Cura? I don't get that. It also seems like whatever Start G-code  I change it to, I keep getting this code above each time. 

 

Edited by chezpaul
  • Link to post
    Share on other sites

    Posted · Cura Start G-code does not transfer to my gcode file when read in Mainsail.

    I figured it out. I was opening a G-code file that couldn't be edited and already had those settings in it.

     

  • 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
        • 26 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...