Jump to content
Ultimaker Community of 3D Printing Experts
mauriziop

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

 

;FLAVOR:RepRap
;TIME:52841
;Filament used: 0m
;Layer height: 0.2
;Generated with Cura_SteamEngine 3.3.1
T1
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
;LAYER_COUNT:101
;LAYER:0
G1 F1200 E-9.5
T1
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

    • Taking Advantage of DfAM
      This is a statement that’s often made about AM/3DP. I'll focus on the way DfAM can take advantage of some of the unique capabilities that AM and 3DP have to offer. I personally think that the use of AM/3DP for light-weighting is one of it’s most exciting possibilities and one that could play a key part in the sustainability of design and manufacturing in the future.
        • Like
      • 3 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!