This is a plugin for IntelliJ IDEA/PyCharm that facilitates developing Fusion 360 scripts. It supports launching and debugging scripts in Fusion 360, directly from within IDEA/PyCharm.
This plugin now supports both Windows and Mac.
New in v0.6.0 - A Fusion 360 add-in is now required (again) to run/debug scripts. See here for more information.
The plugin is available for installation via the built-in plugin repository in IDEA. You can search for the “Fusion 360 Scripting” plugin.
See here for a step-by-step “Getting Started” guide for PyCharm.
You enable Fusion 360 support in IDEA by adding the Fusion 360 facet to a module. See, e.g. Open
Module Settings -> Facets
. Once you add the facet, take a look at its configuration options and
ensure the path to the Fusion 360 executable is set correctly.
You enable Fusion 360 support for a project in PyCharm in Settings->Languages &
Frameworks->Fusion 360
. Enable the “Fusion 360 Support Enabled” checkbox, ensure the path to the
Fusion 360 executable is set correctly, and then press “Apply”.
Once support has been enabled, you can write a Fusion 360 script as per usual. Once you are ready to run it, you can create a new “Fusion 360 Python Script” run configuration, and then run or debug it as you would expect.
As a convenient shortcut, you can right click on the script in the project browser on the left, or directly in the editor pane and choose “Run in Fusion 360” or “Debug in Fusion 360”