Skip to content

About

A Fusion 360 plugin that adds utility from onshape such as belt/pulley generators.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

FusionParts

CI installer

Onshape style part generators for Fusion 360: spur gears, timing pulleys and timing belts. Everything runs in normal Fusion dialogs.

Tools

Tool What it makes
Spur Gear Involute spur gear with a shaft bore
Timing Pulley HTD 3M and HTD 5M pulleys with flanges, an engraved tooth count and a shaft bore
Timing Belt A smooth belt loop (no teeth) around two pulleys, sized to fit them
Belt From Circles A smooth belt loop around two circles you pick, so it fits pulleys you've already placed

All three add a button to the Fusionkit tab, in the Parts panel.

Spur Gear

Teeth (6 to 200), module, pressure angle (10 to 30 degrees), thickness, shaft bore and output.

Timing Pulley

Belt profile, teeth (10 to 200), belt width, belt clearance, flanges (both, bottom only or none) with thickness, overhang and cone length, an engraved tooth count (position, offset, depth and text height), shaft bore and output.

Timing Belt

Belt profile, teeth on each pulley, centre distance, belt width and output. The dialog shows the belt's pitch length and tooth count. Real belts come in whole tooth counts, so adjust the centre distance until the readout is close to a whole number.

The belt sits on the tooth tips of two pulleys made with the Timing Pulley tool. Pulley 1 is at the component origin and pulley 2 is at the centre distance along the X axis.

Belt From Circles

Pick a circle for Pulley 1 and one for Pulley 2. Each can be a sketch circle or a circular edge, such as the tooth tips of a pulley made with the Timing Pulley tool. Then choose the belt profile and belt width. The dialog shows the centre distance, and the belt is built to wrap both circles.

The belt sits on the circles you pick, so choose the tooth tips and it rests on the teeth. It starts at the height of Pulley 1's circle and grows upward. Tick Flip direction to grow it downward instead.

Both circles must lie flat on the ground plane (facing straight up or down), the way FusionParts makes its parts. They can be at different heights, but they can't overlap or be the same circle.

Shaft bores

goBILDA 8 mm REX and 12 mm REX, or no bore. A bore clearance field makes the hole slightly larger than the shaft. Tick Mouse ears to add a small round relief in each corner of the hex hole, which helps the corners print cleanly. The ears are filleted into the flats, and Mouse ear diameter sets their size (the fillets are the same size as the ears).

Output

  • New component builds into a new component.
  • New body builds a loose body in the root component.

Which choices appear depends on the design: part designs offer body only, assembly designs offer component only, and hybrid designs offer both.

Requirements

  • Autodesk Fusion (Windows or macOS)
  • FusionkitRibbonAPI, the add-in that provides the Fusionkit ribbon tab

Installation

Quick install

Windows: open PowerShell and paste:

irm https://github.com/Rhylanscript/FusionParts/releases/latest/download/install.ps1 | iex

macOS: open Terminal and paste:

curl -fsSL https://github.com/Rhylanscript/FusionParts/releases/latest/download/install.sh | bash

The script installs FusionParts and, if you don't have it, FusionkitRibbonAPI. Running it again upgrades FusionParts. The scripts are short, so you can read them first in the installer folder.

Then in Fusion:

  1. Fully close and reopen Fusion, then press Shift+S and open the Add Ins tab.
  2. Select FusionkitRibbonAPI, tick Run on Startup and click Run.
  3. Select FusionParts and click Run (tick Run on Startup too if you want it every time).

Manual install

  1. Install FusionkitRibbonAPI by following its README. Turn on Run on Startup for it.

  2. Download the latest FusionParts zip from the Releases page and unzip it.

  3. Copy the FusionParts folder into Fusion's add-ins folder:

    OS Path
    Windows %APPDATA%\Autodesk\Autodesk Fusion 360\API\AddIns\
    macOS ~/Library/Application Support/Autodesk/Autodesk Fusion 360/API/AddIns/
  4. In Fusion, press Shift+S, open the Add Ins tab, select FusionParts and enable it.

Development

Clone the repo into Fusion's add-ins folder (or link it there) so the folder is named FusionParts. The folder name, the .py file name and the .manifest file name must all match.

FusionParts/
    FusionParts.py        entry point (run / stop)
    core/                 shared helpers: sketches, features, dialogs, bores, belts
    generators/           one file (or a few) per tool; the math lives in *_profile / *_path files
    resources/            toolbar and dropdown icons

Running the checks

The geometry math can be tested outside Fusion. From the repo folder, using a normal Python install (not Fusion's):

py -m pip install pytest ruff
py -m ruff check .
py -m pytest

GitHub runs the same checks on every push and pull request.

Making a release

  1. Set version in FusionParts.manifest to the release version
  2. In CHANGELOG.md, rename [Unreleased] to the matching version and date, and add a fresh empty [Unreleased] above it
  3. Merge to main. GitHub tags the version, builds FusionParts-vX.Y.Z.zip and publishes the release.

License

MIT License. See LICENSE.

About

A Fusion 360 plugin that adds utility from onshape such as belt/pulley generators.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages