Making holes of differing sizes and positions

Making holes of differing sizes and positions

Anonymous
Not applicable
541 Views
2 Replies
Message 1 of 3

Making holes of differing sizes and positions

Anonymous
Not applicable

I need to write a script to make holes of different diameters.

I find examples for making a collection of holes all the same diameter. 

I've tried to access the items  in a collection individually but it failed !

Perhaps a module with position, radius and depth variables.

 

any help greatly appreciated,

Rick

0 Likes
542 Views
2 Replies
Replies (2)
Message 2 of 3

ekinsb
Alumni
Alumni

I would suggest playing with the hole feature in Fusion.  You'll find that you can place a single hole at a specified location on a face or you can create a sketch and place a hole at each selected point on the sketch.  A single hole feature can consist of one or more physical holes in the part but all of those holes will be the same type and size. To create holes of different sizes requires a different hole feature for each size.  I believe the API supports all of the hole creation that you can do in the user interface but it also doesn't allow you do to anything that can't be done in the UI.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
0 Likes
Message 3 of 3

Anonymous
Not applicable
I have accomplished different size holes in different position, and am looking into non circular holes. My method is to find out how to use the program by hand & then to go to the API and duplicate the result. Then I use AppleScript on a Mac which from a few initial variables creates all the numbers I need & output spider python which I paste into fusions python. No typing errors and all the numbers chosen & placed correctly.

Sent from my iPhone
0 Likes