# Difficulty with editing new segments imported as stl files

**URL:** <https://discourse.slicer.org/t/difficulty-with-editing-new-segments-imported-as-stl-files/5756>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [February 13, 2019, 1:39pm UTC](https://discourse.slicer.org/t/difficulty-with-editing-new-segments-imported-as-stl-files/5756 "2019-02-13T13:39:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [February 13, 2019, 2:40pm UTC](https://discourse.slicer.org/t/difficulty-with-editing-new-segments-imported-as-stl-files/5756/2 "2019-02-13T14:40:35Z")

</div>

In your second screenshot you cannot edit because there is no anatomical volume selected. That’s why Segment Editor is asking you to “Select master volume to enable editing”, as shown in your screenshot as well.

In the third case, I can see a master volume. If that “6: CHEST…” image occupies the same space in 3D as your imported STL, then you should be able to edit it. You can verify that by going to Volume Rendering and showing the CT in 3D.

If “chaos breaks loose” means what you described next that the vessels have shrunk, then it’s because of smoothing. When you import an STL into segmentation and edit it, then in the background the model is converted to a labelmap. Then when you show it in 3D again, then default smoothing is performed, hence the data loss.

You can oversample the labelmap:

- Use 4.10.1 or latest nightly
- Create new segmentation node in Segmentations module
- In Representations section make Closed surface as master (because you want to have control over the geometry of the labelmap afterwards)
- Import model in Import/Export section
- In Representations section long-click Create and choose Advanced create
- Click the only path in the top part
- Click Specify geometry button in the bottom part
- Select your CT volume
- Specify an oversampling factor (2 should be fine, 3 even higher resolution, but 4 may occupy too much memory)
- Click OK
- Go to Segment Editor and do your thing

You can also disable smoothing to prevent any shrinking (but after oversampling it might not be necessary):

> [@Option to disable smoothing of the segment surfaces in Segment Editor](https://discourse.slicer.org/t/option-to-disable-smoothing-of-the-segment-surfaces-in-segment-editor/883/16):
>
> This is implemented now in Slicer [master branch](https://github.com/Slicer/Slicer/commit/06ae9980af2c01a8f38ee2e7cfd930375f729b6d) and should be available in tomorrow’s nightly build. A checkbox is available directly in the “Show 3D” button’s menu: [image]

---

_[View the full topic](https://discourse.slicer.org/t/difficulty-with-editing-new-segments-imported-as-stl-files/5756)._
