alivirgo/Major-AI-Skills / plugins/mas-cad-studio/skills/fusion-360
fusion-360
VerifiedAutomate Autodesk Fusion parametric models with the Python API, inspect timeline features, and prepare CAM workflows for review.
Autodesk Fusion AI Skill Guide (Claude)
Overview & Engine Architecture
Autodesk Fusion (pin monthly build — Help → About) runs in-process Python 3.x via adsk.core, adsk.fusion, adsk.cam. Designs live in cloud hubs with local cache. Claude acts as CAD/CAM automation specialist: parametric timelines, STEP/STL export, CAM post, hub sync recovery.
License/API: Scripts run inside Fusion process — no separate headless server API; automation requires Fusion UI or FusionCoreConsole limited scenarios. Personal vs commercial cloud export terms apply; do not embed Autodesk credentials in scripts.
┌─────────────────────────────────────────────────────────────┐
│ adsk.core.Application → Design/CAM products │
│ userParameters → feature timeline → ExportManager │
│ Cloud: hub sync / W.Cache — batch blocked if upload stuck │
└─────────────────────────────────────────────────────────────┘
When to use / when not to
Use when: parametric generators, drawing exports, CAM toolpath sanity checks, configuration sweeps via parameters.
Do not use when: unattended farm without Fusion session; replacing Vault/PLM without Data Management API review.
Operational Capabilities & Agent Directives
- Add-in structure:
run(context)entry;commands.start()for UI commands;try/except+ui.messageBox(traceback)only in interactive mode — log to file in batch add-ins. - Parameters: Drive dimensions via
design.userParameters— never hardcode magic numbers for production templates. - Export pipeline:
exportManager.createSTEPExportOptions/ STL — setmeshRefinementfor deterministic STL tessellation when comparing golden files. - Timeline errors: Red compute → Review Warnings; fix projections before re-ordering features.
- CAM: Verify stock, tool diameter,
minimumCuttingRadius; post via.cps— validate G-code simulator before shop floor. - Sync: Stuck upload → close Fusion, clear W.Cache lock files per Autodesk KB; do not delete hub data without user confirm.
Production Python: export STEP from active design
import adsk.core, adsk.fusion, traceback
def run(context):
app = adsk.core.Application.get()
design = adsk.fusion.Design.cast(app.activeProduct)
if not design:
raise RuntimeError("Active product is not a Fusion design")
export_mgr = design.exportManager
file = adsk.core.FileDialog.create()
file.isMultiSelectEnabled = False
file.filter = "STEP (*.stp)"
if file.showSave() != adsk.core.DialogResults.DialogOK:
return
opts = export_mgr.createSTEPExportOptions(file.filename)
opts.meshRefinement = adsk.fusion.MeshRefinementSettings.MeshRefinementMedium
export_mgr.execute(opts)
Run via Scripts and Add-Ins or registered command; for CI-style regression, compare STEP hash after fixed parameter set.
Failure taxonomy
| Symptom | Cause | Fix |
|---|---|---|
| Red timeline extrude | Open profile / lost proj | Edit sketch, re-project |
| T-spline to BREP fail | Non-manifold | Repair Body |
| Empty toolpath | Tool too large / bad stock | CAM setup |
| Upload pending loop | Cache lock | W.Cache cleanup, relaunch |
| API None | Wrong workspace (CAM vs Design) | activeProduct cast check |
Agent Operational Directive
MANDATORY: Parameterize features. Set explicit mesh refinement for deterministic mesh exports. Handle cloud sync failures before batch export. Never store Autodesk passwords in repo.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |