[Grasshopper] How to Use Unit X to Obtain the X-Direction Vector

[Grasshopper] How to Use Unit X to Obtain the X-Direction Vector Grasshopper component EN

This article explains how to use Unit X to Obtain the X-Direction Vector.

Unit X1
Unit X2

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


↑Youtube Channel

Obtaining a vector in the x-direction

Unit X can be used to obtain a vector in the x-direction.

 let's move the sphere object

First, let’s move the sphere object above in the X direction using Move and Unit X.

Components used

Components used: (1) Brep (2) Unit X ( 3 ) Move

Connect the Brep, where the sphere is set, to the Move(G).

Then, input the distance to be moved to the Unit X.

In this case, 50 is entered.

Then, connect the Unit X to the Move(T).

moved in the X direction

The sphere now moves 50 of the specified value in the X direction.

Components used2

Components used: (1) YZ Plane ( 2 ) Rectangle (3) Unit X (4) Extrude

Now, let’s create a rectangle on the plane created by YZ Plane and push it out in the X direction.

Connect YZ Plane to Rectangle.

Enter the lengths of the sides into the Rectangle(X and Y).

In this case, we enter 20 for both.

Enter a numerical value for the distance to be extruded in Unit X.

In this case, 100 is entered.

Finally, connect the Rectangle to the Extrude(B) and Unit X to the Extrude(D).

extruded in the X direction

A rectangle is now extruded in the X direction.

Thus, by using Unit X, we can obtain a vector in the x-direction.

List of Grasshopper articles using Unit X component↓

Comment

Translate »