# I need help please if anyone know, can you please help me

**URL:** <https://discourse.slicer.org/t/i-need-help-please-if-anyone-know-can-you-please-help-me/38048>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [August 27, 2024, 3:19am UTC](https://discourse.slicer.org/t/i-need-help-please-if-anyone-know-can-you-please-help-me/38048 "2024-08-27T03:19:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vikram](https://avatars.discourse-cdn.com/v4/letter/v/e47774/32.png) [@Vikram](https://discourse.slicer.org/u/Vikram)\
**Post date:** [August 27, 2024, 3:19am UTC](https://discourse.slicer.org/t/i-need-help-please-if-anyone-know-can-you-please-help-me/38048/1 "2024-08-27T03:19:57Z")

</div>

Hi i have 3D stl file of cubic , in stl file there is two density one is air and other is solid part , i want to calculate the volume of solid part and air , but the file is in stl format , can anyone please help me first how to segment both solid and air from cubic

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/2/627b590abadabd3118f541a8f0e6697cb941eeda.png)

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [August 27, 2024, 3:39am UTC](https://discourse.slicer.org/t/i-need-help-please-if-anyone-know-can-you-please-help-me/38048/2 "2024-08-27T03:39:44Z")

</div>

Hi,

You asked this a few times and I think we tried to help as much as we can with the information provided. It is still the same workflow

You can import this STL as a segmentation. Then you can use the threshold tool to assign the lattice (solid) voxels into Segment\_1, then you can assign the remaining (air) voxels to Segment\_2. Please see the relevant sections of Segmentation tutorial on how to achieve these tasks:

[https://slicer.readthedocs.io/en/latest/user\_guide/modules/segmentations.html#import-an-existing-segmentation-from-model-surface-mesh-file](https://slicer.readthedocs.io/en/latest/user_guide/modules/segmentations.html#import-an-existing-segmentation-from-model-surface-mesh-file)

[https://slicer.readthedocs.io/en/latest/user\_guide/modules/segmenteditor.html](https://slicer.readthedocs.io/en/latest/user_guide/modules/segmenteditor.html)

Then you you can use the Segment Statistics module to calculate volumes of them.  
[https://slicer.readthedocs.io/en/latest/user\_guide/modules/segmentstatistics.html](https://slicer.readthedocs.io/en/latest/user_guide/modules/segmentstatistics.html)

However, for that to be correct your STL should correct physical sizes. For example if you know the length of the lattice, measure it in 3D slicer and compare it to known size to assess whether the STL is providing you the correct physical dimensions.

---

<div class="post-metadata">

**Author:** ![Vikram](https://avatars.discourse-cdn.com/v4/letter/v/e47774/32.png) [@Vikram](https://discourse.slicer.org/u/Vikram)\
**Post date:** [August 27, 2024, 3:48am UTC](https://discourse.slicer.org/t/i-need-help-please-if-anyone-know-can-you-please-help-me/38048/3 "2024-08-27T03:48:39Z")

</div>

Sorry from my side  
But now I work on stl file  
Before it was Dicom file , i used these step on Dicom file , it was success.  
But now I use these steps on stl file but it is not working  
Thank you ❤

---

<div class="post-metadata">

**Author:** ![Vikram](https://avatars.discourse-cdn.com/v4/letter/v/e47774/32.png) [@Vikram](https://discourse.slicer.org/u/Vikram)\
**Post date:** [August 27, 2024, 3:51am UTC](https://discourse.slicer.org/t/i-need-help-please-if-anyone-know-can-you-please-help-me/38048/4 "2024-08-27T03:51:37Z")

</div>

![image.png](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/a/ba274ec5704960af0c6b65ad47d1a5f048f8d514.png)

when i upload stl file, stl file also show in output box , and tool for segment editor we can’t use

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [August 27, 2024, 3:53am UTC](https://discourse.slicer.org/t/i-need-help-please-if-anyone-know-can-you-please-help-me/38048/5 "2024-08-27T03:53:01Z")

</div>

I gave you

> [@Vikram](#):
>
> But now I use these steps on stl file but it is not working

The proper way of doing this is with DICOMs, and once you convert your stl it is the same set of instructions for segmentation. but it is of course your call whichever way you want to do this.

Anyways, if you follow my instructions above carefully, you should be able to do what you want to do.

---

<div class="post-metadata">

**Author:** ![Vikram](https://avatars.discourse-cdn.com/v4/letter/v/e47774/32.png) [@Vikram](https://discourse.slicer.org/u/Vikram)\
**Post date:** [August 27, 2024, 10:24am UTC](https://discourse.slicer.org/t/i-need-help-please-if-anyone-know-can-you-please-help-me/38048/6 "2024-08-27T10:24:46Z")

</div>

I tried, but it only calculates the volume of the wall( solid) not air (hole) from the stl file.  
Maybe I did not understand.  
someone simply explain to me
