[Grasshopper] How to use Divide Curve to create division points on curves and lines

[Grasshopper] How to use Divide Curve to create division points on curves and lines Grasshopper component EN

This article explains how to use Divide Curve to create division points on curves and lines.

Divide Curve1
Divide Curve2

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


↑Youtube Channel

Divide Curve Basics

Divide Curve Basics

The basis of Divide Curve is to input the curve or line data in the Divide Curve(C) and the numerical value to be divided in the Divide Curve(N).

In this case, a curve data is stored in Curve.

Point are output from Divide Curve(P)

Point are output from Divide Curve(P)

Additional component:①Point

The Divide Curve(P) outputs the points that divide the curve or line.

points

You can see the points are output.

Normal vectors of the points that divide the curve is output from Divide Curve(T)

Normal vectors of the points that divide the curve is output from Divide Curve(T)
Click to Zoom

Components used:①Curve ②Divide Curve ③Vector ④Multiplication ⑤Move ⑥Line

The Divide Curve(T) outputs normal vectors of the points where the curve is divided.

This time, using the normal vector, we moved the division points with a Move and created lines with a Line from the points before and after the move.

Line

Then, the direction of the normal vectors at the divided points can be checked.

Divide Curve(t) outputs the position information of the points to be divided

Divide Curve(t) outputs the position information of the points to be divided
Click to Zoom

Components used:①Curve ②Divide Curve ③Shatter ④Length

Divide Curve(t) outputs the position information of the points to be divided.

This time, we will use the point position information and a Shatter to output the curve data between the points.

Connect the original curve data to the Shatter(C) and the t terminal to each other.

Then Bake the Shatter and check it on Rhinoceros.

between the points

Thus, we were able to extract the curves between the points.

By using Length we can also see the length of each line.

Divide Curve(K) to extract the joint points of different curves

curve

By utilizing the Divide Curve(K), we can extract the joint points of different curves.

The curves used in this case will be curve data connecting a straight line and a curve.

Divide Curve(K) to extract the joint points of different curves

Additional component:①Boolean Toggle

Connect a Boolean Toggle to the Divide Curve(K).

The initial state is False.

True

Set the Boolean Toggle to True.

元々異なる2つの線のつなぎ目の位置の点が抽出される

Then the point at the junction of the two originally different curves is extracted.

List of Grasshopper articles using Divide Curve component↓

Comment

Translate »