Jump to content

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.9 stable released!
        Here comes Cura 5.9 and in this stable release we have lots of material and printer profiles for UltiMaker printers, including the newly released Sketch Sprint. Additionally, scarf seams have been introduced alongside even more print settings and improvements.  Check out the rest of this article to find out the details on all of that and more
          • Like
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Heart
          • Thanks
          • Like
        • 4 replies
    ×
    ×
    • Create New...