[Grasshopper] How to use Divide Distance to place and split points along a curve at specified intervals

[Grasshopper] How to use Divide Distance to place and split points along a curve at specified intervals Grasshopper component EN

This article explains how to use Divide Distance to place and split points along a curve at specified intervals.

Divide Distance1
Divide Distance2

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


↑Youtube Channel

Place points at specified intervals along a curve

Using Divide Distance, you can place points along a curve at specified intervals and divide the curve accordingly.

curve

For this example, we will use the curve in the image above.

Place points at specified intervals along a curve

Components used: ① Curve ② Divide Distance

This time, we are setting the curve on Rhino in Curve.

Connect the Curve containing the curve data to Divide Distance(C).

Next, connect the numerical value for the distance at any interval to Divide Distance(D).

This time, we’re connecting 100.

points

Then, as shown in the image above, points were created along the curve such that the spacing between them is 100.

The length of the straight line between the points will be the specified distance

In Divide Distance, you do not specify the length of the curve between points.

The length of the straight line between the points will be the specified distance.

Output data

Let’s take a look at the output data.

Output data

Additional Component: ①Point

Point data

Point data is output from Divide Distance(P).

normal vector

Additional Components: ① VectorMultiplicationMoveLine

Divide Distance(T) outputs the normal vectors at each point along the line.

This time, we used that normal vector to move the points with Move, and then created lines with Line from the points before and after the move.

confirm the direction of the normal vector

Then, as shown in the image above, we were able to confirm the direction of the normal vector.

representing the position information of points

Additional Component: ①Shatter

Divide Distance(t) outputs numerical values representing the position information of points along the curve.

For example, let’s try using Shatter to split the curve.

Connect Divide Distance(t) to Shatter(t).

Furthermore, connect Curve to Shatter(C).

the curve was split

Then, as shown in the image above, the curve was split at the point’s position.

In this way, Divide Distance(t) outputs numerical values representing the position information of points along the curve.

List of Grasshopper articles using Divide Distance component↓

Comment

Translate »