Mesh vertices control

Hello everyone,

I am looking for a way to randomly change the position of the mesh vertices (in z axis), but keep the vertices along the perimeter unchanged (yellow area in attached image).
I tried using various graph mappers but they work in a linear shape while I am looking for something radial in order to keep the perimeter to zero.

Alexandros

1.gh (12.0 KB)


1 _re.gh (12.9 KB)

2 Likes

missing


random_mesh_2020Sep4a.gh (14.9 KB)

P.S. I get a slightly different result if I add Sort Points before Delaunay Mesh:

random_mesh_2020Sep4a2

1 Like

Hello @HS_Kim

Thank you, this is exactly what I was looking for.

Sorry, I’m late to the party here, but there are a couple of mesh components in Kangaroo 2 that will get the naked vertices and then their local neighbours inside. Unfortunately it doesn’t output the indices, so you do still have to do a closest point calculation and dispatch, but it should run pretty quick:

1_edit.gh (11.3 KB)

These K2 mesh utility components are bundled with the latest gh release, so no extra plugins all being well.

Best wishes,

John.

1 Like

Thank you for the input @johnharding
Good to know about this native components.

1 Like

You can use GHopperGIS to do stuff like this, there is a terrain generator that does this but fancier if you like. Disclaimer I am the developer.