# Calculating angle of curvature relative to the vertical?

**URL:** <https://discourse.mcneel.com/t/calculating-angle-of-curvature-relative-to-the-vertical/142152>\
**Category:** Grasshopper\
**Tags:** windows, vector, curve, rhino6, lines\
**Created:** [May 5, 2022, 11:30am UTC](https://discourse.mcneel.com/t/calculating-angle-of-curvature-relative-to-the-vertical/142152 "2022-05-05T11:30:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashcoaster3](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ashcoaster3/32/362778_2.png) [@ashcoaster3](https://discourse.mcneel.com/u/ashcoaster3)\
**Post date:** [May 5, 2022, 11:30am UTC](https://discourse.mcneel.com/t/calculating-angle-of-curvature-relative-to-the-vertical/142152/1 "2022-05-05T11:30:54Z")

</div>

This needed a new thread seeing as I need something slightly different, I currently have a curve graph that measures the curvature in 3D. I would like to know the angle of curvature relative to the vertical at several points along the model. How could this be done?

This is so that I can deconstruct the horizontal and vertical forces acting on a (theoretical) train traversing a track, I am currently only interested in the vertical forces acting on the track and train.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/1/a/9/1a9df755222de59d6ea1d3ce9133e7293c6cc9ff.jpeg)

Also here is the location of the points in question

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

[rollercoastermodel.gh](https://discourse.mcneel.com/uploads/short-url/3OSHKl9gGyCjF0xAWvumMOnecCq.gh) (58.3 KB)

---

<div class="post-metadata">

**Author:** ![maje90](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/maje90/32/771922_2.png) [@maje90](https://discourse.mcneel.com/u/maje90)\
**Post date:** [May 5, 2022, 12:59pm UTC](https://discourse.mcneel.com/t/calculating-angle-of-curvature-relative-to-the-vertical/142152/2 "2022-05-05T12:59:40Z")

</div>

![2022-05-05 14_57_34-Window](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/e/f/d/efde26177fa0bbc9e80d9635de5da01581277787.png)  
[rollercoastermodel.gh](https://discourse.mcneel.com/uploads/short-url/tNJJHiprbcevz9iaLbEwUEjLFmD.gh) (49.3 KB)
