Jump to content
MTG

Question regarding start scripts

Recommended Posts

Posted (edited) · Question regarding start scripts

Hey,

I'm using Cura 4.1 and Octoprint, so I have to use the start script function of Cura. With only one Material it wasn't a problem, but I have modiefied my UM 2+ Extended for dual printing. So I made a startup script for dual extrusion. It's basically just:

 


T0

//Extrude T1, Wipe and do stuff

T1

//Extrude T1, Wipe and do stuff

T0

As you See, I make sure that I have T0 selected, extrude and wipe, change to T1, do the same and back again to T0. Then I'm ready to start with T0.

 

So, when my part starts with T0, no problem here, everything is working normally. But when my part starts with T1, I mess up because my startup script ends with T0 and the Cura-generated toolchange is before the user startup script:

 

// How it is:

T1 //<- This is the Cura generated toolchange

//cura generated stuff like heating etc

; Start user startup script dual ---------------------------------------------------

T0 //My toolchange

//Extrude, wipe and stuff

T1 //My toolchange

//Extrude, wipe and stuff

T0 //My toolchange

As you see, it starts with T0 when it should actually start with T1. Now, I have to modify every gcode file by hand, if it starts with T1.

Why is it not like the following (or how can I make this work):

 

// How it should be:

//cura generated stuff like heating etc

; Start user startup script dual ---------------------------------------------------

T0 //My toolchange

//Extrude, wipe and stuff

T1 //My toolchange

//Extrude, wipe and stuff

T0 //My toolchange

; End user startup script dual ---------------------------------------------------

T1 //<- Here should be the the Cura generated toolchange

Wouldn't that be more logical for the final toolchange before the part starts?

I hope it's understandable what I mean

 

 

 

 

Edited by MTG

Share this post


Link to post
Share on other sites
Posted · Question regarding start scripts

Use

T{initial_extruder_nr}

instead of the final

T0

 

Cura will fill in the extruder number of the first used extruder for the {initial_extruder_nr} part.

  • Thanks 1

Share this post


Link to post
Share on other sites
Posted · Question regarding start scripts

Oh, nice, I knew I couldnt be the only one facing this problem.

 

Is there a way to only perform one part of the start script if only one Extruder is used, by the way?

Share this post


Link to post
Share on other sites
Posted · Question regarding start scripts
35 minutes ago, MTG said:

Is there a way to only perform one part of the start script if only one Extruder is used, by the way? 

 

No, there is not.

  • Like 1

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!