Save segmentation directly to STL or OBJ files

feature

(Andras Lasso) #1

We often received questions about how to export segmentation to STL file for 3D printing. We’ve added a simplified, dedicated tool to make this step easier.

1-minute demo video:

Main features:

  • Export STL file: each segment as a separate file or all segments merged into a single mesh
  • Export OBJ file: all segments are saved in one file, segment colors and opacities are preserved
  • Export all or visible segments only
  • Coordinate system can be LPS (for compatibility external software) or RAS (for compatibility with current default model save in Slicer)

The tool is available in Segment editor module (“Segmentations” button / drop-down arrow / “Export to files”) and in Segmentations module (“Export to files” section).

image

image


Convert loaded DCM file to stl, export stl
Apply Laplacian smoothing using Python script
Using model maker module
How to save a model made by different parts from an atlas?
How can we export model(after segmentation) from 3d slicer to 3matic(mimics)?
Different coordinate systems when exporting stl files from 3D Slicer to matlab
Multisegment merging into one model for STL export
Slicer 4.10: Summary, Highlights and Changelog
Volume rendering shows a solid box
Slicer 4.10: Summary, Highlights and Changelog
Disarticulating Joints
Scissors tool not working to remove unwanted areas 3D Slicer 4.9.0
convert dicom rt structure
Load segmentation and export surface mesh as model .ply
How to save a model made by different parts from an atlas?
(J Scales) #2

Out of interest in the video what is viewer you are using for STL visualization?

Ah found it, Mixed Reality viewer for Windows 10.


vtkObjExporter- model down quality
(xx) #3

Dear Andras,

I have succeeded in exporting all segments together in one file. But I still have two questions. The first is about exporting STL file. What do you mean by “all segments merged into a single mesh” when ticked the box “Merge into single file”? Does the single mesh still compose of different segments or just merge into one mesh? I have export STL file to Solidworks and found three parts the same in Slicer (as shown in the following figure). The second is that when exporting OBJ file, I found another solid apart from the three segments (a very small spot??). I really don’t know where it may be from. Could you give some advice? Thank you very much!

Best regards,
Crayon


(Andras Lasso) #4

If merge is enabled then all mesh points and triangles of the three segments are included in a single file. If you want to manage the segments separately then turn off this option.

If you did not intend to create that segment and don’t need it then you can delete it.


(xx) #5

I got it. Thank you!