# Omitting the rotation of needle around its axis in the transformation module

**URL:** <https://discourse.slicer.org/t/omitting-the-rotation-of-needle-around-its-axis-in-the-transformation-module/8247>\
**Category:** Support\
**Created:** [August 31, 2019, 7:20am UTC](https://discourse.slicer.org/t/omitting-the-rotation-of-needle-around-its-axis-in-the-transformation-module/8247 "2019-08-31T07:20:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mary7291](https://avatars.discourse-cdn.com/v4/letter/m/48db29/32.png) [@Mary7291](https://discourse.slicer.org/u/Mary7291)\
**Post date:** [August 31, 2019, 7:20am UTC](https://discourse.slicer.org/t/omitting-the-rotation-of-needle-around-its-axis-in-the-transformation-module/8247/1 "2019-08-31T07:20:44Z")

</div>

Operating system: window 7  
Slicer version:4.8.1

Hello,  
To plan a needle insertion process, i need to load a needle in slicer and finding the transformation of the needle to obtain the position and orientation if the needle tip. I use the transformation module to achieve this purpose. But i found that the rotation of the needle around its axis affects the transformation module.  
I need to know how can i omit the effect of the rotation around the needle axis?  
I would be so appreciated if anyone could help me…

 ![Capture](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/6/7607f35e00aae038d18e359047c67c9fcf0f0ae5.png)

---

<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:** [August 31, 2019, 4:38pm UTC](https://discourse.slicer.org/t/omitting-the-rotation-of-needle-around-its-axis-in-the-transformation-module/8247/2 "2019-08-31T16:38:06Z")

</div>

It is not completely clear what you would like to achieve, but switching the order of translation/rotation may help (toggle button next to invert button with an icon of translation/rotation arrows).

For setting remote center of rotation and create any kind of combination of transforms, you can create a transform hierarchy by applying transforms to transforms.
