[Grasshopper] How to use Linear Array to arrange models at equal intervals

[Grasshopper] How to use Linear Array to arrange models at equal intervals Grasshopper component EN

This article explains how to use Linear Array to arrange models at equal intervals.

Linear Array1
Linear Array2

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


↑Youtube Channel

Copying an array of objects equally spaced in a single direction

Linear Array allows you to copy an array of objects in a single direction at equal intervals.

model

In this case, we will create a sphere with Sphere, and then use a Linear Array to copy the sphere into a single direction of equally spaced arrays.

A sphere like this is created

A sphere like this is created.

Components used

Components used: (1) Sphere (2) Unit X (3) Linear Array

Connect the objects to be copied in a single direction at equal intervals to the Linear Array(G).

This time, connect Sphere.

Connect the vector direction to be moved and distance data to the Linear Array(D).

This time, we connect the value 15 to Unit X and connect the Unit X to the Linear Array(D).

Now, we can copy an array of 15 values in the X direction at equal intervals.

Finally, enter the number of items into the Linear Array(N).

This time, we entered 10, so the number of spheres after execution will be 10.

the array was copied in a single direction at equal intervals

Then, as you can see, the array was copied in a single direction at equal intervals.

As specified, 10 spheres are created with an interval of 15 in the X direction.

Additional components

Additional components: (1) Geometry (2) Transform

Let’s look at the data output from the Linear Array.

The Linear Array(G) outputs an array of objects copied at equal intervals.

The Linear Array(X) outputs Transform data, which contains information on how the object was deformed or moved.

List of Grasshopper articles using Linear Array component↓

Comment

Translate »