Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

using the extrudeFeautures in the API enviroment

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
jcorre20
352 Views, 3 Replies

using the extrudeFeautures in the API enviroment

Hi, I am new to the Fusion 360 API programing environment; I ‘am using python to extrude a set of profiles corresponding to a single sketch in my model. My strategy is to build an object collection to store the set of desire profiles for my extrusion. I am having trouble, however, in identifying what are the numbers of the profiles in the sketch that I want to extrude. Is there a smart way of doing this?

Thanks

Jorge

3 REPLIES 3
Message 2 of 4
ekinsb
in reply to: jcorre20

You'll need to figure out some way to geometrically determine which profiles you want.  You can query the geometry that defines the shape of each profile and then you can use that to decide which profiles to use for your extrusion.  If you can post a picture of your sketch and which profiles in the sketch you want we might be able to provide some suggestions on how you might do that.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
Message 3 of 4
MattWynn
in reply to: jcorre20

I had luck getting what I wanted by using the profile with the most loops.

 

Please post sample showing what you hope to get.


Matt Wynn
Senior Manager, Software Development, Fusion Fabrication
Message 4 of 4
jcorre20
in reply to: ekinsb

Thanks Brian!
Jorge

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report