# Rotate a node around a specified point script

**URL:** <https://discourse.slicer.org/t/rotate-a-node-around-a-specified-point-script/25297>\
**Category:** Support\
**Created:** [September 16, 2022, 8:15am UTC](https://discourse.slicer.org/t/rotate-a-node-around-a-specified-point-script/25297 "2022-09-16T08:15:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jegberink](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jegberink/32/16031_2.png) [@jegberink](https://discourse.slicer.org/u/jegberink)\
**Post date:** [September 16, 2022, 8:15am UTC](https://discourse.slicer.org/t/rotate-a-node-around-a-specified-point-script/25297/1 "2022-09-16T08:15:38Z")

</div>

Hello everyone,

I’ve tried to get the rotate a node around a specified point script to work.  
I followed the video as described here:

> [@Rotation around specific point](https://discourse.slicer.org/t/rotation-around-specific-point/9398/11):
>
> I’ve just tried the [script](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#rotate-a-node-around-a-specified-point) that I posted earlier and it worked well. I’ve recorded it on a [video](https://1drv.ms/v/s!Arm_AFxB9yqHucN9pd6edw1a1cgxbg?e=x5SJOd) so that you can see all the steps.

Im working in slicer 5.0.3

After applying the script it still rotates around the centerpoint. No errors given.

 ![rotate](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/b/9bbe311ccd3d338c3c4a521c75ec498950e63adf.jpeg)

Any help would be appreciated

---

<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:** [September 16, 2022, 8:57pm UTC](https://discourse.slicer.org/t/rotate-a-node-around-a-specified-point-script/25297/2 "2022-09-16T20:57:34Z")

</div>

Have you applied transform\_4 to the model and rotated the object using the transform\_3 as shown in the video? Could you record a similar video to show what do you do exactly?

---

<div class="post-metadata">

**Author:** ![jegberink](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jegberink/32/16031_2.png) [@jegberink](https://discourse.slicer.org/u/jegberink)\
**Post date:** [September 17, 2022, 6:05am UTC](https://discourse.slicer.org/t/rotate-a-node-around-a-specified-point-script/25297/3 "2022-09-17T06:05:33Z")

</div>

I installed another instance of slicer, and now it seems to be working. Thank you for your time.
