[Grasshopper] How to use Perp Frames to create planes on a curve

[Grasshopper] How to use Perp Frames to create planes on a curve Grasshopper component EN

This article explains how to use Perp Frames to create planes on a curve.

Perp Frames1
Perp Frames2

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


↑Youtube Channel

Creating planes at a position that divides the curve equally

Using Perp Frames, you can create planes at a position where the curve is equally divided by a specified number on the curve.

curve

In this article, we will use this curve for this explanation.

Basics of Perp Frames

Basics of Perp Frames

Components used: (1) Curve (2) Boolean Toggle (3) Perp Frames

This section explains the basics of Perp Frames.

Connect the curve to be used to the Perp Frames(C).

In this case, the curve set in the Curve are connected.

Enter a numerical value for the number of planes you want to create on the curve in the Perp Frames(N).

The Perp Frames(A) is connected to the Boolean Toggle, which acts like a switch to determine whether the planes are aligned or not.

The details will be explained later, but if no input is made to the Perp Frames(A), True is the default value.

.

Adjusting Planes

planes appear

After the input is complete, planes appear on the curve.

Although 10 is entered as the value for the Perp Frames(N), 11 construction planes are created.

This means that there are 11 work planes, which means that there are 10 equally spaced planes.

zoom

If you zoom in, you can clearly see that the planes are created like this.

30

Let’s set the value of the Perp Frames(N) to 30.

The number of planes has increased

The number of planes has increased as shown here.

Decide whether to align the orientation of the planes

Decide whether to align the orientation of the planes

Connect the Boolean Toggle to the Perp Frames(A) to determine if the planes are aligned.

The “True” state is the state when it is not connected, so let’s look at the “True” state first.

True

In the True state, the planes are oriented as shown here.

False

Let’s try to set it to the False state.

False

Then, the planes are no longer aligned.

see the difference between True and False

Additional components: (1) Rectangle ( 2 ) Loft

Let’s make it easier to see the difference between True and False.

Create a rectangle with Rectangle and connect multiple rectangles created with Loft.

the rectangles are connected neatly

In the True state, the rectangles are connected neatly as shown here.

The rectangles are connected with a misalignment

On the other hand, in the False state. The rectangles are connected with a misalignment.

ズームして見る

If you zoom in, you can see that the planes have shifted, resulting in this complicated shape.

Location information for each work plane is extracted from the Perp Frames(t).

t端子からは、それぞれの作業平面の位置情報が抽出される
Click on image to enlarge

Additional components: (1) Shatter ( 2 ) Length

From the Perp Frames(t), position information is extracted for each plane.

By using Shatter and Length, the distance between planes can be extracted like this.

List of Grasshopper articles using Perp Frames component↓

Comment

Translate »