I am trying to organize wall data into lists of lists based on x and y coordinates and I am struggling to even logically think about a way to perform the following operation. Any help would be appreciated.
Essentially, the end product I want is an organized list of wall data, that, if the start and end points of a wall are within some given tolerance (say +/- 0.5 feet), they will say they are close enough and spit out a lists of lists that is organized based on elevation.
An example probably more clearly illustrates my goals:
In the picture shown above, list 3 and list 4 are seperated because the program has recoginized that the end location of the wall x and y coordinates is greater than the given tolerance.
Thoughts on how to solve this are as follows:
Write some python code that sees how many unique sets of unique x and y coordinates there are, this sets how many main lists I have (.
Based on these unique set of x and y coordinates, find all walls with that x and y coordinates. This creates an unorganized sublist with levels that could be jumbled
Sort sublists based on elevation data within sublist.
I am going to start digging into this with some python code, but wanted to get some feelers out there if this is the way that others would go about solving this.