# Tool Path change \*\*HELP\*\* Newbie

**URL:** <https://forum.onefinitycnc.com/t/tool-path-change-help-newbie/20927>\
**Category:** Troubleshooting (X35/X50)\
**Created:** [June 6, 2023, 10:39am UTC](https://forum.onefinitycnc.com/t/tool-path-change-help-newbie/20927 "2023-06-06T10:39:51Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jarrodh](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@Jarrodh](https://forum.onefinitycnc.com/u/Jarrodh)\
**Post date:** [June 6, 2023, 10:39am UTC](https://forum.onefinitycnc.com/t/tool-path-change-help-newbie/20927/1 "2023-06-06T10:39:52Z")

</div>

X50 Owner for 12 months. Australia  
Never had a problem, faultless really. Still a lot to learn. I cut a lot of shapes out of birch ply and recently my machine has decided to change the tool path slightly as per the image below. As I have never had a problem I have absolutely no idea where to start other than to reach out to you fine folk on the forum.  
The Gcode is below with an image showing the fault with the cut. I have never changed anything with my machine including not even updating firmware or really understanding whether it could be a factor.  
The simple cut below is a shape using a 1/8 downcut bit on 15mm ply. It would have done 7 passes to make the cut fully but on at least two depth of cuts it decides to change where the shape is cut.  
Re-starting the machine and also doing different cuts it seems to be a problem with all. If this is the case is it my “X” or “Y” axis sticking?  
Keeping in mind that these shapes I have been cutting perfectly for the lift of the machine.

Hope someone can assist.

 ![IMG_6948](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/1/6/166c25a48a599dea87c4e6c31803432688de9c56.jpeg)

%  
(VECTRIC POST REVISION)  
(0EF08EE7FEE6AFF80E20B6E55BC3B23F)  
T1  
G0 G17 G21 G90 G40 G49 G64 P0.001  
G0Z20.320  
G0X0.000Y0.000  
M3 S10000  
M0(MSG, Click ‘Continue’ when the spindle is up to speed)  
G0X280.199Y150.399Z5.080  
G1Z-2.286F508.0  
G1X198.906Y150.434F1651.0  
G1X192.319Y150.437  
G1X185.731Y150.439  
G1X106.177Y150.474  
G3X100.400Y145.303I0.088J-5.911  
G1X95.621Y101.148  
G1X95.639Y100.955  
G1X95.691Y100.675  
G1X95.765Y100.403  
G1X95.861Y100.141  
G1X95.977Y99.889  
G1X96.114Y99.648  
G1X96.269Y99.419  
G1X96.441Y99.204  
G1X96.631Y99.003  
G1X96.836Y98.819  
G1X97.056Y98.651  
G1X97.289Y98.501  
G1X97.535Y98.371  
G1X97.793Y98.260  
G1X98.061Y98.171  
G1X98.219Y98.133  
G1X158.088Y98.294  
G1X187.532Y98.187  
G1X188.718Y98.182  
G1X194.120Y98.197  
G1X200.707Y98.215  
G1X228.380Y98.290  
G1X288.249Y98.121  
G1X288.407Y98.159  
G1X288.676Y98.248  
G1X288.933Y98.359  
G1X289.179Y98.489  
G1X289.412Y98.639  
G1X289.632Y98.806  
G1X289.837Y98.991  
G1X290.027Y99.191  
G1X290.200Y99.407  
G1X290.355Y99.635  
G1X290.491Y99.876  
G1X290.607Y100.128  
G1X290.703Y100.391  
G1X290.777Y100.662  
G1X290.829Y100.943  
G1X290.848Y101.135  
G1X286.078Y145.253  
G1X286.037Y145.525  
G1X285.983Y145.790  
G1X285.918Y146.051  
G1X285.842Y146.307  
G1X285.754Y146.558  
G1X285.663Y146.788  
G1X285.426Y147.279  
G1X285.158Y147.730  
G1X284.851Y148.154  
G1X284.508Y148.549  
G1X284.133Y148.912  
G1X283.726Y149.242  
G1X283.292Y149.534  
G1X282.815Y149.797  
G1X282.592Y149.901  
G1X282.348Y150.002  
G1X282.098Y150.092  
G1X281.843Y150.172  
G1X281.583Y150.239  
G1X281.318Y150.296  
G1X281.049Y150.340  
G1X280.776Y150.372  
G1X280.499Y150.392  
G1X280.199Y150.399  
G1Z-4.571F508.0  
G1X198.906Y150.434F1651.0  
G1X192.319Y150.437  
G1X185.731Y150.439  
G1X106.177Y150.474  
G3X100.400Y145.303I0.088J-5.911  
G1X95.621Y101.148  
G1X95.639Y100.955  
G1X95.691Y100.675  
G1X95.765Y100.403  
G1X95.861Y100.141  
G1X95.977Y99.889  
G1X96.114Y99.648  
G1X96.269Y99.419  
G1X96.441Y99.204  
G1X96.631Y99.003  
G1X96.836Y98.819  
G1X97.056Y98.651  
G1X97.289Y98.501  
G1X97.535Y98.371  
G1X97.793Y98.260  
G1X98.061Y98.171  
G1X98.219Y98.133  
G1X158.088Y98.294  
G1X187.532Y98.187  
G1X188.718Y98.182  
G1X194.120Y98.197  
G1X200.707Y98.215  
G1X228.380Y98.290  
G1X288.249Y98.121  
G1X288.407Y98.159  
G1X288.676Y98.248  
G1X288.933Y98.359  
G1X289.179Y98.489  
G1X289.412Y98.639  
G1X289.632Y98.806  
G1X289.837Y98.991  
G1X290.027Y99.191  
G1X290.200Y99.407  
G1X290.355Y99.635  
G1X290.491Y99.876  
G1X290.607Y100.128  
G1X290.703Y100.391  
G1X290.777Y100.662  
G1X290.829Y100.943  
G1X290.848Y101.135  
G1X286.078Y145.253  
G1X286.037Y145.525  
G1X285.983Y145.790  
G1X285.918Y146.051  
G1X285.842Y146.307  
G1X285.754Y146.558  
G1X285.663Y146.788  
G1X285.426Y147.279  
G1X285.158Y147.730  
G1X284.851Y148.154  
G1X284.508Y148.549  
G1X284.133Y148.912  
G1X283.726Y149.242  
G1X283.292Y149.534  
G1X282.815Y149.797  
G1X282.592Y149.901  
G1X282.348Y150.002  
G1X282.098Y150.092  
G1X281.843Y150.172  
G1X281.583Y150.239  
G1X281.318Y150.296  
G1X281.049Y150.340  
G1X280.776Y150.372  
G1X280.499Y150.392  
G1X280.199Y150.399  
G1Z-6.857F508.0  
G1X198.906Y150.434F1651.0  
G1X192.319Y150.437  
G1X185.731Y150.439  
G1X106.177Y150.474  
G3X100.400Y145.303I0.088J-5.911  
G1X95.621Y101.148  
G1X95.639Y100.955  
G1X95.691Y100.675  
G1X95.765Y100.403  
G1X95.861Y100.141  
G1X95.977Y99.889  
G1X96.114Y99.648  
G1X96.269Y99.419  
G1X96.441Y99.204  
G1X96.631Y99.003  
G1X96.836Y98.819  
G1X97.056Y98.651  
G1X97.289Y98.501  
G1X97.535Y98.371  
G1X97.793Y98.260  
G1X98.061Y98.171  
G1X98.219Y98.133  
G1X158.088Y98.294  
G1X187.532Y98.187  
G1X188.718Y98.182  
G1X194.120Y98.197  
G1X200.707Y98.215  
G1X228.380Y98.290  
G1X288.249Y98.121  
G1X288.407Y98.159  
G1X288.676Y98.248  
G1X288.933Y98.359  
G1X289.179Y98.489  
G1X289.412Y98.639  
G1X289.632Y98.806  
G1X289.837Y98.991  
G1X290.027Y99.191  
G1X290.200Y99.407  
G1X290.355Y99.635  
G1X290.491Y99.876  
G1X290.607Y100.128  
G1X290.703Y100.391  
G1X290.777Y100.662  
G1X290.829Y100.943  
G1X290.848Y101.135  
G1X286.078Y145.253  
G1X286.037Y145.525  
G1X285.983Y145.790  
G1X285.918Y146.051  
G1X285.842Y146.307  
G1X285.754Y146.558  
G1X285.663Y146.788  
G1X285.426Y147.279  
G1X285.158Y147.730  
G1X284.851Y148.154  
G1X284.508Y148.549  
G1X284.133Y148.912  
G1X283.726Y149.242  
G1X283.292Y149.534  
G1X282.815Y149.797  
G1X282.592Y149.901  
G1X282.348Y150.002  
G1X282.098Y150.092  
G1X281.843Y150.172  
G1X281.583Y150.239  
G1X281.318Y150.296  
G1X281.049Y150.340  
G1X280.776Y150.372  
G1X280.499Y150.392  
G1X280.199Y150.399  
G1Z-9.143F508.0  
G1X198.906Y150.434F1651.0  
G1X192.319Y150.437  
G1X185.731Y150.439  
G1X106.177Y150.474  
G3X100.400Y145.303I0.088J-5.911  
G1X95.621Y101.148  
G1X95.639Y100.955  
G1X95.691Y100.675  
G1X95.765Y100.403  
G1X95.861Y100.141  
G1X95.977Y99.889  
G1X96.114Y99.648  
G1X96.269Y99.419  
G1X96.441Y99.204  
G1X96.631Y99.003  
G1X96.836Y98.819  
G1X97.056Y98.651  
G1X97.289Y98.501  
G1X97.535Y98.371  
G1X97.793Y98.260  
G1X98.061Y98.171  
G1X98.219Y98.133  
G1X158.088Y98.294  
G1X187.532Y98.187  
G1X188.718Y98.182  
G1X194.120Y98.197  
G1X200.707Y98.215  
G1X228.380Y98.290  
G1X288.249Y98.121  
G1X288.407Y98.159  
G1X288.676Y98.248  
G1X288.933Y98.359  
G1X289.179Y98.489  
G1X289.412Y98.639  
G1X289.632Y98.806  
G1X289.837Y98.991  
G1X290.027Y99.191  
G1X290.200Y99.407  
G1X290.355Y99.635  
G1X290.491Y99.876  
G1X290.607Y100.128  
G1X290.703Y100.391  
G1X290.777Y100.662  
G1X290.829Y100.943  
G1X290.848Y101.135  
G1X286.078Y145.253  
G1X286.037Y145.525  
G1X285.983Y145.790  
G1X285.918Y146.051  
G1X285.842Y146.307  
G1X285.754Y146.558  
G1X285.663Y146.788  
G1X285.426Y147.279  
G1X285.158Y147.730  
G1X284.851Y148.154  
G1X284.508Y148.549  
G1X284.133Y148.912  
G1X283.726Y149.242  
G1X283.292Y149.534  
G1X282.815Y149.797  
G1X282.592Y149.901  
G1X282.348Y150.002  
G1X282.098Y150.092  
G1X281.843Y150.172  
G1X281.583Y150.239  
G1X281.318Y150.296  
G1X281.049Y150.340  
G1X280.776Y150.372  
G1X280.499Y150.392  
G1X280.199Y150.399  
G1Z-11.429F508.0  
G1X198.906Y150.434F1651.0  
G1X192.319Y150.437Z-10.500  
G1X185.731Y150.439Z-11.429  
G1X106.177Y150.474  
G3X100.400Y145.303I0.088J-5.911  
G1X95.621Y101.148  
G1X95.639Y100.955  
G1X95.691Y100.675  
G1X95.765Y100.403  
G1X95.861Y100.141  
G1X95.977Y99.889  
G1X96.114Y99.648  
G1X96.269Y99.419  
G1X96.441Y99.204  
G1X96.631Y99.003  
G1X96.836Y98.819  
G1X97.056Y98.651  
G1X97.289Y98.501  
G1X97.535Y98.371  
G1X97.793Y98.260  
G1X98.061Y98.171  
G1X98.219Y98.133  
G1X158.088Y98.294  
G1X187.532Y98.187  
G1X188.718Y98.182  
G1X194.120Y98.197Z-10.500  
G1X200.707Y98.215Z-11.429  
G1X228.380Y98.290  
G1X288.249Y98.121  
G1X288.407Y98.159  
G1X288.676Y98.248  
G1X288.933Y98.359  
G1X289.179Y98.489  
G1X289.412Y98.639  
G1X289.632Y98.806  
G1X289.837Y98.991  
G1X290.027Y99.191  
G1X290.200Y99.407  
G1X290.355Y99.635  
G1X290.491Y99.876  
G1X290.607Y100.128  
G1X290.703Y100.391  
G1X290.777Y100.662  
G1X290.829Y100.943  
G1X290.848Y101.135  
G1X286.078Y145.253  
G1X286.037Y145.525  
G1X285.983Y145.790  
G1X285.918Y146.051  
G1X285.842Y146.307  
G1X285.754Y146.558  
G1X285.663Y146.788  
G1X285.426Y147.279  
G1X285.158Y147.730  
G1X284.851Y148.154  
G1X284.508Y148.549  
G1X284.133Y148.912  
G1X283.726Y149.242  
G1X283.292Y149.534  
G1X282.815Y149.797  
G1X282.592Y149.901  
G1X282.348Y150.002  
G1X282.098Y150.092  
G1X281.843Y150.172  
G1X281.583Y150.239  
G1X281.318Y150.296  
G1X281.049Y150.340  
G1X280.776Y150.372  
G1X280.499Y150.392  
G1X280.199Y150.399  
G1Z-13.714F508.0  
G1X198.906Y150.434F1651.0  
G1X192.319Y150.437Z-10.500  
G1X185.731Y150.439Z-13.714  
G1X106.177Y150.474  
G3X100.400Y145.303I0.088J-5.911  
G1X95.621Y101.148  
G1X95.639Y100.955  
G1X95.691Y100.675  
G1X95.765Y100.403  
G1X95.861Y100.141  
G1X95.977Y99.889  
G1X96.114Y99.648  
G1X96.269Y99.419  
G1X96.441Y99.204  
G1X96.631Y99.003  
G1X96.836Y98.819  
G1X97.056Y98.651  
G1X97.289Y98.501  
G1X97.535Y98.371  
G1X97.793Y98.260  
G1X98.061Y98.171  
G1X98.219Y98.133  
G1X158.088Y98.294  
G1X187.532Y98.187  
G1X188.718Y98.182  
G1X194.120Y98.197Z-10.500  
G1X200.707Y98.215Z-13.714  
G1X228.380Y98.290  
G1X288.249Y98.121  
G1X288.407Y98.159  
G1X288.676Y98.248  
G1X288.933Y98.359  
G1X289.179Y98.489  
G1X289.412Y98.639  
G1X289.632Y98.806  
G1X289.837Y98.991  
G1X290.027Y99.191  
G1X290.200Y99.407  
G1X290.355Y99.635  
G1X290.491Y99.876  
G1X290.607Y100.128  
G1X290.703Y100.391  
G1X290.777Y100.662  
G1X290.829Y100.943  
G1X290.848Y101.135  
G1X286.078Y145.253  
G1X286.037Y145.525  
G1X285.983Y145.790  
G1X285.918Y146.051  
G1X285.842Y146.307  
G1X285.754Y146.558  
G1X285.663Y146.788  
G1X285.426Y147.279  
G1X285.158Y147.730  
G1X284.851Y148.154  
G1X284.508Y148.549  
G1X284.133Y148.912  
G1X283.726Y149.242  
G1X283.292Y149.534  
G1X282.815Y149.797  
G1X282.592Y149.901  
G1X282.348Y150.002  
G1X282.098Y150.092  
G1X281.843Y150.172  
G1X281.583Y150.239  
G1X281.318Y150.296  
G1X281.049Y150.340  
G1X280.776Y150.372  
G1X280.499Y150.392  
G1X280.199Y150.399  
G1Z-16.000F508.0  
G1X198.906Y150.434F1651.0  
G1X192.319Y150.437Z-10.500  
G1X185.731Y150.439Z-16.000  
G1X106.177Y150.474  
G3X100.400Y145.303I0.088J-5.911  
G1X95.621Y101.148  
G1X95.639Y100.955  
G1X95.691Y100.675  
G1X95.765Y100.403  
G1X95.861Y100.141  
G1X95.977Y99.889  
G1X96.114Y99.648  
G1X96.269Y99.419  
G1X96.441Y99.204  
G1X96.631Y99.003  
G1X96.836Y98.819  
G1X97.056Y98.651  
G1X97.289Y98.501  
G1X97.535Y98.371  
G1X97.793Y98.260  
G1X98.061Y98.171  
G1X98.219Y98.133  
G1X158.088Y98.294  
G1X187.532Y98.187  
G1X188.718Y98.182Z-15.010  
G1X194.120Y98.197Z-10.500  
G1X200.707Y98.215Z-16.000  
G1X228.380Y98.290  
G1X288.249Y98.121  
G1X288.407Y98.159  
G1X288.676Y98.248  
G1X288.933Y98.359  
G1X289.179Y98.489  
G1X289.412Y98.639  
G1X289.632Y98.806  
G1X289.837Y98.991  
G1X290.027Y99.191  
G1X290.200Y99.407  
G1X290.355Y99.635  
G1X290.491Y99.876  
G1X290.607Y100.128  
G1X290.703Y100.391  
G1X290.777Y100.662  
G1X290.829Y100.943  
G1X290.848Y101.135  
G1X286.078Y145.253  
G1X286.037Y145.525  
G1X285.983Y145.790  
G1X285.918Y146.051  
G1X285.842Y146.307  
G1X285.754Y146.558  
G1X285.663Y146.788  
G1X285.426Y147.279  
G1X285.158Y147.730  
G1X284.851Y148.154  
G1X284.508Y148.549  
G1X284.133Y148.912  
G1X283.726Y149.242  
G1X283.292Y149.534  
G1X282.815Y149.797  
G1X282.592Y149.901  
G1X282.348Y150.002  
G1X282.098Y150.092  
G1X281.843Y150.172  
G1X281.583Y150.239  
G1X281.318Y150.296  
G1X281.049Y150.340  
G1X280.776Y150.372  
G1X280.499Y150.392  
G1X280.199Y150.399  
G0Z5.080  
M5  
G0Z20.320  
G0X0.000Y0.000  
M2

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [June 6, 2023, 11:18am UTC](https://forum.onefinitycnc.com/t/tool-path-change-help-newbie/20927/2 "2023-06-06T11:18:56Z")

</div>

Hey Jarrod,

the cause of position shifts is usually cable or connector problems, or electromagnetic interference as the stepper cables are unfortunately not shielded.

See here:

- [Troubleshooting: Rail is getting hung, stuck, or out of alignment (x35/x50 machines)](https://forum.onefinitycnc.com/t/troubleshooting-rail-is-getting-hung-stuck-or-out-of-alignment-x35-x50-machines/10826)

Do you have retrofit [strain relief for X gantry Molex connectors](https://forum.onefinitycnc.com/t/strain-relief-for-x-gantry-molex-connectors/11461) on your machine?

---

<div class="post-metadata">

**Author:** ![Jarrodh](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@Jarrodh](https://forum.onefinitycnc.com/u/Jarrodh)\
**Post date:** [June 6, 2023, 11:38am UTC](https://forum.onefinitycnc.com/t/tool-path-change-help-newbie/20927/3 "2023-06-06T11:38:05Z")

</div>

Thanks so much for the reply. I haven’t changed anything for 12 months. I did get extension cables which were made up by one of the aligned suppliers from Etsy. See below. These have been on the machine the whole time.  
I’ll have a good read of the troubleshooting.

 ![IMG_6950](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/a/6/a664f82e83f69891b3c3ee3a2190f84b250ac600.jpeg)

---

<div class="post-metadata">

**Author:** ![Timberly](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/timberly/32/24487_2.png) [@Timberly](https://forum.onefinitycnc.com/u/Timberly)\
**Post date:** [June 6, 2023, 6:33pm UTC](https://forum.onefinitycnc.com/t/tool-path-change-help-newbie/20927/4 "2023-06-06T18:33:11Z")

</div>

@Jarrodh

I know that @349iq2345 has been around for a while and is super knowledgeable; however, have you tried to simulate your tool paths in software? While I’m not as experienced as others, I looked at your image and I see the rails to the top left, which makes me think that the x-axis was off. I am wondering if you could duplicate the issue in a simulation/preview using your CAD/CAM software.

There are two pieces to this system: software (G-Code to execute) and hardware (movement, electronics, interference). If you could eliminate one of the two pieces from suspicion, you’d be able to move in the correct direction and focus on gcode/software bug or alternatively a hardware issue.

While I’m new to CNC, I’ve been troubleshooting systems for a long time and I’ve always found the fastest way to find the issue is to break a system into logical halves and verify if it’s good or bad. Then continually break the failing segment into halves again until you’re left with only the faulty part at the end.

I’m very sorry that I can’t just figure it out quickly for you, but I hope that this helps.  
Good luck!

---

<div class="post-metadata">

**Author:** ![Jarrodh](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@Jarrodh](https://forum.onefinitycnc.com/u/Jarrodh)\
**Post date:** [June 6, 2023, 9:59pm UTC](https://forum.onefinitycnc.com/t/tool-path-change-help-newbie/20927/5 "2023-06-06T21:59:23Z")

</div>

Many thanks for the reply. My hunch is the machine as I have run different jobs and the same thing happens. I even ran the same job twice over the top of the first and the machine ran a different path to the first. Looking at my jobs it does seem to me that the “X” axis is off. I’ll take a closer look at my machine today including fixing bolts, cables, connectors etc.  
Fingers crossed!!

---

<div class="post-metadata">

**Author:** ![OnefinityCNC](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/onefinitycnc/32/7_2.png) [@OnefinityCNC](https://forum.onefinitycnc.com/u/OnefinityCNC)\
**Post date:** [June 7, 2023, 2:21am UTC](https://forum.onefinitycnc.com/t/tool-path-change-help-newbie/20927/6 "2023-06-07T02:21:12Z")

</div>

Do you have 1.2.1 installed? If so, there’s a know file bug that 1.3 fixes

---

<div class="post-metadata">

**Author:** ![Jarrodh](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@Jarrodh](https://forum.onefinitycnc.com/u/Jarrodh)\
**Post date:** [June 7, 2023, 10:07am UTC](https://forum.onefinitycnc.com/t/tool-path-change-help-newbie/20927/7 "2023-06-07T10:07:27Z")

</div>

I don’t have 1.2.1 installed at all. In fact the machine isn’t wi-fi connected and has its factory version of v1.0.9.  
My machine is doing something different today. what I have drawn is not what it is cutting out.  
Any ideas???

 ![IMG_6960](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/e/f/efecac02069d8788d01f7897bc3dad1e30dc85f8.jpeg)  
 ![IMG_6962](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/2/f/2f83d5c04617c88948834c31b01ce3b716b5eaf0.jpeg)

---

<div class="post-metadata">

**Author:** ![Timberly](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/timberly/32/24487_2.png) [@Timberly](https://forum.onefinitycnc.com/u/Timberly)\
**Post date:** [June 9, 2023, 6:37pm UTC](https://forum.onefinitycnc.com/t/tool-path-change-help-newbie/20927/8 "2023-06-09T18:37:21Z")

</div>

@349iq2345

I’m still new to CNC and G-Code, but I see what appear like Linear movements with G1 and then I see arc movements with G3 (assuming G3 represents turning the corner).

That being said, the g-code ‘_almost_’ repeats exactly. Starting from the 10th line (G1Z-2.286F508.0), I count 71 lines and can break the code into 7 ‘_nearly_’ identical blocks.

Okay, I did a CLI diff on them to make sure that my eyes weren’t missing anything else, but on blocks 5-7, I found differences.

- Block 5: Lines 1,3,5, 27, & 28 differ the first four blocks. It looks like just an addition of the z-axis values and both x&y appear to be the same.
- Block 6: Lines 1, 4, & 28 differ from the block 5.
- Block 7: Lines 1, 4, 26, & 28 differ from block 6.

I just selected the gcode above as described and put them into 7 text files so that I could run a diff on them. It’s probably totally fine since x&y look the same. I zipped those text files and attached them here:  
[gcode-comparison.zip](https://forum.onefinitycnc.com/uploads/short-url/AwlPqEG1QNqtQgIb1GZWIpYCif0.zip) (7.4 KB)

Based on the original posters software photo, I’m suspecting that vcarve is in use and I thought I read somewhere else about another user having some path issues on vcarve. I defer to you though as you know significantly more than I do.

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [June 9, 2023, 7:29pm UTC](https://forum.onefinitycnc.com/t/tool-path-change-help-newbie/20927/9 "2023-06-09T19:29:48Z")

</div>

Hey Timberly, hey Jarrod @Jarrodh

> [@Timberly](#):
>
> [gcode-comparison.zip](https://forum.onefinitycnc.com/uploads/short-url/AwlPqEG1QNqtQgIb1GZWIpYCif0.zip) (7.4 KB)

When diffing the g-code blocks, I can only see alteration in Z movements between these blocks (G1 is a modal command, it can be followed by any number of subsequent axes movements). The diffs show that it only mills deeper with every block, but the X and Y path does not change between the blocks.

I took Jarrod’s g-code from the first example an loaded it into the controller. The toolpath simulation is okay. It does not show the faulty path that Jarrod’s machine milled, so I would say, the g-code is okay, the machine is at fault:

 ![Jarrod.ngc_toolpath_simulation](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/3/3/33bf82574d1e2a743050d7cf3d67397c4e624c00.png)

Therefore I would check all the possible causes mentioned in the [support document above](https://forum.onefinitycnc.com/t/troubleshooting-rail-is-getting-hung-stuck-or-out-of-alignment-x35-x50-machines/10826) and then try to reproduce the error.

PS: Considering the fact that the error is in the X, I would have a look at this:

 ![Jarrods_X_connector](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/1/d/1d2021267cd404f2d43a289f53d4a8fcb1a021ee.jpeg)

I would avoid using hot glue as strain relief. It’s not flexible. Better retrofit real [strain relief for X gantry Molex connectors](https://forum.onefinitycnc.com/t/strain-relief-for-x-gantry-molex-connectors/11461) to the machine. I would assume there is cable break where the wires come out of the hot glue. That could explain the fault seen very well (on the second example you posted too, Jarrod).

Also I would check the conductivity of the connector pins:

> [@Recovering setup after storage](https://forum.onefinitycnc.com/t/recovering-setup-after-storage/20791/2):
>
> Sometimes they have simply a bad connection due to wear or corrosion of the tin plating. In this case, a little amount of [KONTAKT 60](http://www.kontaktchemie.com/KOC/KOCproductdetailV2.csp?product=KONTAKT%2060) and then [KONTAKT 61](http://www.kontaktchemie.com/KOC/KOCproductdetailV2.csp?product=KONTAKT%2061) can help.

---

<div class="post-metadata">

**Author:** ![Jarrodh](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@Jarrodh](https://forum.onefinitycnc.com/u/Jarrodh)\
**Post date:** [June 13, 2023, 11:00am UTC](https://forum.onefinitycnc.com/t/tool-path-change-help-newbie/20927/10 "2023-06-13T11:00:56Z")

</div>

Thank you so much Aiph5u and Timberly. My apologies but this has been the first chance I have had to get back to you both to reply. This machine is my side hustle and for the last 3 days I have been selling product and haven’t had a chance to look over my machine and give it some tender loving care.  
I need to sort this ASAP so I will let you know how I go.  
Many thanks again.
