Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5778

Variable sized spheres over points depending on how close it is to other points

$
0
0

@odbc wrote:

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.

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 5778

Trending Articles