I have points from the first floor and i want to compare (X and Y) them with the four points (X and Y) from each surface below those points. Eventually I want only one point from the surface of the ground floor. this point is directly under the point of the first floor.
the ground points are flattened because data structure is weird and not matching AT ALL
if you want to avoid flattening those (which is a very logic request) then I guess you’ll need to post the earlier part of that definition, where those data is generated
As I said the last time you posted this project, you’re not providing enough context. As @inno says, the data structure is weird, so it’s probably much easier to pull this data out earlier in the script. Likewise, if we knew what the next step is, we might be able to help you get there in a better way. Why do you need these vertices? What will you do with them?
My hunch is that these simple shapes are being generated in an over-complicated way, and there has been some Simplification or Flattening applied, thus making a mess of the trees. But because you’re only showing us the effect, we can’t diagnose the cause.
Can you please share the complete file? I think you’d get much better advice!
I guess I can make a demo. Thanks for the advise! But unfortunaly I can’t share the script, because it is classified. I will take a look what I can share