1234567891011121314151617181920212223242526272829303132 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>项目模型查看</title>
- <!-- <link rel="stylesheet" href="./style.min.css" type="text/css">
- <script lang="javascript" src="./viewer3D.min.js"></script> -->
- <link rel="stylesheet" href="https://developer.api.autodesk.com/modelderivative/v2/viewers/style.min.css?v=v7.*"
- type="text/css">
- <script language="JavaScript"
- src="https://developer.api.autodesk.com/modelderivative/v2/viewers/viewer3D.min.js?v=v7.*"></script>
- </head>
- <body>
- <div id="viewerDiv"></div>
- <script>
- var myViewerDiv = document.getElementById('viewerDiv');
- var viewer = new Autodesk.Viewing.Private.GuiViewer3D(myViewerDiv);
- var options = {
- 'env': 'Local',
- 'document': './shaver/0.svf'
- };
- Autodesk.Viewing.Initializer(options, function () {
- viewer.start(options.document, options);
- });
- </script>
- </body>
- </html>
|