Operating system: Windows
Slicer version: 4.11
Expected behavior: Load STL file as a 3D model
Actual behavior: No 3D model was produced. The STL file does not seem to be corrupted (I am able to open it on Meshlab)
The 3D view’s field of view is centered to the origin by default. If you load a model file and you don’t see it then click the “Center 3D view” button. If you still not see the model then you may need to zoom using right-click-and-drag (or by hitting the r
key).
The model doesn’t show up at all, I’ve tried centering it in addition to zooming in/out
Can you upload the misbehaving STL file somewhere and post the link here?
Here is the link. I also talked to a co-worker and they suggested that there might be a path error since I moved the files around.
When you saved this file, you have set size scaling factor to 0.005. It means that the diameter of your model is now 0.04mm. You need to do a lot of zooming in to see it. In recent Slicer Preview Releases we automatically zoom the view to fit the first loaded model, so you won’t have trouble finding it.
Scaling feature was added to segmentation export so that at the very end of all your processing you can write a surface mesh file that uses a different distance unit (for example, some software use meter as coordinate system unit). But if you intend to use these files in Slicer then keep scaling factor at 1.0.
Ok, is there a way to retroactively do that in the STL file or would I need to change the scale size from the MRML file
You can load the STL file and scale it back to its original size using Surface toolbox.
But in general the best is to save the segmentation in its native format (usually .seg.nrrd, because you create them from images). If you need a surface mesh then you can just load the segmentation file and store it in any format you need. STL is not good for storing segmentations, because conversion to editable (binary labelmap) representation is a lossy operation and there are many other inconveniences (you need a separate file for each segment, there is no standard way of specifying coordinate system unit or axis directions, you can only store very limited amount of metadata, etc.).