# Angle between planes

**URL:** <https://discourse.slicer.org/t/angle-between-planes/24559>\
**Category:** Support\
**Created:** [July 29, 2022, 10:48am UTC](https://discourse.slicer.org/t/angle-between-planes/24559 "2022-07-29T10:48:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaoloZaffino](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/paolozaffino/32/81052_2.png) [@PaoloZaffino](https://discourse.slicer.org/u/PaoloZaffino)\
**Post date:** [July 29, 2022, 10:48am UTC](https://discourse.slicer.org/t/angle-between-planes/24559/1 "2022-07-29T10:48:59Z")

</div>

Hi all,  
I would like to quantify an angle between 2 planes.  
Q3DC allows drawing lines, not planes.  
Do you know how to get this parameter?

Thanks a lot,  
Paolo

---

<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 29, 2022, 1:39pm UTC](https://discourse.slicer.org/t/angle-between-planes/24559/2 "2022-07-29T13:39:38Z")

</div>

You can use [this code snippet](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#measure-angle-between-two-markup-planes) to get angle between two planes. You can put it into a scripted module if you want to avoid copy-pasting code, but often what happens is that you add markups to your scene (mark points, lines, planes, etc.) and then run a script that computes all metrics (angles, distances, etc.) that you need by a single click.

---

<div class="post-metadata">

**Author:** ![PaoloZaffino](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/paolozaffino/32/81052_2.png) [@PaoloZaffino](https://discourse.slicer.org/u/PaoloZaffino)\
**Post date:** [August 2, 2022, 6:15pm UTC](https://discourse.slicer.org/t/angle-between-planes/24559/3 "2022-08-02T18:15:33Z")

</div>

Thanks @lassoan .  
So the first plane in the list is the “reference”?  
I would avoid computing the complementary angle (or at least I would know if I’m doing it).

Paolo
