# \#stl

**URL:** https://discourse.threejs.org/tag/stl/393.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [UV Unwrapping - Experimental for PLY and STL models](https://discourse.threejs.org/t/uv-unwrapping-experimental-for-ply-and-stl-models/73641)

<div class="topic-metadata">

**Author:** [@GitHubDragonFly](https://discourse.threejs.org/u/GitHubDragonFly)\
**Replies:** 7\
**Last updated:** [December 31, 2024, 2:54am UTC](https://discourse.threejs.org/t/uv-unwrapping-experimental-for-ply-and-stl-models/73641 "2024-12-31T02:54:20Z")

</div>

Purely experimental and not necessarily accurate. Using xatlas-web and xatlas-three in separate viewers, just to ease the comparison of the outcome provided by each viewer. EDIT: xatlas-web seems to work in most if not…

---

## [Coloring certain regions of a 3D model using shaders](https://discourse.threejs.org/t/coloring-certain-regions-of-a-3d-model-using-shaders/63060)

<div class="topic-metadata">

**Author:** [@keshav007](https://discourse.threejs.org/u/keshav007)\
**Replies:** 0\
**Last updated:** [March 21, 2024, 9:13am UTC](https://discourse.threejs.org/t/coloring-certain-regions-of-a-3d-model-using-shaders/63060 "2024-03-21T09:13:50Z")

</div>

Hello, I want to achieve something like the above. I am given an object and a set of points (highlighted in red). I want to color the region enclosing those points. Is this possible to do using shaders. I am also not …

---

## [Convert 3d model in threejs scene to png image](https://discourse.threejs.org/t/convert-3d-model-in-threejs-scene-to-png-image/20742)

<div class="topic-metadata">

**Author:** [@Stephenlaye2](https://discourse.threejs.org/u/Stephenlaye2)\
**Replies:** 7\
**Last updated:** [January 9, 2024, 6:52am UTC](https://discourse.threejs.org/t/convert-3d-model-in-threejs-scene-to-png-image/20742 "2024-01-09T06:52:28Z")

</div>

Hi everyone, I’m trying to convert an uploaded stl file into an image with png extension. I have written a code that only captures the scence, but the image is not showing. I don’t know why the image is not displayed. …

---

## [Picto3d - a website that transforms images into a 3D model](https://discourse.threejs.org/t/picto3d-a-website-that-transforms-images-into-a-3d-model/30488)

<div class="topic-metadata">

**Author:** [@H44AF](https://discourse.threejs.org/u/H44AF)\
**Replies:** 12\
**Last updated:** [October 18, 2023, 8:22pm UTC](https://discourse.threejs.org/t/picto3d-a-website-that-transforms-images-into-a-3d-model/30488 "2023-10-18T20:22:15Z")

</div>

It generates a depth map from an image and uses it as a displacement map to create a 3D model. This model can be downloaded in stl format with generated depth map and normal map.

---

## [Using a displacementMap to modify the (top) face of a cube](https://discourse.threejs.org/t/using-a-displacementmap-to-modify-the-top-face-of-a-cube/47418)

<div class="topic-metadata">

**Author:** [@nivkemai](https://discourse.threejs.org/u/nivkemai)\
**Replies:** 7\
**Last updated:** [January 30, 2023, 6:09am UTC](https://discourse.threejs.org/t/using-a-displacementmap-to-modify-the-top-face-of-a-cube/47418 "2023-01-30T06:09:54Z")

</div>

Hello, I’m probably going about this all wrong, but was hoping I’m at least somewhat on the right path. Context: I’m building something which will try to scan the height of an (IRL) object using a machine which has the …

---

## [Issue with STL file](https://discourse.threejs.org/t/issue-with-stl-file/45043)

<div class="topic-metadata">

**Author:** [@Tarlok\_Thakur](https://discourse.threejs.org/u/Tarlok_Thakur)\
**Replies:** 4\
**Last updated:** [November 24, 2022, 12:57pm UTC](https://discourse.threejs.org/t/issue-with-stl-file/45043 "2022-11-24T12:57:39Z")

</div>

Hi, I am working on creating coin using threejs and I am able to create coin. I am using png images for showing front and back of coin. It is working perfectly, but when I am converting scene to stl it is not showing ba…

---

## [Unable to parse STL file in Azure Blob Storage with Three.js](https://discourse.threejs.org/t/unable-to-parse-stl-file-in-azure-blob-storage-with-three-js/35298)

<div class="topic-metadata">

**Author:** [@JKornberg](https://discourse.threejs.org/u/JKornberg)\
**Replies:** 0\
**Last updated:** [February 24, 2022, 6:57pm UTC](https://discourse.threejs.org/t/unable-to-parse-stl-file-in-azure-blob-storage-with-three-js/35298 "2022-02-24T18:57:37Z")

</div>

I am trying to use the @azure/storage-blob package to download a STL file blob for use in Three.JS as follows: const downloadResponse = await containerClient.getBlobClient('models/Large Knob.STL').download(); const down…

---

## [React Native - Three js - STLLoader returned BufferGeometry not showing](https://discourse.threejs.org/t/react-native-three-js-stlloader-returned-buffergeometry-not-showing/32667)

<div class="topic-metadata">

**Author:** [@AlanSmithGit](https://discourse.threejs.org/u/AlanSmithGit)\
**Replies:** 0\
**Last updated:** [December 14, 2021, 2:57pm UTC](https://discourse.threejs.org/t/react-native-three-js-stlloader-returned-buffergeometry-not-showing/32667 "2021-12-14T14:57:51Z")

</div>

Using STLLoader from Three.js Loaders. The stl file / object is loaded successfully but when added to the scene through mesh, it does not show on the screen. Have tried all sorts of mesh materials to create mesh but noth…

---

## [Add multiple colors to object when stl file loaded](https://discourse.threejs.org/t/add-multiple-colors-to-object-when-stl-file-loaded/27789)

<div class="topic-metadata">

**Author:** [@Stephen\_Lee](https://discourse.threejs.org/u/Stephen_Lee)\
**Replies:** 1\
**Last updated:** [July 5, 2021, 10:52am UTC](https://discourse.threejs.org/t/add-multiple-colors-to-object-when-stl-file-loaded/27789 "2021-07-05T10:52:56Z")

</div>

I’m trying to put several colors to one stl file when it’s loaded… however when stl file exported, it doesn’t contains colors so i tried to put several materials to the object as an array but it doesn’t work. I’m new to…

---

## [Stencil does not work on STL model](https://discourse.threejs.org/t/stencil-does-not-work-on-stl-model/21764)

<div class="topic-metadata">

**Author:** [@ibrahimunal](https://discourse.threejs.org/u/ibrahimunal)\
**Replies:** 6\
**Last updated:** [December 28, 2020, 9:23pm UTC](https://discourse.threejs.org/t/stencil-does-not-work-on-stl-model/21764 "2020-12-28T21:23:08Z")

</div>

Hello everyone, i’m trying to scrape my stl model thorugh x ,y and z planes.There is an example on example which demonstrates perfectly. As I check for the source code there is a line that initializes the model and send…

---

## [Does three.js support any geomatric format like STEP or IGES?](https://discourse.threejs.org/t/does-three-js-support-any-geomatric-format-like-step-or-iges/8713)

<div class="topic-metadata">

**Author:** [@shibinmohan](https://discourse.threejs.org/u/shibinmohan)\
**Replies:** 9\
**Last updated:** [November 15, 2020, 4:55pm UTC](https://discourse.threejs.org/t/does-three-js-support-any-geomatric-format-like-step-or-iges/8713 "2020-11-15T16:55:55Z")

</div>

Does three.js support any geomatric format like STEP or IGES? How do I render change in model parameter values(like length, height etc ) in realtime using three.js?

---

## [Export scene with skinned mesh to stl](https://discourse.threejs.org/t/export-scene-with-skinned-mesh-to-stl/10399)

<div class="topic-metadata">

**Author:** [@Abisfadone](https://discourse.threejs.org/u/Abisfadone)\
**Replies:** 3\
**Last updated:** [October 22, 2019, 11:03am UTC](https://discourse.threejs.org/t/export-scene-with-skinned-mesh-to-stl/10399 "2019-10-22T11:03:43Z")

</div>

I use a STLExporter but seems like it doesn’t support a mesh transform when I just move a bones. Bc as result I see a basic mesh position in T-pose. I searched a lot about this but can’t find something what can help me o…

---

## [Optimized THREE.STLExporter for very large meshes](https://discourse.threejs.org/t/optimized-three-stlexporter-for-very-large-meshes/9912)

<div class="topic-metadata">

**Author:** [@yombo](https://discourse.threejs.org/u/yombo)\
**Replies:** 1\
**Last updated:** [September 28, 2019, 7:56am UTC](https://discourse.threejs.org/t/optimized-three-stlexporter-for-very-large-meshes/9912 "2019-09-28T07:56:43Z")

</div>

Hi, I recently had to code an optimized STLExporter for meshes \> 1 M triangles. The existing one thrown “out of memory” error. This one handles several million triangles easily. To make it very fast and simple, it has …

---

## [RangeError: Offset is outside the bounds of the DataView, split binary file in chuncks](https://discourse.threejs.org/t/rangeerror-offset-is-outside-the-bounds-of-the-dataview-split-binary-file-in-chuncks/4514)

<div class="topic-metadata">

**Author:** [@simonwebdev000000001](https://discourse.threejs.org/u/simonwebdev000000001)\
**Replies:** 3\
**Last updated:** [July 1, 2019, 6:50pm UTC](https://discourse.threejs.org/t/rangeerror-offset-is-outside-the-bounds-of-the-dataview-split-binary-file-in-chuncks/4514 "2019-07-01T18:50:42Z")

</div>

hi, i have simple threejs viewer and it should work with big stl file size, so currently for files over 700mb the browser is crashing on parse the data from file, i was thinking to split data from file in chunks and pars…

---

## [Help Load STL files ASCII or Binary to calculate Volume and Dimensions](https://discourse.threejs.org/t/help-load-stl-files-ascii-or-binary-to-calculate-volume-and-dimensions/5284)

<div class="topic-metadata">

**Author:** [@cdnmike](https://discourse.threejs.org/u/cdnmike)\
**Replies:** 12\
**Last updated:** [December 31, 2018, 12:52am UTC](https://discourse.threejs.org/t/help-load-stl-files-ascii-or-binary-to-calculate-volume-and-dimensions/5284 "2018-12-31T00:52:06Z")

</div>

Hello, I am a Junior Developer and I am interested to try and make a small app that calculates the volume (cm3) and overall dimensions of an stl file. I have been trying to navigate the three.js docs, examples and foru…

---

## [Identify multiple parts in an STL](https://discourse.threejs.org/t/identify-multiple-parts-in-an-stl/1738)

<div class="topic-metadata">

**Author:** [@Jenus\_M](https://discourse.threejs.org/u/Jenus_M)\
**Replies:** 1\
**Last updated:** [January 31, 2018, 1:56pm UTC](https://discourse.threejs.org/t/identify-multiple-parts-in-an-stl/1738 "2018-01-31T13:56:11Z")

</div>

Hello, I’m learning threejs, have a small doubt. I have an STL file that is loaded using STLLoader, That STL file may have multiple parts (I can easily visible that in Microsoft 3D Builder), My doubt is how to get these…
