I used the proximity 3d and proximity 2d but haven’t been able to rule out points that are too close. And have been looking for options on c# or python but I am still fairly new to scripting so its taking me a bit longer than excepted.
If you happen to know of a good example I can follow or a quick script that can get me started I would really appreciate it.
They are, but this script works like a charm. only a couple of instances where the rules could be revised to group the closest point of the two similar to the snap below but I feel I can find a way to get that.
the average points are meant to give me a center line of the overall network.
I got the revit model as a mass and with rhinoinside managed to get the vertices. with the center lines I will bring them into etabs or sap for analysis.
If what you actually want is the skeleton of that shape, just grouping points by proximity isn’t the best approach - look instead for posts about the medial axis. @laurent_delrieu has posted various tools and scripts for this.