[Grasshopper] How to use Point On Curve to define a point on a curve using values from 0 to 1

[Grasshopper] How to use Point On Curve to define a point on a curve using values from 0 to 1 Grasshopper component EN

This article explains how to use Point On Curve to define a point on a curve using values from 0 to 1.

Point On Curve

In Grasshopper, it is represented as shown above.


↑Youtube Channel

Define a point on a curve using values from 0 to 1

Using Point On Curve, you can define a point on a curve using values from 0 to 1.

curve

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

Define a point on a curve using values from 0 to 1

Components used: ①Curve ②Point On Curve

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

Connect the Curve to the Point On Curve.

After that, adjust the slider displayed in Point On Curve to set any value between 0 and 1.

The default value is 0.500.

0.500

For 0.500, as shown in the image above, it is the midpoint between 0 and 1, so we can obtain the midpoint of the line.

0.250

Let’s set the value to 0.250.

0.250 position

Then, as shown in the image above, a point is created at the 0.250 position when the curve length is set to 1.

1.000

Let’s set the value to 1.000.

1.000 position

Then, as shown in the image above, a point is created at the 1.000 position when the curve length is set to 1.

As shown here, you can specify a position along the line by providing a value between 0 and 1 to obtain the point.

Right-clicking

Right-clicking on Point On Curve displays seven options, as shown in the image above.

0.0 (Start)1/4 (quarter)1/3 (third)1/2 (mid)2/3 (two thirds)3/4 (three quarters)1.0 (end)

By setting these, you can also specify the start and end points of the line, as well as positions at 1/4, 1/3, 1/2, 2/3, and 3/4 of the curve.

List of Grasshopper articles using Point On Curve component↓

Comment

Translate »