# MidPoint Polycurve

**URL:** <https://forum.dynamobim.com/t/midpoint-polycurve/47052>\
**Category:** Geometry\
**Tags:** dynamo\
**Created:** [February 20, 2020, 8:21am UTC](https://forum.dynamobim.com/t/midpoint-polycurve/47052 "2020-02-20T08:21:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![enrique.sg](https://avatars.discourse-cdn.com/v4/letter/e/a3d4f5/32.png) [@enrique.sg](https://forum.dynamobim.com/u/enrique.sg)\
**Post date:** [February 20, 2020, 8:21am UTC](https://forum.dynamobim.com/t/midpoint-polycurve/47052/1 "2020-02-20T08:21:50Z")

</div>

Can somebody let me know how to get the midpoint of the polycurve with many vertex? The node Point segment length takes por each segment of the polycurve, but the ouput should be only the mid point of the whole line

---

<div class="post-metadata">

**Author:** ![dineshsubramani](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dineshsubramani/32/159417_2.png) [@dineshsubramani](https://forum.dynamobim.com/u/dineshsubramani)\
**Post date:** [February 20, 2020, 8:39am UTC](https://forum.dynamobim.com/t/midpoint-polycurve/47052/2 "2020-02-20T08:39:17Z")

</div>

try this

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/7/67a643a40ba09486558c88083df718e33f937eee.png)

---

<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:** [February 20, 2020, 12:58pm UTC](https://forum.dynamobim.com/t/midpoint-polycurve/47052/4 "2020-02-20T12:58:40Z")

</div>

Careful with this. Parameterization doesn’t work that way for non-uniform curves - add a spline into the polycurve and you’ll see what I mean. I’ll try and post an animation illustrating this point later.

---

<div class="post-metadata">

**Author:** ![jostein\_olsen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jostein_olsen/32/8570_2.png) [@jostein\_olsen](https://forum.dynamobim.com/u/jostein_olsen)\
**Post date:** [February 20, 2020, 1:09pm UTC](https://forum.dynamobim.com/t/midpoint-polycurve/47052/5 "2020-02-20T13:09:25Z")

</div>

Yep, I second Jacob. Have a look here for a good overview on curve parameterization: [https://ieatbugsforbreakfast.wordpress.com/2013/09/27/curve-parameter-space/](https://ieatbugsforbreakfast.wordpress.com/2013/09/27/curve-parameter-space/)  
Basically, never assume that using equally spaced parameters (Ie 0, 0.2 ,0.4,0.6 etc) means that they are equidistant. Like pic below. (Taken from another, unamed software! 😉 )

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/f/6f1826910782758a085b80e0f9794f3e77e2341a.png)
