This is a fork of: BalzGuenat/CustomThreads
Fusion 360 comes with various thread standards, most of which are not a great fit for 3D printing because they are too fine to work well when printed. This project defines thread profiles that are aimed at 3D printing so that they work, even when printed with lower detail settings (e.g. 0.30mm layer height).
The provided 3DPrintedMetricV4.xml file contains the thread profiles listed below.
Additional profiles can be easily generated from the included Python script.
Shape: 60° trapezoidal
Size (OD): 3-80mm
Pitch: 3.5mm, 4.0mm, 4.5mm, 5.0mm, 5.5mm, 6.0mm, 6.5mm, 7.0mm, 7.5mm, 8.0mm
Classes: .0, .1, .2, .25, .3, .35, .4, .45, .5, .6, .7, .8, .9
The classes specify tolerances. O.0 has the tightest tolerances which are loosely based on ISO M30x3.5 6g/6H. The number after the 'O.' specifies, in tenths of a millimeter, how much the major, minor and pitch diameters are offset compared to O.0. For example, O.2 would have a 0.2mm looser tolerance than O.0.
3DPrintedMetricV<<X>>.xml contains old thread definitions and is provided for compatibility with older prints or models.
If you just want to use the profiles with no customization, download the file 3DPrintedMetricV4.xml, save it in the following directory and then restart Fusion 360.
On Windows:
%localappdata%\Autodesk\webdeploy\Production\<version ID>\Fusion\Server\Fusion\Configuration\ThreadData
On Mac OS:
Macintosh HD> Users> [Username] > Library > Application Support > Autodesk > Webdeploy > production > [Version specific ID] > Then right click on "Autodesk Fusion 360" and choose Show Package Contents > Contents > Libraries > Applications > Fusion > Fusion > Server > Fusion > Configuration >ThreadData
(see also here)
When you now create or edit a Thread feature, you should be able to select the Thread Type "3D-printed Metric Threads".
Note: As of 31/12/2024, Fusion 360 retains your thread configuration after updates. If profiles are not maintained, you will need to reinstall them. To do this automatically, check out the ThreadKeeper plugin.
You can generate your own thread profile file using the main.py script.
To execute the script, Python 3.9 or newer is required.
The script has no parameters and can be executed like so:
python main.pyThis will create a file named 3DPrintedMetricV4.xml in the working directory which you can then rename and install in Fusion as described above.
After generating the file, the script tries to find the Fusion360 directory. If it finds the directory, it asks for permission to automatically copy the file to this location.
To customize the generated profiles, simply edit the values defined at the top of main.py.
FILENAME = "3DPrintedMetricV4.xml"
NAME = "3D-printed Metric Threads V4"
UNIT = "mm"
ANGLE = 60.0
SIZES = list(range(3, 80))
PITCHES = [3.5, 4, 4.5, 5.0, 5.5, 6.0, 6.5, 7, 7.5, 8.0]
OFFSETS = [.0, .1, .2, .25, .3, .35, .4, .45, .5, .6, .7, .8, .9]
