Category: Fusion

  • Connect to Fusion Lifecycle from Fusion 360 add-in

    Fusion Lifecycle has a RESTful API which can be accessed through simple HTTP requests, and so can be used from a Fusion 360 add-in/script as well:http://modthemachine.typepad.com/my_weblog/2015/10/call-web-services-from-fusion-add-in.html I had a bit of difficulty doing HTTP requests from a JavaScript Fusion 360 script, but all is fine from Python.  It’s very easy to create a new Python script/add-in inside Fusion…

  • Fusion API: Add Simple Extrude Feature and Add by Input

    <?xml encoding=”UTF-8″>By Xiaodong Liang In the past, when creating the extrude feature, we will need to create an ExtrudeInput firstly, then add the extrude feature with the input. The input is like a definition of the feature, with which, some parameters of the feature can be defined. One of the benefits is the ExtrudeFeatures.Add method…

  • Fusion API: Manage Participant Bodies

    <?xml encoding=”UTF-8″>By Xiaodong Liang This is mainly quoted from Fusion 360 help document: In the recent update in Jan, Fusion added the ability to choose which bodies will be affected when creating certain features; extrude, hole, loft, revolve, and sweep. The input objects for each of those features and the feature objects themselves all now…

  • Fusion API: Default Paths to Load Add-In

    By Xiaodong Liang Question: Will Fusion 360 load an add-in from the path (%AppData%) only? Is there any other paths I can configure? Solution: A couple of other paths are available for Fusion to look for the add-in. This is missed in the API help. %programfiles%\Autodesk\ApplicationPlugins%programdata%\Autodesk\ApplicationPlugins%appdata%\Roaming\Autodesk\ApplicationPlugins%appdata%\Roaming\Autodesk\Autodesk Fusion 360\API\AddIns

  • Parameter I/O issues

    Our team, Autodesk Developer Network / Forge Partner Development, created a few add-in‘s for the Autodesk App Store, including the Fusion 360 one as well (they all have the support email: fusion.apps@autodesk.com) The main purpose of those add-in‘s were to show how powerful API‘s can be, how it can help you automate boring tasks, e.g. moving parameter…

  • Fusion API: HTTP Request in Fusion 360 by Python

    <?xml encoding=”UTF-8″>By Xiaodong Liang For a session of AU China, I produced a small demo on how to connect designer, customer and vendor by Fusion 360 API and Forge. In the process, I borrowed some codes of HTTP Request from the add-in of MakeTime. This add-in uses a typical Python module: requests . I think it…

  • CNC Fun

    This past June for the Forge Developer Conference I worked with some of the great folks at opendesk and ShopBot to put together a working demonstration using their furniture designs, machine tools, and Fusion 360. opendesk has a large catalog of furniture designs that are made locally on-demand from sheet stock. You should check out…

  • Fusion API: Attribute returns none for the Face that has been attached attribute

    <?xml encoding=”UTF-8″>By Xiaodong Liang Question: I attached the attributes to some selected faces of an assembly. When I iterate the faces of each component and try to find out those faces, they returned none attributes. My code is as below. It assumes a face has been selected in the assembly. def main():     ui =…

  • Fusion API: Which API I should choose?

    By Xiaodong Liang Fusion API provides 3 types of languages: Python, JavaScript and C++. I found an interesting discussion on Fusion API forum, where our API designer Brian Ekins gave an answer on the specifics of each language. To make it more searchable on internet, I posted it in the blog. And we could polish…

  • Fusion API: Usage of Table Control

    <?xml encoding=”UTF-8″>By Xiaodong Liang Fusion provides various types of controls (CommandInput) for a command. There is a Python demo in API help. Table type is available with API. It can even embed sub controls within the table or table cell, by which we can implement more scenarios of customization. In my practice recently, I got…