# \#stl

**URL:** https://discourse.slicer.org/tag/stl/83.md

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

---

## [Why won't my mrml file open in 3D slicer, or my stl file become visible?](https://discourse.slicer.org/t/why-wont-my-mrml-file-open-in-3d-slicer-or-my-stl-file-become-visible/47172)

<div class="topic-metadata">

**Author:** [@Emerson](https://discourse.slicer.org/u/Emerson)\
**Replies:** 1\
**Last updated:** [May 29, 2026, 2:34pm UTC](https://discourse.slicer.org/t/why-wont-my-mrml-file-open-in-3d-slicer-or-my-stl-file-become-visible/47172 "2026-05-29T14:34:17Z")

</div>

I was trying to open an mrml file I have saved, and while it opened the app it did not open the file or show up anywhere. I tried again with the stl file and while it showed up under ‘data’ (which is farther than I got w…

---

## [3D-view segmentation smoothing and stl export](https://discourse.slicer.org/t/3d-view-segmentation-smoothing-and-stl-export/46488)

<div class="topic-metadata">

**Author:** [@Eva91](https://discourse.slicer.org/u/Eva91)\
**Replies:** 1\
**Last updated:** [March 18, 2026, 10:50am UTC](https://discourse.slicer.org/t/3d-view-segmentation-smoothing-and-stl-export/46488 "2026-03-18T10:50:46Z")

</div>

Hi, I have a working manual workflow in Slicer, where I load a segmentation, then show it in 3D, and increase the surface smoothness via that tiny arrow on the “Show 3D” button. After that, i export the segmentation to …

---

## [Process to Import an STL File and Convert/Export a Series of DICOM Files?](https://discourse.slicer.org/t/process-to-import-an-stl-file-and-convert-export-a-series-of-dicom-files/9906)

<div class="topic-metadata">

**Author:** [@aleesdesigner](https://discourse.slicer.org/u/aleesdesigner)\
**Replies:** 19\
**Last updated:** [December 19, 2025, 7:38pm UTC](https://discourse.slicer.org/t/process-to-import-an-stl-file-and-convert-export-a-series-of-dicom-files/9906 "2025-12-19T19:38:26Z")

</div>

Hi, I’m hoping someone can help with a workflow to import an STL file into Slicer, convert it to a series of DICOM files and export those DICOM files. I’ve checked other forums and can’t find anything that gives a step-…

---

## [Issues visualizing results in DentalModelSeg (Slicer 5.8) – segmentation runs but no output appears](https://discourse.slicer.org/t/issues-visualizing-results-in-dentalmodelseg-slicer-5-8-segmentation-runs-but-no-output-appears/45405)

<div class="topic-metadata">

**Author:** [@Brendy\_Villanueva](https://discourse.slicer.org/u/Brendy_Villanueva)\
**Replies:** 1\
**Last updated:** [December 11, 2025, 8:38pm UTC](https://discourse.slicer.org/t/issues-visualizing-results-in-dentalmodelseg-slicer-5-8-segmentation-runs-but-no-output-appears/45405 "2025-12-11T20:38:13Z")

</div>

Hello everyone, I am trying to segment teeth from STL dental models using DentalModelSeg, but I am running into visualization issues, and I would really appreciate some guidance. I used: 3D Slicer version 5.8 Den…

---

## [ROI of 3 stl files](https://discourse.slicer.org/t/roi-of-3-stl-files/43722)

<div class="topic-metadata">

**Author:** [@PLET](https://discourse.slicer.org/u/PLET)\
**Replies:** 3\
**Last updated:** [July 15, 2025, 2:55pm UTC](https://discourse.slicer.org/t/roi-of-3-stl-files/43722 "2025-07-15T14:55:41Z")

</div>

I have 3 .stl files of a forearm segment (muscle, skin, bone). I want to use 3D Slicer to crop a specific section, but I can only do it with one layer. I don’t know how to crop all three layers together at the same time.…

---

## [How to determine the resolution of the STL file exported from the 3D slicer?](https://discourse.slicer.org/t/how-to-determine-the-resolution-of-the-stl-file-exported-from-the-3d-slicer/34087)

<div class="topic-metadata">

**Author:** [@Yunus](https://discourse.slicer.org/u/Yunus)\
**Replies:** 11\
**Last updated:** [June 26, 2025, 5:31pm UTC](https://discourse.slicer.org/t/how-to-determine-the-resolution-of-the-stl-file-exported-from-the-3d-slicer/34087 "2025-06-26T17:31:21Z")

</div>

I have segmented kidneys and other organs with 3D Slicer and exported them as an STL file. I also need to specify the model resolution, but I don’t know how to do this. What I have tried so far: before I exported the …

---

## [Details inside a bone for dental implant planning](https://discourse.slicer.org/t/details-inside-a-bone-for-dental-implant-planning/22088)

<div class="topic-metadata">

**Author:** [@CaetanoPM](https://discourse.slicer.org/u/CaetanoPM)\
**Replies:** 11\
**Last updated:** [May 24, 2024, 11:07am UTC](https://discourse.slicer.org/t/details-inside-a-bone-for-dental-implant-planning/22088 "2024-05-24T11:07:57Z")

</div>

Hi, I’m dentist, and i’m having some trouble with my stl file. I followed all the steps, and export the stl file of the jaw bones. OK I put in Meshmixer to edit, and wen i look inside, have no details, only a empty sp…

---

## [Can we CT scan any other object apart from human body and convert it into stl](https://discourse.slicer.org/t/can-we-ct-scan-any-other-object-apart-from-human-body-and-convert-it-into-stl/41666)

<div class="topic-metadata">

**Author:** [@Akshata\_Shah](https://discourse.slicer.org/u/Akshata_Shah)\
**Replies:** 1\
**Last updated:** [February 13, 2025, 4:12am UTC](https://discourse.slicer.org/t/can-we-ct-scan-any-other-object-apart-from-human-body-and-convert-it-into-stl/41666 "2025-02-13T04:12:56Z")

</div>

Can we convert an object scan from dicom to stl. How does the volume generation happen and what are the threshold parameters be set for the same

---

## [Converting .stl files to binary label maps in .nii format using Python](https://discourse.slicer.org/t/converting-stl-files-to-binary-label-maps-in-nii-format-using-python/13038)

<div class="topic-metadata">

**Author:** [@DC-3T](https://discourse.slicer.org/u/DC-3T)\
**Replies:** 11\
**Last updated:** [August 25, 2024, 8:29pm UTC](https://discourse.slicer.org/t/converting-stl-files-to-binary-label-maps-in-nii-format-using-python/13038 "2024-08-25T20:29:43Z")

</div>

Dear all, I hope you’re doing well. I’ve spent the last week or two struggling to convert a large number of .stl files (~1,000) drawn in 3D Slicer 4.10.2 into .nii binary label maps using Python. The .stl data were deri…

---

## [Low resolution when importing an STL segmentation](https://discourse.slicer.org/t/low-resolution-when-importing-an-stl-segmentation/37715)

<div class="topic-metadata">

**Author:** [@ludoludo](https://discourse.slicer.org/u/ludoludo)\
**Replies:** 1\
**Last updated:** [August 5, 2024, 8:45pm UTC](https://discourse.slicer.org/t/low-resolution-when-importing-an-stl-segmentation/37715 "2024-08-05T20:45:02Z")

</div>

Hey! I have a Nifti volume with the following dimensions: 588 x 734 x 1095, with an isometric resolution of 0.033 mm. I’ve got an STL (or OBJ) file that represents a segmentation I’ve already made. I’d like to convert…

---

## [What underlying concepts are being used going from segmentation to .STL](https://discourse.slicer.org/t/what-underlying-concepts-are-being-used-going-from-segmentation-to-stl/35898)

<div class="topic-metadata">

**Author:** [@koenterheegde](https://discourse.slicer.org/u/koenterheegde)\
**Replies:** 1\
**Last updated:** [May 3, 2024, 6:55pm UTC](https://discourse.slicer.org/t/what-underlying-concepts-are-being-used-going-from-segmentation-to-stl/35898 "2024-05-03T18:55:15Z")

</div>

I’m currently developing a program which has some of the same features as Slicer. Eventually, I get a .STL file and extract the centerline from it. However, when I apply this to my own generated .STL files, it doesn’t wo…

---

## [Advice on editing STL files of bones ](https://discourse.slicer.org/t/advice-on-editing-stl-files-of-bones/34721)

<div class="topic-metadata">

**Author:** [@daniel\_reale](https://discourse.slicer.org/u/daniel_reale)\
**Replies:** 2\
**Last updated:** [March 7, 2024, 3:17am UTC](https://discourse.slicer.org/t/advice-on-editing-stl-files-of-bones/34721 "2024-03-07T03:17:26Z")

</div>

Well, So I’m doing my final year project, and as part of it I’ve been printing various versions of the same femur. I had one with the internal cavities, I’ve had one that’s solid throughout, I’ve had big ones and small …

---

## [Coordinate system between slicer 3d and paraview](https://discourse.slicer.org/t/coordinate-system-between-slicer-3d-and-paraview/34032)

<div class="topic-metadata">

**Author:** [@michaelli](https://discourse.slicer.org/u/michaelli)\
**Replies:** 0\
**Last updated:** [January 29, 2024, 8:47pm UTC](https://discourse.slicer.org/t/coordinate-system-between-slicer-3d-and-paraview/34032 "2024-01-29T20:47:32Z")

</div>

I extracted the centerline of a vessel by the VMTK module. I want to import the centerline to Paraview. The RAS coordinates seem not aligned with the geometry (STL) in ParaView. My question is how to transform the coord…

---

## [Create .stl file from segments](https://discourse.slicer.org/t/create-stl-file-from-segments/33619)

<div class="topic-metadata">

**Author:** [@SANTIAGO\_PENDON\_MING](https://discourse.slicer.org/u/SANTIAGO_PENDON_MING)\
**Replies:** 1\
**Last updated:** [January 4, 2024, 11:18am UTC](https://discourse.slicer.org/t/create-stl-file-from-segments/33619 "2024-01-04T11:18:47Z")

</div>

Hi to everyone. Today’s question is quite ‘easy’ but, after look the wiki and older post I didn’t see anything… I’m trying to convert my segment into .stl files with Python code. I’m acquainted with segmentations and se…

---

## [Creating Segmentation on stl files to get centreline of artery](https://discourse.slicer.org/t/creating-segmentation-on-stl-files-to-get-centreline-of-artery/33603)

<div class="topic-metadata">

**Author:** [@Luxalyn](https://discourse.slicer.org/u/Luxalyn)\
**Replies:** 1\
**Last updated:** [January 3, 2024, 5:48pm UTC](https://discourse.slicer.org/t/creating-segmentation-on-stl-files-to-get-centreline-of-artery/33603 "2024-01-03T17:48:24Z")

</div>

Hello; I’m extremely new to 3D Slicer, and for a couple days I’ve been trying to implement segmentation on an artery stl file to get the centerline of it. I have tried these steps but it didnt work. i dont know why and …

---

## [180 degree Flip in STL/PLY when imported](https://discourse.slicer.org/t/180-degree-flip-in-stl-ply-when-imported/33447)

<div class="topic-metadata">

**Author:** [@Vignesh\_Chakravarthy](https://discourse.slicer.org/u/Vignesh_Chakravarthy)\
**Replies:** 2\
**Last updated:** [December 19, 2023, 6:33pm UTC](https://discourse.slicer.org/t/180-degree-flip-in-stl-ply-when-imported/33447 "2023-12-19T18:33:32Z")

</div>

Hi, I am using Slicer 5.2.2. I have saved lesions and prostate from Ultrasound as landmarks in slicer. Then, imported landmarks into MATLAB for non-rigid registration. I converted them to ply/stl from pointcloud after t…

---

## [Report a problem with converting stl to nrrd](https://discourse.slicer.org/t/report-a-problem-with-converting-stl-to-nrrd/32620)

<div class="topic-metadata">

**Author:** [@Chuan](https://discourse.slicer.org/u/Chuan)\
**Replies:** 1\
**Last updated:** [November 6, 2023, 3:47pm UTC](https://discourse.slicer.org/t/report-a-problem-with-converting-stl-to-nrrd/32620 "2023-11-06T15:47:53Z")

</div>

Hi, I would like to report a problem with converting stl file to nrrd.file. The red figure is my stl file of a skeleton model. I would like to convert it to nrrd file, and my process is right click my stl model, and ch…

---

## [Export STL 3D Model with different densities according to the HU of DICOM](https://discourse.slicer.org/t/export-stl-3d-model-with-different-densities-according-to-the-hu-of-dicom/29815)

<div class="topic-metadata">

**Author:** [@gonzalozar](https://discourse.slicer.org/u/gonzalozar)\
**Replies:** 3\
**Last updated:** [June 4, 2023, 3:35pm UTC](https://discourse.slicer.org/t/export-stl-3d-model-with-different-densities-according-to-the-hu-of-dicom/29815 "2023-06-04T15:35:41Z")

</div>

Does the exported STL output file (when segmenting) also considers the densities of the DICOM image (more or less HU units)? If not, is there any way to obtain a exported STL that also considers the densities? Please if…

---

## [How to set VR camera position in Python?](https://discourse.slicer.org/t/how-to-set-vr-camera-position-in-python/29418)

<div class="topic-metadata">

**Author:** [@Gianluca\_De\_Lucia](https://discourse.slicer.org/u/Gianluca_De_Lucia)\
**Replies:** 1\
**Last updated:** [May 12, 2023, 10:02am UTC](https://discourse.slicer.org/t/how-to-set-vr-camera-position-in-python/29418 "2023-05-12T10:02:15Z")

</div>

Hi, I am trying to develop a Python script for viewing an STL file through your VR module for 3DSlicer. I need to set up the camera position, but as far I didn’t succeed. I tried with: slicer.modules.virtualreality.…

---

## [Error while exporting a model node as stl file](https://discourse.slicer.org/t/error-while-exporting-a-model-node-as-stl-file/29047)

<div class="topic-metadata">

**Author:** [@Luca](https://discourse.slicer.org/u/Luca)\
**Replies:** 4\
**Last updated:** [April 25, 2023, 1:59pm UTC](https://discourse.slicer.org/t/error-while-exporting-a-model-node-as-stl-file/29047 "2023-04-25T13:59:05Z")

</div>

Hello everyone, every time I try to export a model node (simple or complex) as stl file by using the GUI, I get the following error: Error: ERROR: In D:\\D\\S\\S-0-build\\VTK\\IO\\Geometry\\vtkSTLWriter.cxx, line 248 vtkSTL…

---

## [Image registration nrrd files appear to be scaled differently despite adjusting scaling](https://discourse.slicer.org/t/image-registration-nrrd-files-appear-to-be-scaled-differently-despite-adjusting-scaling/28512)

<div class="topic-metadata">

**Author:** [@elrond11](https://discourse.slicer.org/u/elrond11)\
**Replies:** 6\
**Last updated:** [March 22, 2023, 2:59am UTC](https://discourse.slicer.org/t/image-registration-nrrd-files-appear-to-be-scaled-differently-despite-adjusting-scaling/28512 "2023-03-22T02:59:36Z")

</div>

I have been using 3D Slicer for rigid registration of two nrrd volumes. The first is an STL file that I have rasterized into an nrrd file within Slicer, this is the fixed image. The second nrrd file, moving image, has be…

---

## [How to color a stl file using VTK in python](https://discourse.slicer.org/t/how-to-color-a-stl-file-using-vtk-in-python/26334)

<div class="topic-metadata">

**Author:** [@Hamid\_Fsian](https://discourse.slicer.org/u/Hamid_Fsian)\
**Replies:** 3\
**Last updated:** [January 20, 2023, 5:28am UTC](https://discourse.slicer.org/t/how-to-color-a-stl-file-using-vtk-in-python/26334 "2023-01-20T05:28:08Z")

</div>

Hello, I am a newbie in VTK. I have generated a STL file (of bones) using VTK, and now I want to have specific color labels for each slice, for example : if the width of slice(n) \> N (number) =\> green, if width o…

---

## [About Surface Rendering Algorithm](https://discourse.slicer.org/t/about-surface-rendering-algorithm/25907)

<div class="topic-metadata">

**Author:** [@wawa](https://discourse.slicer.org/u/wawa)\
**Replies:** 1\
**Last updated:** [October 27, 2022, 5:37am UTC](https://discourse.slicer.org/t/about-surface-rendering-algorithm/25907 "2022-10-27T05:37:37Z")

</div>

Hello, I tried saving surface rendering as STL file using Segment Editor module. I wonder whether the surface rendering uses the Marching Cubes algorithm or other algorithms? Thank you. Regards

---

## [Difference in STL file exported from 3DSlicer and created in Matlab](https://discourse.slicer.org/t/difference-in-stl-file-exported-from-3dslicer-and-created-in-matlab/25850)

<div class="topic-metadata">

**Author:** [@SimoneCR](https://discourse.slicer.org/u/SimoneCR)\
**Replies:** 18\
**Last updated:** [October 26, 2022, 5:46pm UTC](https://discourse.slicer.org/t/difference-in-stl-file-exported-from-3dslicer-and-created-in-matlab/25850 "2022-10-26T17:46:18Z")

</div>

I have a 512x512x331 DICOM volume of a CT scan, with voxel size of 0.723x0.723x0.8. I manually segmented (Region Growing) it in 3DSlicer to retain the femur head only. Exporting this segment to STL file, I can see that i…

---

## [Is this type of.dcm file the correct to do the tutorial 'Segmentation for 3D printing'](https://discourse.slicer.org/t/is-this-type-of-dcm-file-the-correct-to-do-the-tutorial-segmentation-for-3d-printing/20163)

<div class="topic-metadata">

**Author:** [@campu](https://discourse.slicer.org/u/campu)\
**Replies:** 1\
**Last updated:** [September 15, 2022, 2:26pm UTC](https://discourse.slicer.org/t/is-this-type-of-dcm-file-the-correct-to-do-the-tutorial-segmentation-for-3d-printing/20163 "2022-09-15T14:26:49Z")

</div>

Hi to all! This is my first post. Im a 3D designer, i have 2 3D printers and in a few months i’ll be father again. My wife and me went to a clinic to do a 5D ultrasound to see our future baby. I requested the .dcm file …

---

## [Segementation mask file (.nii format) convert .stl format](https://discourse.slicer.org/t/segementation-mask-file-nii-format-convert-stl-format/24971)

<div class="topic-metadata">

**Author:** [@wawa](https://discourse.slicer.org/u/wawa)\
**Replies:** 0\
**Last updated:** [August 29, 2022, 7:02am UTC](https://discourse.slicer.org/t/segementation-mask-file-nii-format-convert-stl-format/24971 "2022-08-29T07:02:23Z")

</div>

Hi, I am able to convert my data ‘.nii’ Segementation mask files to Model ‘.stl’ files. Segementation mask files is for 3D medical images,which consists of multiple 2D slices. My Code nii\_pathname = ... seg = sli…

---

## [Unable to export segment with ExportSegmentsClosedSurfaceRepresentationToFiles](https://discourse.slicer.org/t/unable-to-export-segment-with-exportsegmentsclosedsurfacerepresentationtofiles/23267)

<div class="topic-metadata">

**Author:** [@Xabierenko](https://discourse.slicer.org/u/Xabierenko)\
**Replies:** 4\
**Last updated:** [May 10, 2022, 4:44am UTC](https://discourse.slicer.org/t/unable-to-export-segment-with-exportsegmentsclosedsurfacerepresentationtofiles/23267 "2022-05-10T04:44:10Z")

</div>

Hi, I have been using the code snippet below to export large amounts of segmentations to .stl format. segmentation = slicer.util.loadSegmentation(seg) vol = slicer.util.loadVolume(mag) volumeNode = slicer.util.get…

---

## [Remove islands inside the resulting STL from a segment](https://discourse.slicer.org/t/remove-islands-inside-the-resulting-stl-from-a-segment/21752)

<div class="topic-metadata">

**Author:** [@anon29823344](https://discourse.slicer.org/u/anon29823344)\
**Replies:** 2\
**Last updated:** [February 3, 2022, 1:13am UTC](https://discourse.slicer.org/t/remove-islands-inside-the-resulting-stl-from-a-segment/21752 "2022-02-03T01:13:17Z")

</div>

Operating system: Windows 10 Pro. Version: 21H2. Build: 19044.1466 Slicer version: 4.11.20210226 r29738 / 7a593c8 Hello all. This is my first question in the forum, so I hope this topic is not repeated (at least I cou…

---

## [Can VMTK directly import STK file?](https://discourse.slicer.org/t/can-vmtk-directly-import-stk-file/21487)

<div class="topic-metadata">

**Author:** [@xiuyuanc](https://discourse.slicer.org/u/xiuyuanc)\
**Replies:** 0\
**Last updated:** [January 16, 2022, 8:59pm UTC](https://discourse.slicer.org/t/can-vmtk-directly-import-stk-file/21487 "2022-01-16T20:59:59Z")

</div>

Hi all, I’m trying to carry out an artery annotation task, to segment and annotate each artery name of an artery tree and hope to use the ‘vmtkbranchextractor’ command. However, my data all came in STL format, I’m wonde…

---

## [Is it possible to open the stl file, cut the desired part, and save it?](https://discourse.slicer.org/t/is-it-possible-to-open-the-stl-file-cut-the-desired-part-and-save-it/20857)

<div class="topic-metadata">

**Author:** [@kookoo9999](https://discourse.slicer.org/u/kookoo9999)\
**Replies:** 3\
**Last updated:** [December 1, 2021, 6:55pm UTC](https://discourse.slicer.org/t/is-it-possible-to-open-the-stl-file-cut-the-desired-part-and-save-it/20857 "2021-12-01T18:55:46Z")

</div>

Hello all I want to cut the stl file as much as I want and save it. I cut and saved the dcm file, but I’m not sure how to do the stl. Can you tell me if it’s possible? Thanks to read.

[Next page](https://discourse.slicer.org/tag/stl/83.md?match_all_tags=true&page=1&tags%5B%5D=stl)
