Description of the problem
i run code in https://github.com/mrdoob/three.js/blob/master/examples/webgl_loader_3mf.html,
it works well with
https://raw.githubusercontent.com/mrdoob/three.js/master/examples/models/3mf/cube_gears.3mf
but i try my 3mf file which build by microsoft 3d build,it doesn’t work.in console it show me:
Uncaught TypeError: Cannot read property ‘triangles’ of undefined
at buildMesh (:475:58)
at buildMeshes (:564:27)
at THREE.ThreeMFLoader.parse (:599:16)
at Object.onLoad (:23:18)
at XMLHttpRequest. (three.min.js?v=cockg0o1gkc:644)
my 3mf file is here,
i want to show this but,i don’t know how to fix this problem
Three.js version
- Dev
- r88
Browser
- All of them
- Chrome
- Firefox
- Internet Explorer
OS
- All of them
- Windows
- macOS
- Linux
- Android
- iOS
Thanks, I will fix this bug hopefully this weekend.