Creating an automatic path threw a 3D faces DEM respecting a given slope

Creating an automatic path threw a 3D faces DEM respecting a given slope

Anonymous
Not applicable
1,035 Views
0 Replies
Message 1 of 1

Creating an automatic path threw a 3D faces DEM respecting a given slope

Anonymous
Not applicable

Hello !

 

I'm looking for a way to automatically create a polyline representing the shortest path from one 3D face to another on a DEM. Actually this path has to respect some given constraints :

  • A starting 3D face ( Selected directly on the screen)
  • An ending 3D face (Also selected directly on the screen)
  • A maximal slope which can't be exceed

I already manage to select all the 3D faces, the starting and ending faces. I'm also able to calculatet for each vertex of a given 3D face its slope and its distance to the endpoint. I can also find the adjacent 3D faces of a given vertex.

 

I've already made some research and I found the SPath program which can did it but it's a LISP one and I have to work on VBA. Furthermore, it only work with polyline network and not with 3Dfaces.

 

Given those sub I don't know how I can run them one after the other to be able to find the shortest way threw a DEM. I was thinking of a sub which has to select the closest vertex to the endpoint respecting the slope for each adjacent 3D face of one point, but I don't know how to write that if I want it to run automatically until it reach the endpoint.

 

Thanks in advance for your support !

0 Likes
1,036 Views
0 Replies
Replies (0)