# Thread repair macro

**URL:** <https://forums.tormach.com/t/thread-repair-macro/1360>\
**Category:** Lathe\
**Created:** [January 27, 2024, 5:53am UTC](https://forums.tormach.com/t/thread-repair-macro/1360 "2024-01-27T05:53:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Carlquist](https://forums.tormach.com/letter_avatar_proxy/v4/letter/b/47e85d/32.png) [@Brian\_Carlquist](https://forums.tormach.com/u/Brian_Carlquist)\
**Post date:** [January 27, 2024, 5:53am UTC](https://forums.tormach.com/t/thread-repair-macro/1360/1 "2024-01-27T05:53:56Z")

</div>

Has anyone written a thread repair macro that will align the machine to an existing thread? I know some machines have a canned thread repair cycle you can run to repair damaged threads. The one that I have used had you enter the thread information, manually jog the tool to the start of the thread, move the tool to the end of the thread and finally position the tool in the thread groove.

On my 8L I have just been entering the thread information into pathpilot, start the threading cycle with the material not in the machine, stop the machine mid-cycle, then I put the material in the collet or chuck, manually align the thread to the tool, tighten chuck or collet and finally restart the threading cycle. Usually works but I would like something more accurate. Small threads are harder to get right, especially if they are tight tolerance.

---

<div class="post-metadata">

**Author:** ![nkowalczyk](https://forums.tormach.com/letter_avatar_proxy/v4/letter/n/9de053/32.png) [@nkowalczyk](https://forums.tormach.com/u/nkowalczyk)\
**Post date:** [January 29, 2024, 2:21pm UTC](https://forums.tormach.com/t/thread-repair-macro/1360/2 "2024-01-29T14:21:02Z")

</div>

Brian,

I’d looked into this a while ago as one of my side projects, but outside of the method you mentioned everything I read pointed towards Pathpilot needing to be able to orient the spindle so that when you position the tool in the thread you are aligned to the encoder’s index pulse when the threading cycle begins. Orienting the spindle we don’t have the ability to do on our lathes, though.

Thank you,  
Norman

---

<div class="post-metadata">

**Author:** ![Brian\_Carlquist](https://forums.tormach.com/letter_avatar_proxy/v4/letter/b/47e85d/32.png) [@Brian\_Carlquist](https://forums.tormach.com/u/Brian_Carlquist)\
**Post date:** [January 30, 2024, 3:02am UTC](https://forums.tormach.com/t/thread-repair-macro/1360/3 "2024-01-30T03:02:15Z")

</div>

Thanks Norman,

Is there a place where the inner workings of path pilot are available? I would love to get more information on the way the machine and software actually interact.

Brian

---

<div class="post-metadata">

**Author:** ![Dr\_Harold\_Jones](https://forums.tormach.com/user_avatar/forums.tormach.com/dr_harold_jones/32/1108_2.png) [@Dr\_Harold\_Jones](https://forums.tormach.com/u/Dr_Harold_Jones)\
**Post date:** [March 30, 2024, 8:41am UTC](https://forums.tormach.com/t/thread-repair-macro/1360/4 "2024-03-30T08:41:20Z")

</div>

I think my question relates to this I’m a newbie so let me know if this goes somewhere else.  
I’m trying to bolt 2 plates together but unless i clamp them together and thread them at the same time the threads in the holes don’t line up and when I put the bolt in the plates actually move apart. Is there some way to align these threads without machining them at the same time. I can’t tap a m4 hole 4 inches deep.

---

<div class="post-metadata">

**Author:** ![Donald\_Foote](https://forums.tormach.com/letter_avatar_proxy/v4/letter/d/e19b73/32.png) [@Donald\_Foote](https://forums.tormach.com/u/Donald_Foote)\
**Post date:** [March 30, 2024, 1:05pm UTC](https://forums.tormach.com/t/thread-repair-macro/1360/5 "2024-03-30T13:05:39Z")

</div>

Don’t thread the top plate. Just thread the bottom plate.

---

<div class="post-metadata">

**Author:** ![Donald\_Foote](https://forums.tormach.com/letter_avatar_proxy/v4/letter/d/e19b73/32.png) [@Donald\_Foote](https://forums.tormach.com/u/Donald_Foote)\
**Post date:** [March 30, 2024, 1:09pm UTC](https://forums.tormach.com/t/thread-repair-macro/1360/6 "2024-03-30T13:09:17Z")

</div>

> [@Chasing Thread on 8L](https://forums.tormach.com/t/chasing-thread-on-8l/247):
>
> Is it possible to chase or pick up a thread on an existing, threaded work piece in the 8L? And if so, how is it done - through the conversational thread program ? Tried most of day and was not successful. Tried adjusting the led length and that wasn’t the answer, unless it is a trial and error procedure. Any suggestions would be helpful. Tom

Chasing threads on the 8L was a topic of this post. Some of the reponses may be helpful

---

<div class="post-metadata">

**Author:** ![Brian\_Carlquist](https://forums.tormach.com/letter_avatar_proxy/v4/letter/b/47e85d/32.png) [@Brian\_Carlquist](https://forums.tormach.com/u/Brian_Carlquist)\
**Post date:** [September 9, 2026, 6:35pm UTC](https://forums.tormach.com/t/thread-repair-macro/1360/7 "2026-09-09T18:35:20Z")

</div>

I thought I would add a little more to this post. I had to re-cut the thread on a cheap 5C collet stop. This is the method I used. The auto collet closer on this machine makes it a little tricky when using collets. For this job I used conversational to enter the thread parameters. Make sure you use a slow spindle rpm so you can stop the machine in the middle of the first pass. I set the starting diameter about .010” larger than the actual work. I then step through the program, using single block, until the threading cycle begins. Use the stop button on the screen, not the emergency stop, to stop mid thread. Be careful not to move your z position. Open the collet or chuck and rotate the thread until it lines up with the tool. With the auto closer I use the tail stock as a reference because the part will move about the same distance each time it is closed. Next carefully rotate the part until you get good alignment with the tool. You can jog the tool in the x direction to check your alignment. I use magnification and a white background to help. I usually rerun the program and stop it again to double check my alignment. Once I am satisfied I restart the program and let it run to completion. This process is a little finicky but I have used it successfully for a while now. If anyone has a better procedure to re-cut threads I would love to hear it.

 ![20260909_115737](https://forums.tormach.com/uploads/default/original/2X/e/e80d28f1f91b8cdebaf5a194c97ee3f5e1f5b7e7.jpeg)
