# Calculating angle between 2 planes so they intersect in a specific place

**URL:** <https://discourse.mcneel.com/t/calculating-angle-between-2-planes-so-they-intersect-in-a-specific-place/143438>\
**Category:** Rhino\
**Tags:** math, geometry\
**Created:** [June 3, 2022, 10:03am UTC](https://discourse.mcneel.com/t/calculating-angle-between-2-planes-so-they-intersect-in-a-specific-place/143438 "2022-06-03T10:03:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jllibera](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jllibera/32/537744_2.png) [@jllibera](https://discourse.mcneel.com/u/jllibera)\
**Post date:** [June 3, 2022, 10:03am UTC](https://discourse.mcneel.com/t/calculating-angle-between-2-planes-so-they-intersect-in-a-specific-place/143438/1 "2022-06-03T10:03:16Z")

</div>

Hi there,  
I’m trying to calculate the right angle to rotate two planes (purple lines are the rotating axes) that they will intersect in a specific place (green line).  
Maybe somone can explain me the maths behind this problem.

 ![ViewCapture20220603_115214](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/5/b/9/5b96334bc28b52588061c3b109d6737fc6a34359.jpeg)

Thanks  
Jan

---

<div class="post-metadata">

**Author:** ![cristiano.pasini](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/cristiano.pasini/32/697608_2.png) [@cristiano.pasini](https://discourse.mcneel.com/u/cristiano.pasini)\
**Post date:** [June 3, 2022, 10:22am UTC](https://discourse.mcneel.com/t/calculating-angle-between-2-planes-so-they-intersect-in-a-specific-place/143438/2 "2022-06-03T10:22:59Z")

</div>

I’m seeing that both planes are intersecting on the RED line.

---

<div class="post-metadata">

**Author:** ![jllibera](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jllibera/32/537744_2.png) [@jllibera](https://discourse.mcneel.com/u/jllibera)\
**Post date:** [June 3, 2022, 11:57am UTC](https://discourse.mcneel.com/t/calculating-angle-between-2-planes-so-they-intersect-in-a-specific-place/143438/4 "2022-06-03T11:57:04Z")

</div>

Yes, but I want them to intersect in green line. Current intersection (red line) is random.

---

<div class="post-metadata">

**Author:** ![DanielPiker](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/danielpiker/32/666337_2.png) [@DanielPiker](https://discourse.mcneel.com/u/DanielPiker)\
**Post date:** [June 3, 2022, 12:18pm UTC](https://discourse.mcneel.com/t/calculating-angle-between-2-planes-so-they-intersect-in-a-specific-place/143438/5 "2022-06-03T12:18:49Z")

</div>

`Rotate3d` lets you specify an axis and snap to points projected into the plane of rotation

[https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/1/a/5/1a5f94bbe435a59344f2f81dca268d5f60eea7b2.mp4](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/1/a/5/1a5f94bbe435a59344f2f81dca268d5f60eea7b2.mp4)

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [June 3, 2022, 2:49pm UTC](https://discourse.mcneel.com/t/calculating-angle-between-2-planes-so-they-intersect-in-a-specific-place/143438/6 "2022-06-03T14:49:02Z")

</div>

Hello- making new planes using the `Plane`\>3Point option seems like the right way to find these planes.  
pt 1 = the intersection of the two rotation axes, pt 2 along the axis, pt 3 on the green line. `Orient3Pt` would do similar.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/b/0/9/b09eea6ffe925dbc4f06684b70df3df5c6f6e2a8.jpeg)

[FindIntersectingPlanes.3dm](https://discourse.mcneel.com/uploads/short-url/sXzEEmk21gxbTXpGQKeZ2O3wMu3.3dm) (70.9 KB)

@jllibera i f that is not sorted out,can you please post your objects in a Rhino file?  
-Pascal
