So I made a 3D printer from scratch. It is a RepStrap based on a Prusa i3 running Marlin 2.0.x.

It prints fine and accurate, but, The trouble is that the XY plane is mirrored and I don't know how to solve this.

I'm using Marlin 2.0.x on an SKR 1.4 controller board.

Any pointers would be greatly appreciated.


  • $\begingroup$ Make sure X = X and Y = Y. If possible hook up a console or a software application that communicates with the printer, e.g. Pronterface (PrintRun suite) or Repetier Host. The latter options allow for graphical interfacing with the printer; homing, movement, etc. $\endgroup$ – 0scar Oct 26 '20 at 10:16

First of all, make sure that you have correctly identified the X and Y axes, and that the stepper motors (and end-stop switches) are connected to the correct ports. The hot end moves on the X-axis, and the bed moves on the Y-axis. If you connect the X and Y motors the wrong way round, you will get reversed text.

If the X and Y motors are connected to the correct ports, you may need to invert the motor directions in firmware. There are #define statements to allow you to do this.

  • $\begingroup$ Oh I see, turn the wires around AND invert in Marlin?! That makes sense! Will try! thanks! $\endgroup$ – Dennis Decoene Oct 25 '20 at 10:05
  • $\begingroup$ No. Swap the cables if they are connected to the wrong ports (this is a common error). Otherwise, you will have to change the firmware. $\endgroup$ – Mick Oct 25 '20 at 12:19
  • $\begingroup$ @DennisDecoene You only need to do "AND" if you need to flip the connectors 180° in the same port (then the endstop is in the wrong direction). $\endgroup$ – 0scar Oct 26 '20 at 10:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.