-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
27 lines (23 loc) · 791 Bytes
/
index.html
File metadata and controls
27 lines (23 loc) · 791 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Basic 3D Viewer</title>
<link rel="stylesheet" type="text/css" href="https://developer.api.autodesk.com/modelderivative/v2/viewers/style.min.css?v=v7.*">
<script language="JavaScript" src="https://developer.api.autodesk.com/modelderivative/v2/viewers/viewer3D.min.js?v=v7.*"></script>
</head>
<body>
<div id="container"></div>
<script>
var container = document.getElementById('container');
var viewer = new Autodesk.Viewing.Private.GuiViewer3D(container);
var options = {
'env' : 'Local',
'document' : './model/output.svf'
};
Autodesk.Viewing.Initializer(options, function() {
viewer.start(options.document, options);
});
</script>
</body>
</html>