# How to create a plane which is parallel to other specific plane in Slicer 3D

**URL:** https://discourse.slicer.org/t/how-to-create-a-plane-which-is-parallel-to-other-specific-plane-in-slicer-3d/30152
**Category:** Support
**Created:** [June 20, 2023, 3:16pm UTC](https://discourse.slicer.org/t/how-to-create-a-plane-which-is-parallel-to-other-specific-plane-in-slicer-3d/30152 "2023-06-20T15:16:27Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![viet\_duc\_Vu](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/viet_duc_vu/32/66488_2.png) [@viet\_duc\_Vu](https://discourse.slicer.org/u/viet_duc_Vu)
#### Post date: [June 20, 2023, 3:16pm UTC](https://discourse.slicer.org/t/how-to-create-a-plane-which-is-parallel-to-other-specific-plane-in-slicer-3d/30152/1 "2023-06-20T15:16:28Z")

</div>

I am wanting to create a plane which is parallel to other plane on the model. Do you know any function to do that in slicer3D  
Thanks

---

<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: [June 20, 2023, 3:17pm UTC](https://discourse.slicer.org/t/how-to-create-a-plane-which-is-parallel-to-other-specific-plane-in-slicer-3d/30152/2 "2023-06-20T15:17:43Z")

</div>

In recent Slicer versions, if you place a plane on a model in the 3D view, the plane will be parallel to the surface at the chosen position.

---

<div class="post-metadata">

### Author: ![viet\_duc\_Vu](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/viet_duc_vu/32/66488_2.png) [@viet\_duc\_Vu](https://discourse.slicer.org/u/viet_duc_Vu)
#### Post date: [July 1, 2023, 1:09pm UTC](https://discourse.slicer.org/t/how-to-create-a-plane-which-is-parallel-to-other-specific-plane-in-slicer-3d/30152/3 "2023-07-01T13:09:17Z")

</div>

Hi Iassoan. Thank you for your reply. What I mean is that in case I had a pointed plane on the model ( For example, Frankfort Horizontal Plane) and I am wanting to create a other plane which goes 2 specific points and be parallel to the previous pointed plane. How can do it on Slicer 3D  
Thank you

---

<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: [July 2, 2023, 11:59am UTC](https://discourse.slicer.org/t/how-to-create-a-plane-which-is-parallel-to-other-specific-plane-in-slicer-3d/30152/4 "2023-07-02T11:59:39Z")

</div>

In this case you can write a few lines of Python script to compute the new plane’s position and normal.

Note that it is mathematically impossible to make a plane that is already constrained by two points to be parallel with another plane (unless the line connecting the two points are already parallel with the other plane).

---

<div class="post-metadata">

### Author: ![viet\_duc\_Vu](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/viet_duc_vu/32/66488_2.png) [@viet\_duc\_Vu](https://discourse.slicer.org/u/viet_duc_Vu)
#### Post date: [July 2, 2023, 12:04pm UTC](https://discourse.slicer.org/t/how-to-create-a-plane-which-is-parallel-to-other-specific-plane-in-slicer-3d/30152/5 "2023-07-02T12:04:19Z")

</div>

Thank you for your reply.  
I made a mistake in the previous comment: I need to create a plane which comes through a point and parallel to another plane.  
So could you please show me the script for that cause I am not familiar with Python  
Thank you

---

<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: [July 2, 2023, 12:44pm UTC](https://discourse.slicer.org/t/how-to-create-a-plane-which-is-parallel-to-other-specific-plane-in-slicer-3d/30152/6 "2023-07-02T12:44:33Z")

</div>

In this case you can get the position of the point using `GetNthControlPointPositionWorld()` method and set as the plane position by calling `SetCenter()` method. See many examples in the [script repository](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#markups).

---

<div class="post-metadata">

### Author: ![viet\_duc\_Vu](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/viet_duc_vu/32/66488_2.png) [@viet\_duc\_Vu](https://discourse.slicer.org/u/viet_duc_Vu)
#### Post date: [July 2, 2023, 12:48pm UTC](https://discourse.slicer.org/t/how-to-create-a-plane-which-is-parallel-to-other-specific-plane-in-slicer-3d/30152/7 "2023-07-02T12:48:05Z")

</div>

> [@lassoan](#):
>
> In this case you can write a few lines of Python script to compute the new plane’s position and normal.

Could you please take an example ?. I would highly appreciate.

---

<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: [July 2, 2023, 3:24pm UTC](https://discourse.slicer.org/t/how-to-create-a-plane-which-is-parallel-to-other-specific-plane-in-slicer-3d/30152/8 "2023-07-02T15:24:27Z")

</div>

If you don’t find the examples in the script repository sufficient, then probably you need help with all the subsequent analysis steps. Could you describe your overall clinical goal and the complete analysis that you would like to perform?

---

<div class="post-metadata">

### Author: ![viet\_duc\_Vu](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/viet_duc_vu/32/66488_2.png) [@viet\_duc\_Vu](https://discourse.slicer.org/u/viet_duc_Vu)
#### Post date: [July 3, 2023, 1:52pm UTC](https://discourse.slicer.org/t/how-to-create-a-plane-which-is-parallel-to-other-specific-plane-in-slicer-3d/30152/9 "2023-07-03T13:52:43Z")

</div>

My clinical goal is to define and form a plane that passes through the point Cor and be parallel to the existed plane formed by the 3 points as shown in the figure.  
Through building this plane I also need to find the intersection point of this plane with ramus model as shown in the picture.

 ![Ảnh](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/c/0cf312481f203b590195f34d66b32e4f8063f6f0.jpeg)
