Jump to content
Ultimaker Community of 3D Printing Experts

How to edit head default gcode by cura ?


Witawat
 Share

Recommended Posts

Posted (edited) · How to edit head default gcode by cura ?

in start point on gcode file

i need make default move x y z

to point 

 

G28

G1 Z50 X150 Y150 F1500 ; move finished print out front

 

like 

 

;FLAVOR:Marlin
;TIME:13434
;Filament used: 11.3018m
;Layer height: 0.15
;Generated with Cura_SteamEngine 3.5.1

G28

G1 Z50 X150 Y150 F1500 ; move finished print out front

 

M140 S80
M105
M190 S80
M104 S245
M105
M109 S245
M82 ;absolute extrusion mode

 

how to edit file default code ?

 

thankyou

 

Edited by Witawat
  • Link to post
    Share on other sites

    Posted · How to edit head default gcode by cura ?

    Cura only adds that heating sequence before the start gcode if it sees that you don’t have heating commands in the start gcode snippet. If you put M109 S{material_print_temperature} in your start gcode snippet, Cura will not have to add extruder heating by itself. Same with M190 S{material_bed_temperature} fir the bed. 

     

    You could also use a postprocessing script to modify the gcode.

  • 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
     Share

    • Our picks

      • Ultimaker showcase | April 2022 | 4pm CEST | 10am EDT
        I'm excited because I've personally produced this showcase event, so if you are curious what else I'm up to nowadays, come check it out and say hi in the chat! It would mean a lot! 
          • Thanks
          • Like
        • 4 replies
      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 12 replies
    ×
    ×
    • Create New...