[Grasshopper] How to use Proximity 3D to create lines connecting nearby points

[Grasshopper] How to use Proximity 3D to create lines connecting nearby points Grasshopper component EN

This article explains how to use Proximity 3D to create lines connecting nearby points.

Proximity 3D1
Proximity 3D2

On the Grasshopper, it is represented by either of the two above.


↑Youtube Channel

Create lines connecting nearby points

Using Proximity 3D, you can create lines connecting nearby points.

multiple point data

This time, we will use the multiple point data shown in the image above.

Create lines connecting nearby points

Components used: ①Point ②Proximity 3D

Connect multiple point data to Proximity 3D(P).

This time, we are connecting multiple point data set in Point.

Connect the number of lines connecting nearby points from each point to Proximity 3D(G).

lines

This time, since we are connecting three, lines will be created connecting each point to the three nearest points, as shown in the image above.

zoom

Zooming in reveals that, as shown in the image above, lines are created extending from one point to three nearby points.

change the Proximity 3D(G) value

Let’s change the Proximity 3D(G) value from 3 to 5.

change the Proximity 3D(G) value2
change the Proximity 3D(G) value3

As shown in the two images above, you can see that the number of lines created from each point has changed from 3 to 5.

In this way, Proximity 3D(G) allows you to set the number of lines connecting nearby points from each point.

Specify the radius to define the range within which lines are created

You can also specify the range within which lines are created by defining the radius.

R-

Additional Components: ①List Item ②Sphere

Using List Item, we’ll retrieve a single point and create a sphere at that point’s location to see what happens.

R-2

In Proximity 3D(R-), a specified radius is treated as the minimum value, and no lines are created within that radius.

R+3
R+4

In Proximity 3D(R+), lines will only be created within a specified radius, with that radius serving as the maximum value.

Output data

Let’s take a look at the data output from Proximity 3D.

line data

Proximity 3D(L) outputs the created line data.

index numbers of the points

Proximity 3D(T) outputs the index numbers of the points connecting each point.

This time, let’s try retrieving the 16th point from the List Item.

Looking at the {0;16} branch of Proximity 3D(T), three numerical values are displayed.

List Item(I)

Let’s enter the same three numbers into List Item(I).

16th point

The image above shows the 16th point acquired first.

endpoint of the line extending from the first point obtained

The image above shows points obtained from numerical data output by Proximity 3D(T).

Then, we can see that it is the endpoint of the line extending from the first point obtained.

Thus, Proximity 3D(T) outputs the index numbers of the points connecting each point.

List of Grasshopper articles using Proximity 3D component↓

Comment

Translate »