If a person wanted to create a line using a mathematical algorithm via the JavaScript API, how would that go? I'm thinking it would be hard, because it would not necessarily be a simple array of points run through the function, but would also have to be converted to a F360's line with handles and curves. Is there an elegant way to do this? I'm thinking of recreating the grooves in a project like [this].
Solved! Go to Solution.
If a person wanted to create a line using a mathematical algorithm via the JavaScript API, how would that go? I'm thinking it would be hard, because it would not necessarily be a simple array of points run through the function, but would also have to be converted to a F360's line with handles and curves. Is there an elegant way to do this? I'm thinking of recreating the grooves in a project like [this].
Solved! Go to Solution.
Solved by ekinsb. Go to Solution.
Mathemattically, a line is a straight segment between two points. I think what you want is a curve. You can create a spline through a series of points. This is demonstrated in the sample in Fusion's help. Here's a direct link:
http://help.autodesk.com/cloudhelp/ENU/Fusion-360-API/files/CreateFittedSpline_Sample.htm
Mathemattically, a line is a straight segment between two points. I think what you want is a curve. You can create a spline through a series of points. This is demonstrated in the sample in Fusion's help. Here's a direct link:
http://help.autodesk.com/cloudhelp/ENU/Fusion-360-API/files/CreateFittedSpline_Sample.htm
Link seems to be broken. Any change I can access this example somewhere? Many thanks!
example link: http://help.autodesk.com/cloudhelp/ENU/Fusion-360-API/files/CreateFittedSpline_Sample.htm
Link seems to be broken. Any change I can access this example somewhere? Many thanks!
example link: http://help.autodesk.com/cloudhelp/ENU/Fusion-360-API/files/CreateFittedSpline_Sample.htm
Try this link. It's should take you to the same link referenced above.
http://help.autodesk.com/view/NINVFUS/ENU/?guid=GUID-c3d4a306-fade-11e4-8e56-3417ebd3d5be
Try this link. It's should take you to the same link referenced above.
http://help.autodesk.com/view/NINVFUS/ENU/?guid=GUID-c3d4a306-fade-11e4-8e56-3417ebd3d5be
Can't find what you're looking for? Ask the community or share your knowledge.