Jump to content
Ultimaker Community of 3D Printing Experts

Change line default Cura 3.3 with custom printer

Recommended Posts

Hello to all,
I want to change the lines highlighted in yellow, are the gcode that cure has set by default, I have a custom printer fdm but I can not find which json file in the folder ? \ Program Files \ Ultimaker Cura 3.3 \ resources \ definitions I have to change, I tried to look in fdmextruder and fdmprinter but I did not find anything, can someone help me?
Thanks for the time spent Maurizio


;Filament used: 0m
;Layer height: 0.2
;Generated with Cura_SteamEngine 3.3.1
M104 T1 S200
M109 T1 S200

M82 ;absolute extrusion mode

; Start GCode General
;Sliced at: Thu 17-05-2018 10:46:40
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
;M25         ;PAUSE
G1 F{travel_speed}

M83 ;relative extrusion mode
G1 F1500 E-6.5
G1 F1200 E-9.5
M82 ;absolute extrusion mode

;Estrusore 1
T1                      ;Switch to the 2nd extruder
G92 E0                  ;zero the extruded length
G1 F200 E10             ;extrude 10mm of feed stock
G92 E0                  ;zero the extruded length again

Share this post

Link to post
Share on other sites

You can't change all the highlighted lines from the definition files.


The absolute extrusion lines should change to relative extrusion lines if you change the "Relative Extrusion" setting in the "Special Modes" category.


The M104 and M109 lines that appear before the start gcode will not be inserted there if you include them in your start gcode as follows:

M104 T{initial_extruder_nr} S{material_print_temperature_layer_0,initial_extruder_nr}

M109 T{initial_extruder_nr} S{material_print_temperature_layer_0,initial_extruder_nr}

Cura looks for the string "material_print_temperature" in your start gcode. If it is not there, it will prepend its own heatup sequence.


You can also use a post processing script (eg search and replace) to edit the output before it is saved/exported.

Share this post

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

    • How to 3D print with reinforced engineering materials
      Ultimaker is hosting a webinar where we explain how you can achieve and maintain a high print success rate using these new reinforced engineering materials. Learn from Ultimaker's Product Manager of Materials and top chemical engineer Bart van As how you can take your 3D printing to that next level.
      • 2 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!