Jump to content
Ultimaker Community of 3D Printing Experts

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

  • 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
    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 Transformation Summit
        Visit our virtual showroom and learn more about the Ultimaker ecosystem!
        • 14 replies
      • New here? Register your Ultimaker for free 3D printer 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
        • 0 replies
    ×
    ×
    • Create New...