Thanks, but the problem is not with z axis. It prints the right height, but it starts printing too far off the left of the board as you're facing it (that means the x axis is starting negative numbers right?). How do we fix that?
GregValiant 1,119
Sorry. I misinterpreted "off the bed".
Open the Gcode file. Right near the beginning will be a line ";MINX" and one for ";MINY". If either of them is negative then that's the problem.
In Cura click on the name of your printer. Choose Manage Printers and then Machine Settings. On the left there is a box "Origin at Center". Make sure that is de-selected. Most printers have the origin at the left front corner. Delta printers have the origin at center.
The Home Offsets in the printer, coupled with the Bed Size in Cura also determine where a print will be on the bed. But first make sure Origin at Center is not checked and then slice something. You don't have to print it, just check the MINX and MINY to insure it will print in the positive octant.
-
1
- 2 weeks later...
My MINX and MINY is negative. That is my problem. Do I just delete the negatives or change the numbers too? Also, when I try to edit the gcode it doesn't change anything. Thanks!
GregValiant 1,119
The normal X=0, Y=0 is the left from corner. Delta printers use "Origin at Center", but essentially no other printers use it, so make sure it's turned off in the Machine Settings in Cura.
You cannot just replace the negative signs in a gcode file to fix it. Consider that if an extrusion went from X-100 to X+100 and you removed the negative sign, instead of an extrusion 200mm long it would be 0mm long.
You didn't mention the printer, but if you absolutely gotta haveta print that particular gcode file you can change the Home Offsets by adding a line to the beginning of the gcode file:
M206 X115 Y115
Where the "115"'s are 1/2 the X and 1/2 the Y of the build plate size. You would also need to add a line to the end of the gcode - M206 X(original X home offset) and Y(original Y home offset) to reset the numbers or it might be off for the next print (powering the printer off and then on will reset it also).
Edited by GregValiant
-
1
We tried this and it didnt make any difference. Here is the file. I have an anycubic chiron. (X400 Y400 Z450) Thank you for your help
GregValiant 1,119
Did you re-slice that and make a new Gcode file?
The MinX and MinY show as positive numbers in the file heading but that isn't true. There are negative values throughout the gcode file. MinX is listed as 34.8 but in the lines of gcode it is -34.8. MinY is shown as 18.8 but it's really -18.8
These are some lines I picked out of the gcode. All these points are negative numbers and are off the build plate.
G1 X-34.6 Y-3.986 E5.6557
G1 X-34.564 Y-4.992 E5.73605
G1 X-34.554 Y-5.127 E5.74686
G1 X-34.452 Y-6.044 E5.82051
That is what would be expected if "Origin At Center" was ticked in the Machine Settings. It's wrong. You can open the Gcode file in Cura and look at it in the preview (but you cannot change it). The center of the model is in the left front corner and 3/4 of it is in negative areas. If you have definitely UN-CHECKED "Origin At Center" when you sliced that model and generated the Gcode then you may need to re-install Cura. What is happening is incorrect.
- 2 weeks later...
Thank you so much! I reinstalled Cura to 4.9 and it prints dead center now. I will leave you updates on the other part. Thaks!
Recommended Posts
GregValiant 1,119
Open the gcode file in a text editor like Notepad. Go down to "Layer:0" and see what the "Z" is. It should be at your "Initial Layer Height". It should be noted just above or below Layer:0 line.
If it isn't your Initial Layer Height, then maybe you have a Z-offset in Cura? Was the model located on the bed or above it?
If that Z in the gcode is at the Initial Layer Height, then are your Home Offsets correct? Is the bed in the correct Z relation to the nozzle? Getting the Z to zero is part of the leveling process. If you have an ABL maybe the Z-offset there is incorrect.
Edited by GregValiantLink to post
Share on other sites