Jump to content
Ultimaker Community of 3D Printing Experts

Prints Not Centered


Recommended Posts

Posted · Prints Not Centered

Okay guys, I have looked across multiple videos and forums for a few days now and not been able to fix my issue. 

I know this is a topic covered in many places but I apparently am missing something and cannot get this working 


I built a new printer, standard Cartesian style XYZ. Running latest marlin firmware and latest CURA. 

All axis Home fine, printer dimensions are measured out at X202  Y326  Z254 and set to this in both Cura printer settings and Firmware dimension settings.

I notice on the LCD that once Homed it is not reading 0,0,0 Like I would expect and instead readying x-101 y-163.

I tried putting in the gcode settings in cura at start print to have it read G92 x0 y0 etc. but that did nothing. 

Also, when the print begins it homes, then moves directly to the bed center with Z15 respectively and then lowers down into the corner to start the print. 

 I added pic links to try and get my issue across, Green is bed center and red is where it is trying to print. Not sure what else details I can provide

but i cannot figure it out for some reason. I may be missing something completely obvious here and I apologize if I am. 




CURA Code (last tested)

G28 ;Home

G1 Z15.0 F6000 ;Move the platform down 15mm

G92 X0 Y0 Z0

;Prime the extruder

G92 E0

G1 F200 E3



Marlin Code for dimension

// Direction of endstops when homing; 1=MAX, -1=MIN
// :[-1,1]
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1

// @section machine

// The size of the print bed
#define X_BED_SIZE 202
#define Y_BED_SIZE 326

// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define Z_MAX_POS 254


  • Link to post
    Share on other sites

    Posted · Prints Not Centered

    Tonight I will sit down and run through a clean configuration of marlin. Right now it’s using the preconfig files for the anetA8 because that is what the print controller came off of and all I changed was the bed dimensions to reflect this new build. 

  • Link to post
    Share on other sites

    Posted · Prints Not Centered
    16 hours ago, tinkergnome said:


    Sounds like a firmware configuration thingy....?




    Okay you were correct...

    I wasnt understanding what I was looking at in the code. 

    By changing the X_MIN Y_MIN ;after Homing offset

    to this:

    #define X_MIN_POS -101
    #define Y_MIN_POS -163
    #define Z_MIN_POS 0

    and ALSO using the CURA GCode addition of:

    G92 X0 Y0 Z15


    It is now printing dead center on the bed and I am running the first test print. Thanks man


  • Link to post
    Share on other sites

    Posted · Prints Not Centered

    Great - although... my suspicion was that you have accidentally activated "BED_CENTER_AT_0_0"

    Take sure, that it is disabled for a cartesian printer - because 0/0 is the home and minimum position in your case - and not the center, right?


  • Link to post
    Share on other sites

    Posted · Prints Not Centered

    Correct , I did check and verify this was disabled. I ran a 15 hour print overnight that turned out really well so I think I can officially call this a completed project. Although that centering issue I spent several days trying to figure out. 

  • 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

      • New here? Get ahead with a free onboarding course
        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
        • 11 replies
    • Create New...