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


On the Grasshopper, it is displayed as either an icon or text.
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)

Additional component:①Point
The Divide Curve(P) outputs the points that divide the curve or line.

You can see the points are output.
Normal vectors of the points that divide the curve is output from Divide Curve(T)

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.

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

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.

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

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.

Additional component:①Boolean Toggle
Connect a Boolean Toggle to the Divide Curve(K).
The initial state is False.

Set the Boolean Toggle to True.

Then the point at the junction of the two originally different curves is extracted.
List of Grasshopper articles using Divide Curve component↓
Comment