In this video we will continue to learn the Fusion 360 API using Python by creating a script that will make a 2020Aluminum extrusion profile that we can use for an extrude or sweep feature.
We will be covering the Object Model again as well as diving into some useful code like Arrays, For loops and If statements. The end result will be a script that will create a 2020 extrusion in a sketch currently being edited.
Here is the AL 2020 sketch used in the video. (note sometimes these don't work when they only contain sketches but you don't need it)
https://a360.co/3tYrCL5
Here are some helpful links to the Fusion help file on API
https://help.autodesk.com/cloudhelp/E...
https://help.autodesk.com/view/fusion...
https://help.autodesk.com/view/fusion...
And here are the chapters:
00:00 Intro
00:15 2020 Profile Review
04:31 Getting Started With A New Script
05:14 Reviewing the default Script
07:06 Writing a Script to Create a Sketch
22:18 Writing a Script to add Lines and Rectangles
31:32 Writing a Script to access to a current edit sketch
42:45 Writing a new Script to create a 2020 Extrusion Profile
01:21:44 Recap