Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <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>
  <meta name="viewport" content="width=device-width">
<style>
</style>
</head>
<body>
  <div></div>
</body>
</html>
 
Autodesk.Viewing.Initializer({env:'Local'}, ()=>{new Autodesk.Viewing.GuiViewer3D(document.body.children[0]).start('https://dukedhx.github.io/Forge-Workshop/shaver/0.svf',null,null,null,{useIdBufferSelection:true});
                                                NOP_VIEWER.addEventListener(Autodesk.Viewing.TEXTURES_LOADED_EVENT,()=>{
                                                    const geometry = new THREE.SphereGeometry(0.4, 32, 32)
        const material = new THREE.MeshBasicMaterial({
            color: new THREE.Color( 0x6b6e75 )
        }); 
        const sphere = new THREE.Mesh(geometry, material)
        NOP_VIEWER.overlays.addScene('sphere-mesh-scene')
        NOP_VIEWER.overlays.addMesh(sphere, 'sphere-mesh-scene')
        
                                                NOP_VIEWER.isolate(11)
                                                  })
                                                
                                                
                                                })
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
dukedhxpro
0viewers