Amandaghassaei Fusion360 Scripts Save

A collection of Fusion360 scripts, mostly for generating animations

Project README

Fusion360 Scripts

This repo contains a number of Fusion360 scripts. More info about each script is given in the README.md inside each folder.

I'm very curious about how these scripts are being used, feel free to share your animations in the Show and Tell discussion thread. Also, pull requests welcome!

Design Version Timelapse

Turn your Fusion360 design versions (i.e. all your previous saves) into a timelapse animation.

design version animation example

Design History Animation

Turn your Fusion360 design history timeline into an animation.

design history animation example

Spin Animation

Spin your design and export screenshots.

spin animation example

Print Camera State

Print the current state of the camera.

camera state parameters

Installation

Download this repository as ZIP and unzip the folder (put this folder in a place where you won't delete it later):

Download button

In the Design workspace, go to the Tools tab and select Add Ins > Scripts and Add-Ins...:

Tools Menu

Click the green plus sign next to My Scripts:

Add Script

Then Select the folder called e.g. Design-History-Animation inside Fusion360-Scripts/Design-History-Animation:

Select Folder

You should now see it added to your scripts. To Run the script, select it and press Run:

Script Added

Creating an Animation Video

After all the still frames (with the name FILENAME_###.png) are generated, I use ffmpeg to compile the stills into an animation. From the terminal run:

ffmpeg -r 30 -i PATH_TO_FRAMES/FILENAME_%d.png -c:v libx264 -preset slow -crf 22 -pix_fmt yuv420p -an OUTPUT_DIRECTORY/animation.mp4

-r 30 sets the framerate to 30 fps
-c:v libx264 -preset slow -crf 22 encodes as h.264 with better compression settings
-pix_fmt yuv420p makes it compatible with the web browser
-an creates a video with no audio
You can optionally specify -s 640x640 to control the output size of the video
If your filename has spaces in it, you can escape them with -i PATH_TO_FRAMES/filename\ with\ spaces_%d.png

Creating an Animated GIF

I upload the resulting video or raw frames to ezgif to create an animated gif. I'm sure many other solutions exist (e.g. Photoshop, Premiere, GIMP, ffmpeg).

Open Source Agenda is not affiliated with "Amandaghassaei Fusion360 Scripts" Project. README Source: amandaghassaei/Fusion360-Scripts
Stars
97
Open Issues
1
Last Commit
1 week ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating