[Grasshopper] How to Use Rectangle for Setting and Creating Rectangles

[Grasshopper] How to Use Rectangle for Setting and Creating Rectangles Grasshopper component EN

This guide explains how to use Rectangle for setting and creating rectangles.

Rectangle1
Rectangle2

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


↑Youtube Channel

Set rectangle lines

Using Rectangle allows you to store rectangle lines.

Set rectangle lines

Components used: ① Rectangle ② Rectangle

Please note that in addition to this Rectangle, there is another Rectangle component with the same name.

The other Rectangle creates rectangle line data.

With that in mind, let’s set the created rectangle in this Rectangle.

Enter 100 into the other Rectangle(X and Y).

Then, a line data point with a 100-unit side will be created at the origin.

Next, connect the other Rectangle(R) to this Rectangle.

the rectangle line data was set

Then, the rectangle line data was set in the Rectangle.

In this way, you can set the line data of a rectangle in Rectangle.

surface

Components used: ① Rectangle ② Surface ③ Rectangle

For reference, you can also set the surface’s rectangle in Rectangle.

Surface

We’ll try setting this surface’s rectangle.

Connect the other Rectangle(R) to the Surface.

Then, the rectangle of the line data is converted to a surface.

Connect the Surface to this Rectangle

Connect the Surface to this Rectangle.

Then, the surface was set; it is set as line data.

For open line data

For open line data

Open line data can also be connected to Rectangle.

In this case, a rectangle line data is created from the open line data.

This time, we will use the line data created in Rhino as shown in the image above.

Components used

Components used: ①Curve ②Rectangle

Connect the Curve containing the line and curve data created on Rhino to Rectangle.

a rectangle was created from the line and curve opened in this manner.

Then, a rectangle was created from the line and curve opened in this manner.

Other data cannot be set.

Only rectangles and open line data can be set in Rectangle.

Other data

Components used: ①Circle ②Rectangle

Circle

We created a circle in Circle and connected it to Rectangle, but it resulted in an error.

Setting and creating rectangles directly in Rectangle

You can also directly set or create rectangles within a Rectangle.

Set one Rectangle

For a single rectangle, right-click Rectangle and select “Set one Rectangle”.

the screen will switch to Rhinoceros

Then, the screen will switch to Rhinoceros.

create a rectangle on Rhino

Then, create a rectangle on Rhino.

a rectangle was created and set in Rectangle

Then, a rectangle was created and set in Rectangle.

This is the situation on Rhino

This is the situation on Rhino.

Set Multiple Rectangles

To set multiple rectangles directly, right-click Rectangle and select “Set Multiple Rectangles”.

create multiple rectangles

After that, create multiple rectangles in Rhino.

multiple rectangles were created

Then, multiple rectangles were created and set directly in Rectangle.

ライノセラス上の様子

This is the situation on Rhino.

Manage Rectangle collection

To manage and edit set rectangles, right-click Rectangle and select “Manage Rectangle Collection”.

Rectangle settings screen

Then, the Rectangle settings screen will appear.

green icon

Click the green icon in the upper left to add a rectangle.

create a rectangle on Rhino

After clicking, create a rectangle on Rhino.

a rectangle was added

Then, a rectangle was added like this.

red icon

With the rectangle data selected, click the red icon in the upper-left corner to delete the rectangle.

deleted

In this way, the rectangle has been deleted.

hierarchy

Click the icon in the top-left corner to create a hierarchy.

the hierarchy has been created

In this way, the hierarchy has been created.

edit its side lengths and coordinates

Select a rectangle to individually edit its side lengths and coordinates in the right-hand window.

Click the arrow

Click the arrow to display various dropdown menus and edit each item.

List of Grasshopper articles using Rectangle component↓

Comment

Translate »