I have 400 or so points in my 3d coordinate plane and I am trying to analyze their density. I was wondering if there is a way to look at each point and its relationship to others, then, depending on their relationship, create a sphere with a certain radius with the respective point at its center. The parameters for how large the sphere should be could be as follows: If another point is 0-3 units away in any direction the resulting sphere should have a radius of 3, if another point is 3-6 units away it should have a radius of 2, if another point is 6-9 units away it should have a radius of 1, etc.

I know I should be using if statements but I’m new to rhino and python so the syntax is really getting me.

@pascal
Works great, you’re really killing it. Do you know of any good youtubers or books I should read to get my rhino+python game up to par?
Thanks a mill