[Grasshopper] How to use Shatter to split curves at specified positions

[Grasshopper] How to use Shatter to split curves at specified positions Grasshopper component EN

This article explains how to use Shatter to split curves at specified positions.

Shatter1
Shatter2

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


↑Youtube Channel

Splitting a curve at a specified position

curve

In this case, we will use Shatter to split this curve.

Splitting a curve at a specified position

Components used: (1) Curve (2) Shatter (3) List Item ( 4 ) Length

Input curve data to the Shatter(C).

This time, the curve data set in Curve is connected.

Input the numerical value of the position you want to divide into the Shatter(t).

Checking the length of the curve with Length, we found that the total length is approximately 127.

This time, we entered 80, which does not exceed 127.

The curve is divided at a position of length 80.

Using List Item, enter 0 in the List Item(i) to extract one of the two curves.

split

As you can see, the curve has been split at position 80 of the curve length.

0~1.0

You can also specify the position of the curve as a number from 0~1.0.

In this case, we entered 0.5.

Reparameterize

In this case, right-click on the Shatter(C) and set Reparameterize.

divided at the center

You can see that the curve is divided at the center because it is entered at 0.5

As you can see, you can also specify the position with a value of 0~1.0.

List of Grasshopper articles using Shatter component↓

Comment

Translate »