BernieC has asked for the wisdom of the Perl Monks concerning the following question:

The CAD program from Autodesk, Fusion 360, has an API of some kind. I haven't found docs about it yet but it has a Python implementation. Anyone know if there's a Perl module for talking to F360?

Replies are listed 'Best First'.
Re: Fusion 360 API module?
by roboticus (Chancellor) on Feb 13, 2019 at 16:55 UTC

    BernieC:

    I've been meaning to check out Fusion 360, so I did a little looking around. You can find the API docs here, and while looking at the "Creating a Script or Add-In" page, I see that they support only C++ and Python in that section. I'd love it if Perl were also supported, but looking around doesn't show any significant Autodesk/Perl interactions. There are a few Q&As, but most are unanswered or references to using OLE automation.

    If you're wanting to persue this, I'd suggest making a C++ or Python plugin that would communicate with Perl scripts to give you a convenient way to drive F360. If I understand correctly, corion's WWW::Mechanize::Chrome and WWW::Mechanize::Firefox do something like this (just going by an impression, I don't remember if I've used either of them.)

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.