Skip to content

cuzelac/Fusion360-Thread-Profiles

Repository files navigation

Creating Custom Threads From a Thread Gauge in Fusion 360

Due to my questionable life choices, I print a lot of non-standard nuts and bolts. I bought a cheap thread gauge and had a hard time figuring out how to turn those measurements in to Fusion 360 thread profiles.

It's actually really easy, but the information is all over the place.

This README collects what I've learned.

Managing custom threads

I recommend using the ThreadKeeper plugin. It makes it easy to manage your custom threads in a separate directory and syncs your custom threads when F360 wipes out its threads directory during most (all?) updates.

This repo is my entire personal threadkeeper directory.

Workflow and tweaking custom threads

When you use Threadkeeper manage your custom threads, you can edit the thread files live and then click Utilities > THREADKEEPER > Force Sync to update the Fusion 360 directory.

It gives a message that you may need to restart F360 for the changes to take effect, but I haven't had to do that in a long time.

If your changes don't show up, you may have malformed XML. As far as I can tell, Fusion 360 silently ignores files that contain malformed XML.

If you make changes to an existing thread profile, those changes will not be reflected in the design until you edit the feature in the timeline. For example, if you change the thread profile for a nut that's already in a design, you'll have to double-click on the applicable "Thread" feature in the timeline and then click "ok"

Using the thread gauge

What do the markings mean?

  • Measurements with "G"
    • 13G means "13 gang" aka 13 TPI
    • 14G 7/16 means 13 TPI for a 7/16" thread
  • No units means pitch in mm
  • Note the angle of the thread
    • Whitworth is 55-deg
    • Metric is 60-deg

Figuring out parameters

bin/generate-threads CLI Tool

I've created a command-line tool that automates thread profile generation. It handles all the calculations and generates properly formatted XML files that can be used directly with Fusion 360.

Installation

The tool is written in Ruby and requires no external dependencies. Make sure you have Ruby installed on your system.

Basic Usage

Generate a simple thread profile:

ruby bin/generate-threads --angle 60 --pitch 1.25 --diameter 10 --external

Generate an internal thread with custom offsets:

ruby bin/generate-threads --angle 60 --pitch 1.5 --diameter 12 --internal --offsets 0.0,0.1,0.2

Use TPI instead of pitch:

ruby bin/generate-threads --angle 55 --tpi 20 --diameter 8 --external

Command Line Options

  • --angle ANGLE: Thread angle in degrees (60° for metric, 55° for Whitworth)
  • --pitch PITCH: Pitch in mm (mutually exclusive with --tpi)
  • --tpi TPI: Threads per inch (mutually exclusive with --pitch)
  • --diameter DIA: Nominal diameter in mm
  • --internal or --external: Thread gender
  • --offsets LIST: Comma-separated offsets in mm (default: 0.0,0.1,0.2,0.3,0.4)
  • --xml-comment 'some comment': Add a comment to the xml
  • --xml PATH: Output XML file path (optional)
  • --name NAME: Custom name for the thread profile
  • --dry-run: Preview output without writing files

Example Output

The tool generates XML like this:

<ThreadType>
  <Name>Generated Threads</Name>
  <Unit>mm</Unit>
  <Angle>60.0</Angle>
  <ThreadSize>
    <Size>10.00</Size>
    <Designation>
      <ThreadDesignation>10.00x1.25</ThreadDesignation>
      <Pitch>1.25</Pitch>
      <Thread>
        <Gender>external</Gender>
        <Class>O.0</Class>
        <MajorDia>10.00</MajorDia>
        <PitchDia>9.19</PitchDia>
        <MinorDia>8.47</MinorDia>
      </Thread>
    </Designation>
  </ThreadSize>
</ThreadType>

This XML can be saved directly to your ThreadKeeper directory and will work with Fusion 360.

About

The thread profiles I use for Fusion 360 plus some tips & tools for creating more profiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages