hanskellner / Fusion360ParaParam

Parametrically drive a user parameter in Autodesk Fusion 360

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multi-parameter capabilities

andreasbastian opened this issue · comments

I'll probably work on this on my fork to get more familiar with the Fusion API, but I have a lot of applications in which I would like to be able to export huge numbers of files for a pretty detailed sampling of a parameter space consisting of two or more parametrs. being able to iterate across two different parameters with different increments would be great and I have applications for everything up to five (or six) parameters. Perhaps something to consider for any upcoming refactor is whether it would be possible to make it pretty straightforward to extend the script to traverse more than two parameters at once. This will of course produce a huge number of files, but this number is not a problem for the application I have in mind.

commented

Andreas -

Clarifying some details here. Assume you have two parameters with start, end, and step values:

  • Width (start = 1.0, end = 2.0, step = 0.25)

    Resulting values {1.0, 1.25, 1.5, 1.75, 2.0}

  • Height (start = 2.0, end = 2.5, step = 0.1)

    Resulting values = {2.0, 2.1, 2.2, 2.3, 2.4, 2.5}

There are 5X6 = 30 variations using these settings. Therefore the script would need to iterate over all of these combinations:

Width Height
1.0 2.0
1.25 2.0
1.5 2.0
1.75 2.0
2.0 2.0
1.0 2.1
1.25 2.1
1.5 2.1
1.75 2.1
2.0 2.1

etc..

Is that what you would like the script to do?

Yes, that's the functionality that I would like. It's going to generate s
huge number of unique files, but that is ok.

Thanks!

On Tuesday, July 12, 2016, Hans notifications@github.com wrote:

Andreas -

Clarifying some details here. Assume you have two parameters with start,
end, and step values:

  • Width (start = 1.0, end = 2.0, step = 0.25) >> Resulting values
    {1.0, 1.25, 1.5, 1.75, 2.0}
  • Height (start = 2.0, end = 2.5, step = 0.1) >> Resulting values =
    {2.0, 2.1, 2.2, 2.3, 2.4, 2.5}

There are 5X6 = 30 variations using these settings. Therefore the script
would need to iterate over all of these combinations:
Width Height
1.0 2.0
1.25 2.0
1.5 2.0
1.75 2.0
2.0 2.0
1.0 2.1
1.25 2.1
1.5 2.1
1.75 2.1
2.0 2.1

etc..

Is that what you would like the script to do?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#2 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AE8f5xZbbOUvPkQO8KMu0lYAGNDt4Kgyks5qVEeZgaJpZM4JD-j0
.

commented

Ok, the script now supports multiple parameters. Please check out the updates.