Jump to content
Ultimaker Community of 3D Printing Experts

Pre and Post layer change


Recommended Posts

Posted · Pre and Post layer change

So in Cura, it is possible to write a special Gcode for pre and post switch extruder but that is only for a tool change. Is there a way to do the same for a layer change as well?

I am currently writing the Gcode for a better swiping mechanism to fight ooze during dual extrusion however I'm running into problems if the object being printed is the same colour for quite a few layers because there is no tool change and my 'wall' won't be drawn as a result. It would be best if the wall could be drawn after every layer change.

Does anyone know any way to do this?

  • Link to post
    Share on other sites

    Posted · Pre and Post layer change

    Add the wipe and prime tower and you will get an extruder swap every layer, wether you want it or not...


    I did just that and set the wipe&prime tower volume per layer to be 0.0001 in expert settings. That way it draws my custom wall every layer change and a negligible wipe&prime tower. Thanks for your input!

  • 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 showcase | April 2022 | 4pm CEST | 10am EDT
        I'm excited because I've personally produced this showcase event, so if you are curious what else I'm up to nowadays, come check it out and say hi in the chat! It would mean a lot! 
          • Thanks
          • Like
        • 4 replies
      • New here? Get ahead with a free onboarding course
        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
        • 12 replies
    • Create New...