# Pipe fittings angle

**URL:** <https://forum.dynamobim.com/t/pipe-fittings-angle/50791>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [May 18, 2020, 5:53pm UTC](https://forum.dynamobim.com/t/pipe-fittings-angle/50791 "2020-05-18T17:53:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![knnk](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@knnk](https://forum.dynamobim.com/u/knnk)\
**Post date:** [May 18, 2020, 5:53pm UTC](https://forum.dynamobim.com/t/pipe-fittings-angle/50791/1 "2020-05-18T17:53:13Z")

</div>

I need to know the angle of the pipe fittings with respect to the pipe  
in this case 0º 90º 180º 270º  
what am I doing wrong?

 ![duda](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/9/6927b42d707b72245a059b68b022dc44b243034d.jpeg)

---

<div class="post-metadata">

**Author:** ![cgartland](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/cgartland/32/45378_2.png) [@cgartland](https://forum.dynamobim.com/u/cgartland)\
**Post date:** [May 18, 2020, 6:04pm UTC](https://forum.dynamobim.com/t/pipe-fittings-angle/50791/2 "2020-05-18T18:04:42Z")

</div>

I believe the angle of pipe fittings (or any MEP fitting) is stored in radians, so you should convert all of your degrees to radians.

---

<div class="post-metadata">

**Author:** ![knnk](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@knnk](https://forum.dynamobim.com/u/knnk)\
**Post date:** [May 18, 2020, 6:20pm UTC](https://forum.dynamobim.com/t/pipe-fittings-angle/50791/3 "2020-05-18T18:20:23Z")

</div>

I get it in degrees but it repeats 90º instead of -90º or 270º

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [May 20, 2020, 11:41am UTC](https://forum.dynamobim.com/t/pipe-fittings-angle/50791/4 "2020-05-20T11:41:58Z")

</div>

Vector.AngleAboutAxis will report the values from 0-359.9 (360 reports as 0)

Vector.AngleWithVector gives you the values from 0-180 (181 reports as 179).

---

<div class="post-metadata">

**Author:** ![knnk](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@knnk](https://forum.dynamobim.com/u/knnk)\
**Post date:** [May 22, 2020, 10:50am UTC](https://forum.dynamobim.com/t/pipe-fittings-angle/50791/5 "2020-05-22T10:50:22Z")

</div>

Thanks JacobSmall, it works better but not entirely. Depending on the direction of the pipe and position it works or not. I guess I’m doing something wrong.

 ![angle](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/2/62c680fe12bf9937fedd97be818a56af2636f03e.jpeg)

I need help … Any suggestion  
Also provides connection direction from MEPOver nodes but nothing

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [May 22, 2020, 11:06am UTC](https://forum.dynamobim.com/t/pipe-fittings-angle/50791/6 "2020-05-22T11:06:17Z")

</div>

try changing the vector you’re using as the ‘Axis’ to be based off the normal of the plane best for through the start and endpoint if the line of the main pipe and the min and max points of the connector’s bounding box.

---

<div class="post-metadata">

**Author:** ![knnk](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@knnk](https://forum.dynamobim.com/u/knnk)\
**Post date:** [May 22, 2020, 4:38pm UTC](https://forum.dynamobim.com/t/pipe-fittings-angle/50791/7 "2020-05-22T16:38:43Z")

</div>

Thanks JacobSmall for your interest. I’ve tried almost everything, vectors and normals, nodes, … I combined them anyway (I think), but it doesn’t work for me. Could you be more explicit? Sometimes a picture is worth a thousand words. I need to know the angle of the pipe fittings with respect to the pipe from the starting point of the pipe.  
Thank you very much in advance.

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [May 22, 2020, 11:02pm UTC](https://forum.dynamobim.com/t/pipe-fittings-angle/50791/8 "2020-05-22T23:02:19Z")

</div>

Not sure how your family is built so that there is only one pipe connecting all of these - you may have to attach a model if this doesn’t help.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/0/007357131f1588a28d89bd7c46ec38834c6b7f29.png)

---

<div class="post-metadata">

**Author:** ![knnk](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@knnk](https://forum.dynamobim.com/u/knnk)\
**Post date:** [May 26, 2020, 2:57pm UTC](https://forum.dynamobim.com/t/pipe-fittings-angle/50791/9 "2020-05-26T14:57:33Z")

</div>

Thank you very much for your help and inspire me JacobSmall. The problem in the end was of my families that with “Boundingbox” does not work if I had to do it this way but if it is not for you I would not find where the problem is or how to solve it. Thank you so much

 ![Captura](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/1/715406a00dd600f2664dfa5064e8c892db8082f6.jpeg)

As I get older I have another problem that I already saw that there are many posts but in this case it does not work. I need to split the pipe but if I delete and create another one like in these posts “[Split Geometry At a given length](https://forum.dynamobim.com/t/split-geometry-at-a-given-length/12691)” I lose the connection of the “spudperpendicular”.  
Can’t cut the existing pipe? or join the spudperpendicular later? With the MEPOver py join the elbows but not the spudperpendicular.  
Thank you very very much
