Jump to content

Recommended Posts

Posted · Dual Extruder Start GCode heats both Extruders

I have a Replicator 2X that I have recently moved over to the world of Cura.

After reading many of the threads here and abroad, I put together a start GCode script for a two extruder printer

I was able to create the configuration file so that it could be pulled up in Cura just like any other printer.

 

However, I am having a challenge with the start script (and probably the extruder script)

 

My start script is below:

 

; **** Replicator 2X start.gcode ****

M73 P0 ; enable build progress

G162 X Y F3000 ; home XY maximum

G161 Z F1200 ; home Z minimum

G92 X0 Y0 Z-5 A0 B0 ; set Z to -5

G1 Z0 ; move Z to 0

G161 Z F100 ; home Z slowly

M132 X Y Z A B ; recall home offsets

M135 T0 ; load right extruder offsets

G1 X-130 Y-75 Z30 F9000 ; move to wait position off table

G130 X20 Y20 Z20 A20 B20 ; lower stepper Vrefs while heating

;M126 S[fan_speed_pwm]

M140 S{material_bed_temperature, 0} T0

M134 T0 ; stabilize bed temperature

M104 S{material_print_temperature, 0} T0

M104 S{material_print_temperature, 1} T1

M133 T0 ; stabilize extruder temperature

M133 T1 ; stabilize extruder temperature

 

G130 X127 Y127 Z40 A127 B127 ; default stepper Vrefs

G92 A0 B0 ; zero extruders

G1 Z0.4 ; position nozzle

G1 E25 F300 ; purge nozzle

G1 X-125 Y-70 Z0.15 F1200 ; slow wipe

G1 X-120 Y-65 Z0.5 F1200 ; lift

G92 A0 B0 ; zero extruders

M73 P1 ;@body (notify GPX body has started)

; **** end of start.gcode ****

 

You will notice that both extruders are heated.

I would like to be able to load a different material in each extruder and then chose at build time which material to extrude.

How do I write the code so that only the active extruder is heated if its a single extruder build, or both extruders are heated if its a dual extruder build?

 

Similarly, what does the code look like for each extruder?

Presently I have:

; - Start Extruder 0 Start G Code

;Switch to Extruder 0

T0

; - End Extruder 0 Start G Code -

 

; - Start Extruder 1 Start G Code

;Switch to Extruder 1

T1

; - End Extruder 1 Start G Code -

 

But I have no Extruder End G Code

 

Any help would be appreciated.

 

Thanks.

 

 

 

 

 

 

 

 

  • 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

      • Help Us Improve Cura – Join the Ultimaker Research Program
        🚀 Help Shape the Future of Cura and Digital Factory – Join Our Power User Research Program!
        We’re looking for active users of Cura and Digital Factory — across professional and educational use cases — to help us improve the next generation of our tools.
        Our Power User Research Program kicks off with a quick 15-minute interview to learn about your setup and workflows. If selected, you’ll be invited into a small group of users who get early access to features and help us shape the future of 3D printing software.

        🧪 What to Expect:
        A short 15-minute kickoff interview to help us get to know you If selected, bi-monthly research sessions (15–30 minutes) where we’ll test features, review workflows, or gather feedback Occasional invites to try out early prototypes or vote on upcoming improvements
        🎁 What You’ll Get:
         
        Selected participants receive a free 1-year Studio or Classroom license Early access to new features and tools A direct voice in what we build next
        👉 Interested? Please fill out this quick form
        Your feedback helps us make Cura Cloud more powerful, more intuitive, and more aligned with how you actually print and manage your workflow.
        Thanks for being part of the community,

        — The Ultimaker Software Team
        • 0 replies
      • Cura 5.10 stable released!
        The full stable release of Cura 5.10 has arrived, and it brings support for the new Ultimaker S8, as well as new materials and profiles for previously supported UltiMaker printers. Additionally, you can now control your models in Cura using a 3D SpaceMouse and more!
          • Like
        • 18 replies
    ×
    ×
    • Create New...