# Median Axis of Topographical Mesh?

**URL:** <https://discourse.mcneel.com/t/median-axis-of-topographical-mesh/81984>\
**Category:** Grasshopper\
**Created:** [April 16, 2019, 4:52pm UTC](https://discourse.mcneel.com/t/median-axis-of-topographical-mesh/81984 "2019-04-16T16:52:03Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![ShynnSup](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/shynnsup/32/767220_2.png) [@ShynnSup](https://discourse.mcneel.com/u/ShynnSup)\
**Post date:** [April 17, 2019, 9:19pm UTC](https://discourse.mcneel.com/t/median-axis-of-topographical-mesh/81984/5 "2019-04-17T21:19:01Z")

</div>

Thanks, will check this out!

I also developed my idea further, I think it worked…

I create a Delaunay Mesh from the points, and culled the faces based on area and edge length. Then I got the mesh edges and rebuilded the curve. Then applied standard medial axis.

 ![mesh](https://global.discourse-cdn.com/mcneel/original/3X/c/4/c4eed8cfea4ff014df51458e001ced56018801f8.png)

The only draw back was the face culling of the original mesh… It requires some slider tweaking.  
I also kinda cheated because I used a Rhino drawn curve to grab my points with point in region.

I think the **Proximity** component can be used better for this, but not sure how to get the edge afterwards as it creates only lines…

 ![02](https://global.discourse-cdn.com/mcneel/original/3X/e/8/e8e0c183cdd2cc11768dc0b77dc78799527b2a0b.png)

Def here:[TopoMesh\_v03.gh](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/1/0/103ffa33e41aecb252637a67a377d206ec03d6f9.gh) (2.7 MB)

 ![result](https://global.discourse-cdn.com/mcneel/original/3X/d/b/dbcdb3ffabd0a8b1ab7ed5658409364d3dcc4084.png)

---

_[View the full topic](https://discourse.mcneel.com/t/median-axis-of-topographical-mesh/81984)._
