Jump to content

How to prevent Z being moved with X and Y during travel?


morristec

Recommended Posts

Posted · How to prevent Z being moved with X and Y during travel?

Somehow my old printer cannot handle XYZ being moved at once during travel, the motors stutter and vibrate a lot.

 

The printer was originally provided with Slic3r and Simplify3D profiles but I want to switch to Cura

 

I found out that Slic3r moves X and Y first, and Z in a separate G1 command.

 

Cura however moves all three motors at once like

G0 X40 Y50 Z0.3

and this causes problems.

 

Is there a way I can tell Cura to only move Z on its own?

 

Thank you!

  • Link to post
    Share on other sites

    Posted · How to prevent Z being moved with X and Y during travel?

    I worked around it using the "Modify G Code" extension and a "Search and Replace" regular expression:

     

    Search:

     (?P<prefix>G0.+? )(?P<coord_x>X[0-9]+\.[0-9]+ )(?P<coord_y>Y[0-9]+\.[0-9]+ )(?P<coord_z>Z[0-9]+\.[0-9]+)


    Replace:

    \g<prefix>\g<coord_x>\g<coord_y>\n\g<prefix>\g<coord_z>

     

  • 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 Cura 5.4 stable released
        The full stable release of UltiMaker Cura 5.4 is here and it makes it easier than ever to remove brims and supports from your finished prints. UltiMaker S series users can also look forward to print profiles for our newest UltiMaker PET CF composite material!
          • Like
        • 58 replies
    ×
    ×
    • Create New...