Does anyone know how to obtain the SDK for writing plugins

Does anyone know how to obtain the SDK for writing plugins

27111640
Community Visitor Community Visitor
129 Views
5 Replies
Message 1 of 6

Does anyone know how to obtain the SDK for writing plugins

27111640
Community Visitor
Community Visitor

I want to write a plugin in C++ for creating multiple surfaces, to make the creation of some complex surface structures easier. I don't know where to find the SDK

0 Likes
Accepted solutions (1)
130 Views
5 Replies
Replies (5)
Message 2 of 6

Jorge_Jaramillo
Collaborator
Collaborator
Accepted solution

Hi,

 

You can find information in Fusion API User's Manual :  

https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-D93DF10F-4209-4073-A2A0-4FA8788C8709

 

Regarding C++ SDK, it is installed in this folder for Windows installation:

C:\Users\<username>\AppData\Roaming\Autodesk\Autodesk Fusion 360\API\CPP

Over there you will find include and lib directories to build your script / add-in.

 

In the project properties you can check them:

Jorge_Jaramillo_0-1757454862352.png

 

Jorge_Jaramillo_1-1757454917879.png

 

I hope this can help.

 

Regards,

Jorge Jaramillo

 

0 Likes
Message 3 of 6

27111640
Community Visitor
Community Visitor

Thank you very much for your reply. I have already started my work, but it seems that this SKD cannot call the 3D sketch function, which seems to have put my work in some difficulties. It seems that I need to add a lot of calculations and cannot produce results so accurately

0 Likes
Message 4 of 6

Jorge_Jaramillo
Collaborator
Collaborator

Hi,

 

All sketches contain points, lines, curves, etc., which are placed in a 3D space.

Why do you think it isn't for a 3D space?

 

Regards,

Jorge Jaramillo

 

0 Likes
Message 5 of 6

27111640
Community Visitor
Community Visitor

The curve drawn in regular sketches. add (xyPlane) projects the z-coordinates of all points onto the plane. I haven't found a way to directly generate a three-dimensional spiral path similar to an hourglass spiral. Maybe I haven't found a suitable method or trick yet, but thank you very much for your reply to my question again. Wishing you a wonderful day

0 Likes
Message 6 of 6

Jorge_Jaramillo
Collaborator
Collaborator

Hi,

 

When you say "... curve drawn in regular sketches. add (xyPlane) projects the z-coordinates of all points onto the plane ..." is not always true.

If you draw a point in a sketch like so:

skp = sketch.sketchPoints.add(adsk.core.Point3D.create(1,2,3))

you will get a point in the 3D space (z = 3cm).

Even though this point belong to the sketch, it is not in the same sketch's plane.

 

The same analogy can be make with any other curve in the sketch.

Think of the "3D" option you have in the sketch properties in the GUI.  If you enable it, you can place any element in a 3D space.

 

You can look for parametric equations in the internet that help you draw the hourglass spiral.

 

Regards,

Jorge Jaramillo

 

0 Likes