How to Reverse (Invert) a Reprap Axis in Sprinter

When I wired up my Reprap and started printing, I noticed that all my prints were mirrored along the Y axis — I’d set it up with the end stop at the front and configured it so that the print bed moved forward when I clicked Y- in pronterface (printrun), and not back. (When the table moves back, the print head essentially moves forward along it.)

The end stops were already in place and I didn’t want to move them, but no combination of INVERT_Y_DIR and Y_HOME_DIR in Configuration.h would work. I even tried changing Y_ENDSTOP_INVERT, knowing full well that it wouldn’t help either.

So how do you flip an axis without moving the end stop or the home position? The answer is to change both INVERT_Y_DIR and Y_HOME_DIR in Configuration.h, and also swap the values for Y_MAX_PIN and  Y_MIN_PIN in pins.h for the specific motherboard you’re using.

Tags: , , , ,

  1. GNT’s avatar

    Sweet, I didn’t have to re-re-re-re-re-solder one of my motors! Thanks


  2. Reuben’s avatar

    Thank you very much! I printed a twisted vase and wondered by mine spiraled opposite everyone elses. Then I printed some RAMPS mounts I made and the holes were mirrored. Jeez.. Thank you very much!


  3. Frederic Dallias’s avatar

    Thanks to you, my mirrored Y problem was resolved in 2 minutes …

    Many thanks from France.


  4. Siewier’s avatar

    THX! You helped me a lot with my inverted X axis on Prusa i3 Rework.



Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.