# Set center of rotation for transform in 3D view

**URL:** <https://discourse.slicer.org/t/set-center-of-rotation-for-transform-in-3d-view/14363>\
**Category:** Feature requests\
**Created:** [November 1, 2020, 1:12pm UTC](https://discourse.slicer.org/t/set-center-of-rotation-for-transform-in-3d-view/14363 "2020-11-01T13:12:07Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [November 1, 2020, 8:30pm UTC](https://discourse.slicer.org/t/set-center-of-rotation-for-transform-in-3d-view/14363/4 "2020-11-01T20:30:50Z")

</div>

We’ll implement ROI rotation in the new Markups ROI node. It should be available in a few months.

Note that you can create optimal oriented bounding box fully automatically, using 10-15 lines of code (see [New Segment Statistics: Oriented Bounding Box, Diameter and More](https://discourse.slicer.org/t/new-segment-statistics-oriented-bounding-box-diameter-and-more/10203)). The script could be slightly modified to create ROI from automatically rotate the ROI to have one side parallel to a specified line.

If you don’t want to do any programming, then you can rotate the volume so that the cut axes are parallel to R/A/S axis and then you don’t need to rotate the ROI.

---

_[View the full topic](https://discourse.slicer.org/t/set-center-of-rotation-for-transform-in-3d-view/14363)._
