Attempting to Download Old Add-In: Helical/Spiral Pattern

Attempting to Download Old Add-In: Helical/Spiral Pattern

jakedbirk
Enthusiast Enthusiast
311 Views
2 Replies
Message 1 of 3

Attempting to Download Old Add-In: Helical/Spiral Pattern

jakedbirk
Enthusiast
Enthusiast

Hello, 

I have a use case (circular stairway) where I need to be able to parametrically pattern an object (preferably bodies) around a helix (Circular staircase treads). 

There appears to be a Autodesk created .js script that solves this problem... But I cannot get it to work on my machine. I have attached the .zip file. 

You can view the old forum post where I found that file here:
https://forums.autodesk.com/t5/fusion-design-validate-document/patterning-by-translation-and-rotatio...

Of course, F360 no longer supports .js script creation. 

I have attempted to extract the script, then import the folder as as script but consistently receive error message: 

 

"A single script or add-in cannot be identified in the selected folder. Please organize your programs so each script or add-in is in its own folder."

The folder contains  a .js file "SprialPattern.js" and another file "Spiral Pattern". I've already attempted to delete the "Spiral Pattern" file, but receive the same error. 

I have already tried to follow this tutorial, but receive the above results:
https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Cannot-load-or-cre...

To Clarify My Use Case: 
I am looking to parametrically pattern stair treads around a circular staircase. My current workaround is clunky/inconsistent at best. I've attached the file I currently use for the treads, which has lots of problems when parameters are changed.

Also, I have several years of experience in both F360 design and the F360 API. However, I have no experience in JS. 

0 Likes
Accepted solutions (1)
312 Views
2 Replies
Replies (2)
Message 2 of 3

BrianEkins
Mentor
Mentor
Accepted solution

I ported the original JavaScript code to Python and attached it to the origin post.

https://forums.autodesk.com/t5/fusion-design-validate-document/patterning-by-translation-and-rotatio...

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Message 3 of 3

jakedbirk
Enthusiast
Enthusiast

I was able to run that code without issue.

A native, parametric, spiral pattern feature, or a significantly improved pattern along path feature, would be an awesome thing for Autodesk to add to F360.

Thanks again Brian! Your solutions never disappoint!

0 Likes