# How to move the Slicer View origin to the model's center?

**URL:** <https://discourse.slicer.org/t/how-to-move-the-slicer-view-origin-to-the-models-center/19928>\
**Category:** Support\
**Tags:** registration\
**Created:** [September 30, 2021, 10:32am UTC](https://discourse.slicer.org/t/how-to-move-the-slicer-view-origin-to-the-models-center/19928 "2021-09-30T10:32:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![slicer365](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/slicer365/32/67549_2.png) [@slicer365](https://discourse.slicer.org/u/slicer365)\
**Post date:** [September 30, 2021, 10:32am UTC](https://discourse.slicer.org/t/how-to-move-the-slicer-view-origin-to-the-models-center/19928/1 "2021-09-30T10:32:27Z")

</div>

As we know ，In the Blender software, there is a function to move the geometric center to the origin and move the origin to the geometric center.

Is there a way to implement this function in Slicer?

If I use the Creat models module to creat a sphere ,is the centre of the sphere the origin ?

Thanks for any answer.

 ![捕获](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/0/905e9ef2e15049d3855c5b10d92a2e8f22c21315.png)

---

<div class="post-metadata">

**Author:** ![pll\_llq](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pll_llq/32/9408_2.png) [@pll\_llq](https://discourse.slicer.org/u/pll_llq)\
**Post date:** [September 30, 2021, 1:34pm UTC](https://discourse.slicer.org/t/how-to-move-the-slicer-view-origin-to-the-models-center/19928/2 "2021-09-30T13:34:15Z")

</div>

You might be looking for the “Center 3D View” button

[https://slicer.readthedocs.io/en/latest/user\_guide/user\_interface.html#d-view](https://slicer.readthedocs.io/en/latest/user_guide/user_interface.html#d-view)

---

<div class="post-metadata">

**Author:** ![slicer365](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/slicer365/32/67549_2.png) [@slicer365](https://discourse.slicer.org/u/slicer365)\
**Post date:** [September 30, 2021, 3:26pm UTC](https://discourse.slicer.org/t/how-to-move-the-slicer-view-origin-to-the-models-center/19928/3 "2021-09-30T15:26:36Z")

</div>

Thank you for your answer.

Actually I am trying to find out the whole 3D view’s origin ,not the visible 3D view’s centre.

---

<div class="post-metadata">

**Author:** ![pll\_llq](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pll_llq/32/9408_2.png) [@pll\_llq](https://discourse.slicer.org/u/pll_llq)\
**Post date:** [September 30, 2021, 3:28pm UTC](https://discourse.slicer.org/t/how-to-move-the-slicer-view-origin-to-the-models-center/19928/4 "2021-09-30T15:28:19Z")

</div>

Can you explain your use case a bit more?

---

<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 30, 2021, 4:01pm UTC](https://discourse.slicer.org/t/how-to-move-the-slicer-view-origin-to-the-models-center/19928/5 "2021-09-30T16:01:09Z")

</div>

The 3D view’s origin is always at (0,0,0) in the renderer coordinate system (also known as RAS or World coordinate system).

---

<div class="post-metadata">

**Author:** ![slicer365](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/slicer365/32/67549_2.png) [@slicer365](https://discourse.slicer.org/u/slicer365)\
**Post date:** [September 30, 2021, 10:56pm UTC](https://discourse.slicer.org/t/how-to-move-the-slicer-view-origin-to-the-models-center/19928/6 "2021-09-30T22:56:44Z")

</div>

When I use Transform module to rotate a model ,

I want it rotate along a fixed point ,

I know the point is the 3D View’s origin.

For example , a puncture tube for brain hemorrhage,

after I fixed one end ,I can use Transform module to rotate the other end anyway so that find a better path .

---

<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:** [October 1, 2021, 12:12am UTC](https://discourse.slicer.org/t/how-to-move-the-slicer-view-origin-to-the-models-center/19928/7 "2021-10-01T00:12:27Z")

</div>

See how to rotate a model around an arbitrary point here:

> [@Rotate model around specific point](https://discourse.slicer.org/t/rotate-model-around-specific-point/16846/2):
>
> Maybe this is what you looking for ? [https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Rotate\_a\_node\_around\_a\_specified\_point](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Rotate_a_node_around_a_specified_point) And video made by Prof Lasso [https://1drv.ms/v/s!Arm\_AFxB9yqHucN9pd6edw1a1cgxbg?e=x5SJOd](https://1drv.ms/v/s!Arm_AFxB9yqHucN9pd6edw1a1cgxbg?e=x5SJOd)
