<p><a href="https://i.sstatic.net/1VeN3.jpg" rel="nofollow noreferrer" title="Photo of DIY printer"><img src="https://i.sstatic.net/1VeN3.jpg" alt="Photo of DIY printer" title="Photo of DIY printer" /></a></p>
<p><a href="https://i.sstatic.net/FH3GE.png" rel="nofollow noreferrer" title="Screenshot of Edit settings dialog"><img src="https://i.sstatic.net/FH3GE.png" alt="Screenshot of Edit settings dialog" title="Screenshot of Edit settings dialog" /></a></p>
<p>I am currently doing a DIY 3D printer using RAMPS1.4 and it works as I have tested all X, Y and Z axis including the extruder extruding filament. I have jogged all the axis using Pronterface Software. I am printing a simple solid cube (20 mm x 20 mm x 20 mm) and the cube G-code I generated from Slic3r is uploaded on google drive <a href="https://drive.google.com/file/d/1JqmhIk2ULWwMpn9wOWrucyA2CcaFFkLO/view?usp=sharing" rel="nofollow noreferrer">here</a>.</p>
<p>The problem is when it is printing for like 5 seconds, the X- and Y-axis suddenly moves so much to the ends of the beams and I am unsure why, I believe is the G-code problem. I would really appreciate if anyone can give me some advice on this and what went wrong. I am so close to printing my first cube.</p>
<p>I run G-code from Slic3r on the Pronterface software. The video on this problem is uploaded google drive <a href="https://drive.google.com/file/d/1xy7j9eECDt4G1yaNsspTQWKhqa3kE73z/view?usp=sharing" rel="nofollow noreferrer">here</a>, can just view without download. As you can see at the end of the video, the axis can move from one end to the other end and the beam is so long, how is it even possible? I have to switch off the power at the end to prevent damage to wheels.</p>

CC BY-SA 4.0
2023-05-31T07:40:53.110Z
@Greenonline, hi, do you know what went wrong? I believe is the g0code, right? I can see you have a lot of experience on this. I just started a week ago haha buiding it from scratch :)
Maximus Su
CC BY-SA 4.0
2023-05-31T07:46:49.630Z
@Greenonline, I have tested it with CNC ramp using arduino uno to skecth out some 2d skecth using a pen, not a problem with the hardware at all. What a weird problem haha.
Maximus Su
CC BY-SA 4.0
2023-05-31T07:48:28.183Z
@Greenonline, yes, i tried also to put it center. But after some time of printing 10seconds, the x and y axis just miraculously moves out of bound to the edge of the beams and almost damage my wheels, so i just turn off the mains switch emergency
Maximus Su
CC BY-SA 4.0
2023-05-31T08:09:14.633Z
@Greenonline, hi, I have uploaded a video link of my problem in my post :(, feels dissapointed
Maximus Su
CC BY-SA 4.0
2023-05-31T09:55:55.387Z
The center of the build plate is rarely the origin, in 99 % it is a corner (unless it is a Delta, a MakerBot or an Ultimaker and some rare other brand).
0scar
CC BY-SA 4.0
2023-05-31T10:03:54.503Z
@Oscar, one thing I notice, is that when I try to press the center red button (home button), the axis moves out of bound and almost damage the wheels too and I have to switch off the power suppy :)
Maximus Su
CC BY-SA 4.0
2023-05-31T10:20:35.220Z
There is too much wrong with this build, I don't know where to start. First fix your endstops and homing, next fix your slicer settings. Depending on the endstop positions the origin is defined through your firmware, so fix firmware. Great first attempt, ingenious ways to fix parts,  a true tinkerer!
0scar
<print-quality><3d-design><diy-3d-printer><electronics>
3D printer G-code problem
Maximus Su
# 3D printer G-code problem

(Asked by: username_0 on 2023-05-31)

[![Photo of DIY printer](https://i.sstatic.net/1VeN3.jpg "Photo of DIY printer")](https://i.sstatic.net/1VeN3.jpg "Photo of DIY printer")

[![Screenshot of Edit settings dialog](https://i.sstatic.net/FH3GE.png "Screenshot of Edit settings dialog")](https://i.sstatic.net/FH3GE.png "Screenshot of Edit settings dialog")

I am currently doing a DIY 3D printer using RAMPS1.4 and it works as I have tested all X, Y and Z axis including the extruder extruding filament. I have jogged all the axis using Pronterface Software. I am printing a simple solid cube (20 mm x 20 mm x 20 mm) and the cube G-code I generated from Slic3r is uploaded on google drive [here](https://drive.google.com/file/d/1JqmhIk2ULWwMpn9wOWrucyA2CcaFFkLO/view?usp=sharing).

The problem is when it is printing for like 5 seconds, the X- and Y-axis suddenly moves so much to the ends of the beams and I am unsure why, I believe is the G-code problem. I would really appreciate if anyone can give me some advice on this and what went wrong. I am so close to printing my first cube.

I run G-code from Slic3r on the Pronterface software. The video on this problem is uploaded google drive [here](https://drive.google.com/file/d/1xy7j9eECDt4G1yaNsspTQWKhqa3kE73z/view?usp=sharing), can just view without download. As you can see at the end of the video, the axis can move from one end to the other end and the beam is so long, how is it even possible? I have to switch off the power at the end to prevent damage to wheels.

**Tags:** print-quality, 3d-design, diy-3d-printer, electronics
> **Comments:**
> **username_0**: @Greenonline, hi, do you know what went wrong? I believe is the g0code, right? I can see you have a lot of experience on this. I just started a week ago haha buiding it from scratch :)  
> **username_0**: @Greenonline, I have tested it with CNC ramp using arduino uno to skecth out some 2d skecth using a pen, not a problem with the hardware at all. What a weird problem haha.  
> **username_0**: @Greenonline, yes, i tried also to put it center. But after some time of printing 10seconds, the x and y axis just miraculously moves out of bound to the edge of the beams and almost damage my wheels, so i just turn off the mains switch emergency  
> **username_0**: @Greenonline, hi, I have uploaded a video link of my problem in my post :(, feels dissapointed  
> **username_1**: The center of the build plate is rarely the origin, in 99 % it is a corner (unless it is a Delta, a MakerBot or an Ultimaker and some rare other brand).  
> **username_0**: @Oscar, one thing I notice, is that when I try to press the center red button (home button), the axis moves out of bound and almost damage the wheels too and I have to switch off the power suppy :)  
> **username_1**: There is too much wrong with this build, I don't know where to start. First fix your endstops and homing, next fix your slicer settings. Depending on the endstop positions the origin is defined through your firmware, so fix firmware. Great first attempt, ingenious ways to fix parts,  a true tinkerer!  

---

## 0 answers

