Jump to content
schumsel293

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

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 96 replies
×
×
  • Create New...

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!