Jump to content
Ultimaker Community of 3D Printing Experts

Is it possible to return to a layer height in cura after running a nozzle change?


mokash770
 Share

Recommended Posts

Posted · Is it possible to return to a layer height in cura after running a nozzle change?

So here's the thing, I'm trying to print with 2 extruders and one nozzle. I already got close and uploaded my progress to thingiverse http://www.thingiverse.com/thing:1494026 but now i'm trying to get cura to wipe the nozzle off after purging out the old color. the problem is that if I move the z axis to 0 it won't move back to the height of the current layer. Any suggestions would be greatly appreciated.

this is the code I have so far

 

;Switch between the current extruder and the next extruder, when printing with multiple extruders.;This code is added before the T(n)G91                                    ;relative positioningG1 E-1 F6000                            ;retract the filament a bit before lifting the nozzle, to release some of the pressure;G1 Z+0.5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even moreG90                         ;absolute positioningG1 X221G1 Z0G92 E0G1 F10000 E-155G92 E0

 

 

;Switch between the current extruder and the next extruder, when printing with multiple extruders.;This code is added after the T(n)M104 T0 S215M104 T1 S215G92 E0G1 F10000 E145G92 E0G1 F175 E10G92 E0G1 F10000 E-6G1 X214G1 Z{layer height}

 

The brackets after z is where the issue is.

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

    • 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
        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
        • 12 replies
    ×
    ×
    • Create New...