[Grasshopper]How to use the Rectangle to create rectangular line data

[Grasshopper]How to use the Rectangle to create rectangular line data Grasshopper component EN

This article explains how to use the Rectangle to create rectangular line data.

Rectangle1
Rectangle2

On the Grasshopper, it is displayed as either an icon or text.


↑Youtube Channel

Create a rectangle

Create a rectangle

Create a rectangle.

The Rectangle(R) outputs the line data of the rectangle.

The Rectangle(L) outputs the total length of the created rectangle line.

Enter the position information(point or plane) where you want to create the rectangle in the Rectangle(P).

In this case, 100,100,0 is used to set the starting point at a position of 100 in the x-direction and 100 in the y-direction.

Enter the lengths of the rectangle in each direction in the Rectangle(X and Y).

In this case, both are set to 200.

The Rectangle(R) will be explained later, but does not need to be entered when creating a rectangle.

In this case, we will set it to 0.

A 200 x 200 rectangle was created

A 200 x 200 rectangle was then created, as shown above.

Round the corners

Round the corners

Now round the corners of the rectangle.

The radius can be specified by entering a numerical value in the Rectangle(R) to make it round.

In this case, we set the value to 50.

the corners are rounded

As you can see, the corners are now nicely rounded.

List of Grasshopper articles using the Rectangle component↓

Comment

Translate »