# Slice rotation in viewport when using SetSliceToRASByNTP in python

**URL:** https://discourse.slicer.org/t/slice-rotation-in-viewport-when-using-setslicetorasbyntp-in-python/7191
**Category:** Development
**Created:** [June 16, 2019, 10:17pm UTC](https://discourse.slicer.org/t/slice-rotation-in-viewport-when-using-setslicetorasbyntp-in-python/7191 "2019-06-16T22:17:15Z")
**Posts on this page:** 1
**Showing post:** 8

<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: [December 18, 2019, 1:26am UTC](https://discourse.slicer.org/t/slice-rotation-in-viewport-when-using-setslicetorasbyntp-in-python/7191/8 "2019-12-18T01:26:17Z")

</div>

We now added a module that automates the reformat and creates curved planar reformatted volumes: [How to implement CPR (curved plannar reconstruction) from centerline?](https://discourse.slicer.org/t/how-to-implement-cpr-curved-plannar-reconstruction-from-centerline/9456/3)

---

_[View the full topic](https://discourse.slicer.org/t/slice-rotation-in-viewport-when-using-setslicetorasbyntp-in-python/7191)._
