forked from AutodeskFusion360/AutodeskFusion360.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
477 lines (449 loc) · 28.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
<!DOCTYPE html>
<!--changes-->
<html>
<head>
<title>Autodesk Fusion 360 API</title>
<meta charset="utf-8">
<meta content="chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta content="AutodeskFusion360.GitHub.io : The entry point of Autodesk Fusion 360 API" name="description">
<!--bootstrap stylesheet-->
<!-- icons-->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<!--owl carousel-->
<link rel="stylesheet" href="css/owl.carousel.css">
<![endif]-->
<link href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css" rel="stylesheet">
<link href="css/ionicons.css" rel="stylesheet">
<link href="css/maria-theme-checkbox.css" rel="stylesheet">
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/maria-base-theme.css" rel="stylesheet">
<link href="css/maria-theme.css" rel="stylesheet">
<link href="css/open-sans.css" rel="stylesheet">
<link href="css/custom.css" rel="stylesheet">
<link href="http://www.fuelcdn.com/fuelux/3.6.3/css/fuelux.min.css" rel="stylesheet">
<link rel="shortcut icon" href="favicon.ico">
</head>
<body data-spy="scroll" data-target="#nav-parent" class="fuelux">
<!--
Notes from Adam Nagy:
Some issues with the navigation bar changing width on scrolling down and flows into the main content:
- http://stackoverflow.com/questions/18683303/bootstrap-3-0-affix-with-list-changes-width
- https://github.com/twbs/bootstrap/issues/6350
Using Affix helper:
- http://www.sitepoint.com/understanding-bootstraps-affix-scrollspy-plugins/
The solution I used was this:
- http://stackoverflow.com/questions/12536354/bootstrap-affix-plugin-with-fluid-layout
-->
<!-- NAVBAR -->
<div class="bs-docs-section clearfix" id="navbar">
<div class="row">
<div class="col-lg-12">
<div class="bs-component">
<div class="navbar navbar-default app-navbar">
<div class="container app-container">
<div class="navbar-header">
<a class="navbar-brand" href="http://developer.autodesk.com/"><img width="160px;"
src="img/Autodesk_logo.png"
style="padding: 20px;">Developer</a>
</div>
<ul class="nav navbar-nav navbar-right">
<li><a href="https://github.com/AutodeskFusion360">View on GitHub<i
class="fa fa-github-alt fa-fw"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END NAVBAR -->
<!-- HEADER -->
<div class="clearfix">
<div class="row">
<div class="col-lg-12">
<div class="page-header content-header app-content-header api-detail-header view-and-data-api" id="title">
<div class="container app-container">
<div class="col-xs-12 col-sm-6 col-md-9 col-lg-9 app-title-container">
<h1 id="view-and-data-title">Autodesk Fusion 360 API</h1>
</div>
<!--<p>Embedding vibrant 3D graphics in a Web Browser,
Support for almost 100 formats,
fast streaming large 2D and 3D models </p>-->
<div class="col-xs-12 col-sm-6 col-md-3 col-lg-3 app-button-container">
<p class="bs-component">
<!--
<a href="https://developer.autodesk.com/" class="btn app-btn app-btn-lg app-btn-primary create-app-btn pull-right">Create an App<span class="bg-icon size-21"><i class="icon ion-chevron-right"></i></span></a>
-->
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END HEADER --->
<!-- MAIN CONTENT -->
<div class="content-form app-content-form clearfix">
<div class="container app-container">
<div class="row">
<div class="col-xs-12 col-sm-4 col-md-3 col-lg-3">
<div id="nav-parent" class="page-header hidden-xs">
<div data-clampedwidth="#nav-parent" data-spy="affix" data-offset-top="200"
class="panel panel-default app-panel-default app-sidenav-panel">
<div class="navbar-collapse collapse navbar-responsive-collapse panel-body app-panel-body app-sidenav-body"
role="complementary">
<ul class="nav nav-pills nav-stacked app-sidenav">
<li role="presentation" class="active"><a href="#section_welcome" class="first-child">Welcome</a></li>
<li role="presentation"><a href="#section_getting-started" class="first-child">Getting Started</a></li>
<li role="presentation"><a href="#section_autodesk-samples" class="first-child">Autodesk Samples</a></li>
<li role="presentation"><a href="#section_other-samples" class="first-child">Other Samples</a></li>
<li role="presentation"><a href="#section_support" class="first-child">Support</a></li>
</ul>
</div>
</div>
</div>
<div id="nav-parent-mobile" class="page-header hidden-sm hidden-md hidden-lg">
<div data-clampedwidth="#nav-parent-mobile" data-spy="affix" data-offset-top="150"
class="panel panel-default app-panel-default app-sidenav-panel">
<button type="button" class="navbar-toggle" data-toggle="collapse"
data-target=".navbar-responsive-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="navbar-collapse collapse navbar-responsive-collapse panel-body app-panel-body app-sidenav-body"
role="complementary">
<div class="col-lg-12">
<ul class="nav nav-pills nav-stacked app-sidenav">
<li role="presentation" class="active"><a href="#section_welcome"
data-toggle="collapse"
data-target=".navbar-responsive-collapse">Welcome</a>
</li>
<li role="presentation"><a href="#section_getting-started" data-toggle="collapse"
data-target=".navbar-responsive-collapse">Getting Started</a>
</li>
<li role="presentation"><a href="#section_autodesk-samples" data-toggle="collapse"
data-target=".navbar-responsive-collapse">Autodesk Samples</a>
</li>
<li role="presentation"><a href="#section_other-samples" data-toggle="collapse"
data-target=".navbar-responsive-collapse">Other
Samples</a></li>
<li role="presentation"><a href="#section_support" data-toggle="collapse"
data-target=".navbar-responsive-collapse">Support</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-8 col-md-9 col-lg-9">
<div class="page-header">
<div class="panel panel-default app-panel-default">
<div class="panel-body app-panel-body app-api-doc">
<!-- start #section_welcome -->
<div class="app-api-section" id="section_welcome">
<div class="app-api-section-heading">
<h2 class="app-api-section-title first-child">Welcome to the Autodesk Fusion 360 API
GitHub Site</h2>
</div>
<p>It's here that you can find links to get more information about developing scripts and add-ins for Fusion.
There are also many repositories of sample code written by Autodesk and also links to many community repositories where
other developers are sharing their Fusion programs.
</p>
</div>
<!-- end #section_welcome -->
<!-- start #section_gettingstarted -->
<div class="app-api-section" id="section_getting-started">
<div class="app-api-section-heading">
<h2 class="app-api-section-title first-child">Getting Started with Fusion's API</h2>
</div>
<p>For a quick overview of the API you can view a recording of a recent webcast.
</p>
<!-- using this trick here
http://fettblog.eu/blog/2013/06/16/preserving-aspect-ratio-for-embedded-iframes/
-->
<p style="position: relative; width: 100%; height: 0; padding-bottom: 51%;">
<iframe style="position: absolute; width: 100%; height: 100%; left: 0; top: 0;" src="https://www.youtube.com/embed/6vUEJ5Iy2AQ" frameborder="0" allowfullscreen></iframe>
</p>
<p>You can learn more details about the API by reading the <a href="http://fusion360.autodesk.com/learning/learning.html?guid=GUID-A92A4B10-3781-4925-94C6-47DA85A4F65A">Fusion API documentation</a>.
</p>
<p>Also check out these youtube videos:
</p>
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="list-group">
<a href="https://www.youtube.com/watch?v=IBO3XeteylA"
class="list-group-item">
<i class="fa fa-youtube-play fa-2x pull-left"></i>
Introduction to the Fusion Object Model
</a>
<a href="https://www.youtube.com/watch?v=v1obVw1vMlg"
class="list-group-item">
<i class="fa fa-youtube-play fa-2x pull-left"></i>
Command and UI
</a>
<a href="https://www.youtube.com/watch?v=x_plTzoajMI"
class="list-group-item">
<i class="fa fa-youtube-play fa-2x pull-left"></i>
Document Structure
</a>
<a href="https://www.youtube.com/watch?v=S5BqOktfF2I"
class="list-group-item">
<i class="fa fa-youtube-play fa-2x pull-left"></i>
Geometry in Fusion
</a>
<a href="https://www.youtube.com/watch?v=VaXwc3iTKJk"
class="list-group-item">
<i class="fa fa-youtube-play fa-2x pull-left"></i>
More Commands
</a>
<a href="https://www.youtube.com/watch?v=ORbKBZvzB8c"
class="list-group-item">
<i class="fa fa-youtube-play fa-2x pull-left"></i>
Odds and Ends
</a>
</div>
</div>
</div>
</div>
<!-- end #section_gettingstarted -->
<!-- start #section_autodesksamples -->
<div class="app-api-section" id="section_autodesk-samples">
<div class="app-api-section-heading">
<h2 class="app-api-section-title first-child">Autodesk Sample Scripts and Add-Ins</h2>
</div>
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="list-group">
<a href="https://github.com/AutodeskFusion360/SketchChecker_Python"
class="list-group-item">
<i class="fa fa-file-code-o fa-2x pull-left"></i>
Sketch Checker (Add-In, Python)<br>
Checks the currently active sketch for curves with open ends and not part of a closed loop.
</a>
<a href="https://github.com/AutodeskFusion360/DXFSplineToPolyline_python"
class="list-group-item">
<i class="fa fa-file-code-o fa-2x pull-left"></i>
DXF Spline To Polyline (Add-In, Python)<br>
Exports sketch to a DXF file where splines are converted to polylines.
</a>
<a href="https://github.com/AutodeskFusion360/SurfaceText_python"
class="list-group-item">
<i class="fa fa-file-code-o fa-2x pull-left"></i>
Surface Text (Add-In, Python)<br>
Lets the user place text on various surfaces including a cylindrical face.
</a>
<a href="https://github.com/AutodeskFusion360/ChangeComparer_Python"
class="list-group-item">
<i class="fa fa-file-code-o fa-2x pull-left"></i>
Change Comparer (Add-In, Python)<br>
Lets the user visually compare the current state of the model to a previous one.
</a>
<a href="https://github.com/AutodeskFusion360/ParameterIO_Python"
class="list-group-item">
<i class="fa fa-file-code-o fa-2x pull-left"></i>
Parameter I/O (Add-In, Python)<br>
Enables the user to import/update parameters from or export them to a CSV file.
</a>
<a href="https://github.com/brianekins/MeshIntersect"
class="list-group-item">
<i class="fa fa-file-code-o fa-2x pull-left"></i>
Mesh Intersect (Add-In, Python)<br>
Enables the user to create sketch geometry that represents the intersection of a sketch with a mesh body.
</a>
<a href="https://github.com/AutodeskFusion360"
class="list-group-item">
<i class="fa fa-file-code-o fa-2x pull-left"></i>
All Autodesk samples<br />
List of all samples uploaded to the Fusion 360 GitHub account.
</a>
<a href="https://github.com/brianekins/FusionHackathonSamples"
class="list-group-item">
<i class="fa fa-file-code-o fa-2x pull-left"></i>
Samples from the Fusion 360 Hackathon<br />
Several samples written for the Fusion 360 Hackathon to demonstrate various Fusion 360 API concepts.
</a>
</div>
</div>
</div>
</div>
<!-- end #section_autodesksamples -->
<!-- start #section_other-samples -->
<div class="app-api-section" id="section_other-samples" >
<div class="app-api-section-heading">
<h2 class="app-api-section-title first-child">Scripts and Add-Ins from Fusion Users</h2>
</div>
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="list-group">
<a href="https://github.com/hanskellner/Fusion360Voronoi"
class="list-group-item">
<i class="fa fa-file-code-o fa-2x pull-left"></i>
Voronoi sketch generator (Script, JavaScript)<br>
This script is used for generating voronoi sketches in Autodesk Fusion 360.
Once created, these sketches may then be used for creating or modifying models.
</a>
<a href="https://github.com/hanskellner/Fusion360ForceEffectImport"
class="list-group-item">
<i class="fa fa-file-code-o fa-2x pull-left"></i>
ForceEffect Importer (Script, JavaScript)<br>
Import ForceEffect and ForceEffect Motion files into Fusion 360.
</a>
<a href="https://github.com/hanskellner/Fusion360ParaParam"
class="list-group-item">
<i class="fa fa-file-code-o fa-2x pull-left"></i>
Drive user parameter (Script, JavaScript)<br>
This script is used for parametrically modifying a user parameter.
For each iteration an operation may be performed such as exporting to STL.
This is very useful for automating variations of a design and exporting those variations.
</a>
<a href="https://github.com/hanskellner/Fusion360Image2Surface"
class="list-group-item">
<i class="fa fa-file-code-o fa-2x pull-left"></i>
Generate surfaces from an image (Script, JavaScript)<br>
This is an Autodesk Fusion 360 script that's used for generating surfaces from images.
</a>
<a href="https://github.com/tapnair/ParamEdit"
class="list-group-item">
<i class="fa fa-file-code-o fa-2x pull-left"></i>
User Parameter Editor (Add-In, Python)<br>
Enables the user to modify any of the User Parameters.
</a>
<a href="https://github.com/caseycrogers/Dogbone/blob/master/Dogbone.py"
class="list-group-item">
<i class="fa fa-file-code-o fa-2x pull-left"></i>
Dogbone Joint (Add-In, Python)<br>
Enables the user to create a dogbone joint between two edges.
</a>
</div>
</div>
</div>
</div>
<!-- end #section_other-samples -->
<!-- start #section_support -->
<div class="app-api-section" id="section_support">
<div class="app-api-section-heading">
<h2 class="app-api-section-title first-child">Support</h2>
</div>
<div class="row">
<div class="col-md-4" align="center">
<a href="http://fusion360.autodesk.com/learning/learning.html?guid=GUID-A92A4B10-3781-4925-94C6-47DA85A4F65A">
<i class="fa fa-file-text-o fa-5x"></i>
<br />Documentation
</a>
<p class="text-left">The documentation is always the first place you should go
when you have problems or it's unclear how to use the API.</p>
</div>
<div class="col-md-4" align="center">
<a href="http://forums.autodesk.com/t5/api-and-scripts/bd-p/22">
<i class="fa fa-users fa-5x"></i>
<br />Fusion 360 API Forum</a>
<p class="text-left">Need help? Search on forums for similar questions and
solutions, or ask your question in a new thread.</p>
</div>
<div class="col-md-4" align="center">
<a href="http://modthemachine.typepad.com/">
<i class="fa fa-rss fa-5x"></i>
<br />ModTheMachine Blog</a>
<p class="text-left">We share our solutions, tips and our learning experiences
on the "ModTheMachine Blog". Be sure to check it out.</p>
</div>
</div>
</div>
<!-- end #section_support -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--place holder for AutoCAD IO-->
<!--<div class="page-header" id="title">
<div class="container">
<h1>AutoCAD I/O API</h1>
<h2>AutoCAD as a Service</h2>
</div>
</div>-->
<!-- FOOTER -->
<div class="clearfix">
<div class="row">
<div class="col-lg-12">
<div class="page-footer">
<div class="container app-container">
<p>© Copyright 2015 Autodesk. All rights reserved. </p>
</div>
</div>
</div>
</div>
</div>
<!-- END FOOTER -->
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/ui/1.11.2/jquery-ui.js"></script>
<!--owl carousel-->
<script src="js/owl.carousel.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<script src="http://www.fuelcdn.com/fuelux/3.6.3/js/fuelux.min.js"></script>
<script>
$(function () {
$("#tabs").tabs();
});
</script>
<script>
$(function () {
$("#tabs").tabs();
});
$(document).ready(function () {
/*
$('.owl-carousel').owlCarousel({
autoPlay: 3000, //Set AutoPlay to 3 seconds
items: 4,
itemsDesktop: [1199, 3],
itemsDesktopSmall: [979, 3]
});
*/
// Adam added it
$('[data-clampedwidth]').each(function () {
var elem = $(this);
var parentPanel = elem.data('clampedwidth');
var resizeFn = function () {
var sideBarNavWidth = $(parentPanel).width()
- parseInt(elem.css('paddingLeft')) - parseInt(elem.css('paddingRight'))
- parseInt(elem.css('marginLeft')) - parseInt(elem.css('marginRight'))
- parseInt(elem.css('borderLeftWidth')) - parseInt(elem.css('borderRightWidth'));
elem.css('width', sideBarNavWidth);
};
resizeFn();
$(window).resize(resizeFn);
});
//loader stuff
var iFrame1Loaded = false;
var iFrame2Loaded = false;
$('#loader').loader();
function deleteLoader() {
setTimeout(function () {
$('#loader').loader('destroy');
var div = document.getElementById("loaderBackground");
div.parentElement.removeChild(div);
}, 2000);
}
document.getElementById("iFrame1").onload = function () {
iFrame1Loaded = true;
if (iFrame2Loaded) deleteLoader();
};
document.getElementById("iFrame2").onload = function () {
iFrame2Loaded = true;
if (iFrame1Loaded) deleteLoader();
};
});
</script>
</body>
</html>