[Grasshopper] How to use MultiPipe to Create a single integrated pipe from Multiple curves

MultiPipe Grasshopper component EN

When using Grasshopper, you may encounter situations where you want to create a pipe assembled from multiple curves.

Generally, the Pipe component cannot be used to combine multiple curves to create a pipe.

However, by using the MultiPipe component, you can combine multiple curves into a single integrated pipe.

MultiPipe1
MultiPipe2

This time, we’d like to introduce two examples as shown in the image above.

MultiPipe example
Click to Zoom

The overall components will look like this.

The Grasshopper and Rhino data for this session can be downloaded from the link below, so please feel free to use it.

Data download for this Grasshopper and Rhino is available here.

For information regarding the use of downloadable data, please refer to the Terms of Use.

Now, we’ll explain them in order.


↑Youtube Channel

Video

MultiPipe Example 1

MultiPipe Example 1
Components used

Components used: ①BrepVolumePopulate 3DLineJoin Curves ⑥MultiPipe

a cube in Rhino

Now, let’s start creating the first example.

First, create a cube in Rhino.

立方体をBrepに格納

Next, place the cube into the Brep in Grasshopper.

center point

Using Volume allows you to extract the center point of a cube.

This point is output from the Volume(C).

Populate 3D

Then use Populate 3D.

This component allows you to create points at random locations within a cube.

Changing the value of the N terminal allows you to modify the number of points created within the cube.

The value of the S terminal is called the seed value. Changing this value will output a random number.

This causes the point’s location to change randomly whenever the value changes.

Line

Using Line, create a line connecting the center point of the cube and the point created in Populate 3D.

Don’t forget to join the lines you created here using Join Curves.

MultiPipe

Using MultiPipe creates a single integrated pipe from joined lines.

the cube is hidden

When the cube is hidden, it looks like this.

Changing the NodeSize value

Changing the NodeSize value allows you to alter the overall pipe size.

Changing the EndOffset value

Changing the EndOffset value allows you to alter the size of the central portion where the lines connect.

changing the StrutSize value

Conversely, changing the StrutSize value only modifies the size of the line portion.

Setting the Caps value to 0

Setting the Caps value to 0 leaves the pipe tip open.

Setting the Caps value to 1

When the value is 1, the tip is blocked by a hemisphere.

Setting the Caps value to 2

When the value is 2, it is blocked as is, and no hole is present.

MultiPipe Example 2

MultiPipe Example 2
Components used

Components used: ⑦Voronoi 3D

Voronoi 3D

We’ll create the second example.

First, use Voronoi 3D and connect the terminals to Populate 3D, which was used in the first example.

This creates a Voronoi diagram for the cube based on the points created in Populate 3D, with one diagram for each point.

Please use two Volumes here.

This allows you to extract the center point of each Voronoi region.

Graft

After that, set one of the C terminals to Graft.

By setting one side to Graft, you can create lines from a single point to all remaining points without creating duplicates.

Failing to do this may cause lines to overlap, potentially leading to heavier data or programs that do not execute properly.

Line

Using Line, create a line from the points created in two Volumes.

Flatten

At this time, please set the Line to Flatten.

The reason is that when combining lines later, they may not combine properly unless they are in a flatten state.

Use Join Curves to connect lines.

MultiPipe

Finally, using MultiPipe completes the process.

various shapes by changing the MultiPipe values

As shown in the first example, you can create various shapes by changing the MultiPipe values.

Summary

Summary

This time, we used the MultiPipe component in two examples.

You can create interesting shapes that cannot be made with ordinary Pipe components, so please give it a try.

That’s all for this time.

List of Grasshopper articles using MultiPipe component↓

Comment

Translate »