# How to Reformat slice with Python Interator?

**URL:** <https://discourse.slicer.org/t/how-to-reformat-slice-with-python-interator/7931>\
**Category:** Support\
**Created:** [August 8, 2019, 5:41am UTC](https://discourse.slicer.org/t/how-to-reformat-slice-with-python-interator/7931 "2019-08-08T05:41:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shahrokh](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/shahrokh/32/1499_2.png) [@shahrokh](https://discourse.slicer.org/u/shahrokh)\
**Post date:** [August 8, 2019, 5:41am UTC](https://discourse.slicer.org/t/how-to-reformat-slice-with-python-interator/7931/1 "2019-08-08T05:41:20Z")

</div>

Hi Dears 3DSlicer developers and users

I have 3D CT volume images.I want to change slice properties such as its center and orientation. For example I want to get slice with the center in the certain location (r0, a0, s0) and rotation around the S axis by certain angle.  
I know to use Reformat module, but I want to use Python interactor to do it.  
Please guide me by examples or tutorials in Python.  
Shahrokh
