Jump to content

variables in pre(post)SwitchExtruder.gcode CURA 15.02.1 stand alone


schumsel293

Recommended Posts

Posted (edited) · variables in pre(post)SwitchExtruder.gcode CURA 15.02.1 stand alone

Hi,

in order to prevent oozing from the unused extruder in dual extruding I would like to put some lines in the preSwitchExtruder.gcode section.

The best way is to lower the temperature of the unused extruder to a value below the melting point.

My questions:

1. How can i detect the number of the used and unused extruder to set the appropriate temperature values?

Is there a variable like {used_extruder} or {unused_extruder}?

I would be very interested in a list of variables, wich can be used in start, end and switching codes.

I did not find it with google

2. is it possible to put conditional statements, for example "IF" , in the pre(post)SwitchExtruder.gcode?

If it is possible, the code could like this:

IF (T{used_extruder} = 0) M104 T0 S240

IF (T{unused_extruder} = 0) M104 T1 S200

or without a conditional statement

M104 T{used_extruder} S240

M104 T{unused_extruder} S200

Regards

Edited by Guest
  • Link to post
    Share on other sites

    • 9 months later...
    Posted · variables in pre(post)SwitchExtruder.gcode CURA 15.02.1 stand alone

    Hello,

    Im struggling with this issue also.

    what would be nice is, a preSwitchExtruder1to2.gcode

    and preSwitchExtruder2to1.gcode

    and corresponding post switch files.

    I have a handful of things I would do differently when switching from 1 to 2 versus when switching from 2 to 1. anyone had any experience with this or know of a plugin that would allow you to easily perform different code when switching between either extruder?

    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

      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
        • 18 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
        • 0 replies
    ×
    ×
    • Create New...