[Grasshopper] How to use Join Curves to join curves and lines

[Grasshopper] How to use Join Curves to join curves and lines Grasshopper component EN

This article explains how to use Join Curves to join curves and lines.

Join Curves1
Join Curves2

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


↑Youtube Channel

Joining curves with overlapping ends

Join Curves can be used to join curves with overlapping ends.

curves

First, we want to join these curves and a line.

Joining curves with overlapping ends

Connect each curve and line to the Join Curves(C).

This time, we connect the curves and line stored to Curve.

Then, each curve line is combined.

joined

You can see that they are also combined in this way.

Do not join lines with different orientations

You can also choose not to merge lines with different orientations.

two lines with different orientations

In this case, we will use two lines with different orientations.

True or false

Connect a Boolean Toggle to the Join Curves(P).

The Boolean Toggle can be turned on and off like a switch.

The default setting for Join Curves is False.

When False, lines are joined even if they are oriented in different directions.

the lines are joined

Thus, since it is False, the lines are joined.

True

Now double-click on the Boolean Toggle and change it to True.

In this case, lines are not merged if the orientations are different.

In fact, two lines are output.

List Item

To see that they are not merged, we extract one line using List Item.

not joined

As you can see, we were able to extract a single line, so we know that the lines are not joined.

List of Grasshopper articles using Join Curves component↓

Comment

Translate »