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?

Recommended Posts

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.

Share this post

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

    • Architect Design Contest | Vehicles.
      We're open for entries! - Design and submit your 3D designs of architectural entourage - vehicles - for a chance to win a large filament pack. Presenting an idea, an architectural design or something as big as an urban project isn't easy. A scaled model can really help to get your idea across.
        • Like
      • 14 replies
    • What The DfAM?
      I'm Steve Cox, an experienced engineer familiar with 3D printing. I wanted to share some DfAM guidelines with this community to help and make stronger parts.
      I'm also an Autodesk Certified Instructor for Fusion 360, so many of the images in ...
        • Thanks
        • Like
      • 18 replies

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!