# Hide slice rectangles in 3D view

**URL:** <https://discourse.slicer.org/t/hide-slice-rectangles-in-3d-view/42912>\
**Category:** Support\
**Created:** [May 13, 2025, 8:38pm UTC](https://discourse.slicer.org/t/hide-slice-rectangles-in-3d-view/42912 "2025-05-13T20:38:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [May 13, 2025, 11:08pm UTC](https://discourse.slicer.org/t/hide-slice-rectangles-in-3d-view/42912/2 "2025-05-13T23:08:45Z")

</div>

> [@Show slice edges in 3D view](https://discourse.slicer.org/t/show-slice-edges-in-3d-view/11381):
>
> Most medical image viewer software uses color coding to make it easier to distinguish slices in 3D views. It would not be hard to do (you can try by copy-pasting a few lines of code into the Python console). play_button Code snippet to show slice edges Should we do it, too? My concern would be that it may make the views a bit too busy: It might be particularly confusing when the displayed image is smaller than the frame (this happens most of the case): It could be possible to set …

> <https://github.com/Slicer/Slicer/pull/8008>
>
> \- Implemented functionality to show slice edges in the 3D view.
> \- Added user in…terface controls to control the visibility of slice edges.
> \- Implemented linking controls to synchronize the visibility of slice edges across different views.
> 
> !\[image\](https://github.com/user-attachments/assets/eb4afd25-4697-4b62-9028-b935dcac43d2)
> 
> Reference: https://discourse.slicer.org/t/show-slice-edges-in-3d-view/11381

---

_[View the full topic](https://discourse.slicer.org/t/hide-slice-rectangles-in-3d-view/42912)._
