I have created a mesh (.obj) and run several A* searches on it which yields to me a .txt file where each line is:
- x,y,z
- x1,y1,z1 ...
I would like to find a way to ideally import these as a single object, showcasing the route my A* search took along the mesh, but haven't found anything that seems to support that such a request is even possible. Am I missing something here?
EDIT: Here are some screenshots to highlight the data I am working with to hopefully make the question clearer.
- Image1: This is the mesh my process makes (the holes are expected), where the obj consists of the vertices and faces which compose it.
- Image2: After running A*search, this is the type of output I have, where the path is just a list of vertices visited. I am able to index them to the structure that holds their coordinates for the proposed line I want.
Shortest path between start and end nodes on mesh found. ['start', 50502, 50504, 49191, 49193, 47885, 46610, 46612, 45361, 44131, 42932, 41745, 41747, 49583, 39442, 38322, 37213, 36176, 35120, 34086, 33055, 32041, 31045, 30068, 29098, 28140, 27195, 26270, 25351, 24602, 23779, 22490, 21352, 20240, 19154, 18098, 17064, 16059, 15082, 14134, 13214, 12536, 12576, 13495, 14441, 15417, 16421, 17454, 18511, 19592, 20704, 21844, 23009, 24176, 24923, 25846, 26775, 27711, 28688, 29658, 30638, 31625, 32633, 33659, 34694, 35744, 36810, 37900, 39020, 40152, 41305, 'end']
- Image3: This is what I am hoping to accomplish. A line drawn on the mesh from each point to point.












