# Error with loading only certain STL meshes

**URL:** <https://forum.babylonjs.com/t/error-with-loading-only-certain-stl-meshes/38984>\
**Category:** Questions\
**Created:** [March 13, 2023, 1:30pm UTC](https://forum.babylonjs.com/t/error-with-loading-only-certain-stl-meshes/38984 "2023-03-13T13:30:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krishnan\_R](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/krishnan_r/32/30628_2.png) [@Krishnan\_R](https://forum.babylonjs.com/u/Krishnan_R)\
**Post date:** [March 13, 2023, 1:30pm UTC](https://forum.babylonjs.com/t/error-with-loading-only-certain-stl-meshes/38984/1 "2023-03-13T13:30:26Z")

</div>

Getting the following error while trying to render a STL file in AR. I tried rendering a sample STL from [https://models.babylonjs.com/Channel9/Channel9.stl](https://models.babylonjs.com/Channel9/Channel9.stl) . It worked , but not mine [https://res.cloudinary.com/doblnhena/raw/upload/v1678713567/fyp/just%20tumor/t\_t1\_f0ova3.stl](https://res.cloudinary.com/doblnhena/raw/upload/v1678713567/fyp/just%20tumor/t_t1_f0ova3.stl)  
But this stl file is rendering in normal online STL viewers.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/8/7/8789b7414a0d01b4c74e35635ea9dc69453d59f7.png)

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 13, 2023, 3:28pm UTC](https://forum.babylonjs.com/t/error-with-loading-only-certain-stl-meshes/38984/2 "2023-03-13T15:28:07Z")

</div>

The stl file seems corrupted, as the error mentions ☹ can you open it in other viewers ?

---

<div class="post-metadata">

**Author:** ![Krishnan\_R](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/krishnan_r/32/30628_2.png) [@Krishnan\_R](https://forum.babylonjs.com/u/Krishnan_R)\
**Post date:** [March 13, 2023, 4:06pm UTC](https://forum.babylonjs.com/t/error-with-loading-only-certain-stl-meshes/38984/3 "2023-03-13T16:06:25Z")

</div>

I tried opening in this [https://www.viewstl.com/](https://www.viewstl.com/) and it worked and also worked in meshlab

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 13, 2023, 4:37pm UTC](https://forum.babylonjs.com/t/error-with-loading-only-certain-stl-meshes/38984/4 "2023-03-13T16:37:20Z")

</div>



---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 13, 2023, 9:07pm UTC](https://forum.babylonjs.com/t/error-with-loading-only-certain-stl-meshes/38984/5 "2023-03-13T21:07:32Z")

</div>

will be fixed by [Stl Loader Less Restrictive by sebavan · Pull Request #13623 · BabylonJS/Babylon.js · GitHub](https://github.com/BabylonJS/Babylon.js/pull/13623)

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 13, 2023, 9:07pm UTC](https://forum.babylonjs.com/t/error-with-loading-only-certain-stl-meshes/38984/6 "2023-03-13T21:07:34Z")

</div>


