{"action":"opened","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/8862","repository_url":"https://api.github.com/repos/mrdoob/three.js","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/8862/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/8862/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/8862/events","html_url":"https://github.com/mrdoob/three.js/issues/8862","id":154365075,"number":8862,"title":"STLExporter doesn't export my STL file","user":{"login":"alf007mx","id":17260406,"avatar_url":"https://avatars.githubusercontent.com/u/17260406?v=3","gravatar_id":"","url":"https://api.github.com/users/alf007mx","html_url":"https://github.com/alf007mx","followers_url":"https://api.github.com/users/alf007mx/followers","following_url":"https://api.github.com/users/alf007mx/following{/other_user}","gists_url":"https://api.github.com/users/alf007mx/gists{/gist_id}","starred_url":"https://api.github.com/users/alf007mx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alf007mx/subscriptions","organizations_url":"https://api.github.com/users/alf007mx/orgs","repos_url":"https://api.github.com/users/alf007mx/repos","events_url":"https://api.github.com/users/alf007mx/events{/privacy}","received_events_url":"https://api.github.com/users/alf007mx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-11T23:25:10Z","updated_at":"2016-05-11T23:25:10Z","closed_at":null,"body":"##### Description of the problem \r\nI have the following code to export my STL file but it doesn't seems to work.\r\n\r\n`var loader = new THREE.STLLoader();\r\n\t\t\t\tloader.load( './Mr_Jaws.stl', function ( geometry ) {\r\n                    \r\n\t\t\t\t\tvar material = new THREE.MeshPhongMaterial( { color: 0x0692CE, specular: 0x111111, shininess: 100 } );\r\n\t\t\t\t\tmesh = new THREE.Mesh( geometry, material );                   \r\n\t\t\t\t\tmesh.scale.set( 1.2, 1.2, 1.2 );\r\n                    \r\n\t\t\t\t\tmesh.castShadow = true;\r\n\t\t\t\t\tmesh.receiveShadow = true;\r\n                    mesh.position.set( 0, 0, 0 );\r\n                    var box = new THREE.BoxHelper( mesh );             \r\n                    scene.add( box );\r\n                    scene.add( mesh ); \r\n\r\n                    var export_stl = new THREE.STLExporter();\r\n                    console.log(export_stl.parse(mesh));\r\n                    \r\n                } );`\r\n\r\nWhat I get is the following:\r\n\r\nsolid exported\r\nendsolid exported\r\n\r\nHope you can help me out.\r\n...\r\n\r\n##### Three.js version\r\n\r\n- [ ] Dev\r\n- [X ] r76\r\n- [ ] ...\r\n\r\n##### Browser\r\n\r\n- [x] All of them\r\n- [ ] Chrome\r\n- [ ] Firefox\r\n- [ ] Internet Explorer\r\n\r\n##### OS\r\n\r\n- [ ] All of them\r\n- [x] Windows\r\n- [ ] Linux\r\n- [ ] Android\r\n- [ ] IOS\r\n\r\n##### Hardware Requirements (graphics card, VR Device, ...)\r\n\r\n\r\n"}}