Thread cutting script - WIP

 From:  Martin (MARTIN3D)
5451.1 
I'm working on a simple thread cutting script that should output a Metric M10 x 1.5 thread. Everything works with a straight helix but to make it realistic the thread has to taper off at the end. I therefore add a 1-turn tapered helix, join it with the straight helix and sweep the cutting profile around. Unfortunately I'm getting an artifact where both helix meet and I can't figure out why.



I attached the script part that makes the cutting object.


UPDATE:
From now on you will find the most recent version of the "makeExternalThread" script attached to this post.
Adding new thread sizes is simple, just add one line per size to the "makeExternalThread.htm" file (note the ".htm" extension).
Open the file in a plain text editor and find instructions inside on how to do it.


EDIT (12/5/2018 by Michael Gibson) - a couple of missing end tags were making this script not work right for MoI v4, there is a fixed version in the next message in this thread.

EDITED: 5 Dec 2018 by MICHAEL GIBSON