[Grasshopper] How to use Geometry Pipeline to filter and retrieve models on Rhino

[Grasshopper] How to use Geometry Pipeline to filter and retrieve models on Rhino Grasshopper component EN

This article explains how to use Geometry Pipeline to filter and retrieve models on Rhino.

Geometry Pipeline

In Grasshopper, it is displayed as shown above.


↑Youtube Channel

Retrieve models on Rhino using a filter

Using the Geometry Pipeline, you can retrieve models in Rhino by filtering them by layer, name, or object type.

Basic Usage

double-click

To specify a layer name, double-click the right side of the component’s Laye:・Name: field.

Then you will be able to enter any texts or numbers.

right-click

Alternatively, you can right-click the Geometry Pipeline and select Layer Filter or Name Filter.

double-click the icon

To select the object type, double-click the icon to the right of Type:.

right-click the Geometry Pipeline

Alternatively, you can right-click the Geometry Pipeline and select Points, Curves, Breps, or Meshes.

Layer

Layer

Using cube and sphere models on Rhino, we will explain Layers.

Layers uses five names: Box1, Box2, Box3, Box4, and Sphere.

specifying the layer name directly

First, let’s try specifying the layer name directly.

First, let’s enter “Box1” into the Layer.

Also, this time, select Breps as the third option from the left.

the model with the specified layer name was retrieved

Then, the model with the specified layer name was retrieved.

Asterisk*

Asterisk

Next, let’s try using the asterisk symbol “*”.

Using “*” represents all texts.

For example, enter “Box*” in the Layer field.

"*" represents all texts

Then, the layer names for Box1, Box2, Box3, and Box4 were retrieved.

This is because “*” represents all texts, hence the selection of Box1, 2, 3, and 4.

If you enter only “*” in the Layer field, all layers will become selected.

Name

In Name, you can apply filters by specifying the name assigned to the object.

Properties

First, let’s try setting a name for an object in Rhino.

Open the Properties viewport.

If it is not visible on the screen, type “Properties” in the command.

Or, click the icon shown in the image above in the Standard tab.

set any name

Select a model.

This time, we selected the cube.

After that, set any name you like.

This time, we entered “Test”.

Now you can name objects in Rhino.

Name

Then, enter the specified name in the Name field.

This time, we entered “Test”.

Also, since it’s a cube, in the Type field, select the third Breps option from the left.

retrieve the object with the specified name

Then, we were able to retrieve the object with the specified name.

Type

In Type, you can filter by object type.

Point

The leftmost one is Points, which allows you to retrieve point data.

the point data was acquired

In this way, the point data was acquired.

Curves

The second one from the left is Curves, which allows you to obtain line data.

the curve data was acquired

In this way, the curve data was acquired.

Brep

The third one from the left is Breps, which allows you to obtain Breps data (such as solids, polysurfaces, and surfaces).

Brep data was acquired

In this way, the Brep data was acquired.

Mesh

The far right is Meshes, where you can retrieve mesh data.

mesh data has been acquired

In this way, the mesh data has been acquired.

multiple object types

You can also select multiple object types.

we were able to obtain data for multiple object types

In this way, we were able to obtain data for multiple object types.

Configure whether to retrieve locked or hidden models

You can also configure whether to retrieve locked or hidden models.

locked or hidden models

To configure, right-click the Geometry Pipeline.

To retrieve locked models, check “Include Locked Objects”.

To retrieve hidden models, check “Include Hidden Objects”.

locking

There is a sphere model on Rhino, so we’ll try locking the Sphere layer.

Include Locked Objects

When Include Locked Objects is checked, the sphere is selected.

unchecked

When the Include Locked Objects checkbox was unchecked, the sphere was not selected.

hide

This time, let’s try hiding the model on Rhino.

Type “Hide” in the command line or click the icon shown in the image above on the Standard tab.

Using the Hide command made the sphere disappear.

Include Hidden Objects

If the “Include Hidden Objects” checkbox is selected, hidden models are also selected.

unchecked

If the “Include Hidden Objects” checkbox is unchecked, hidden models were not selected.

Organize output branch data by layer type

You can also organize the output branch data by layer type.

Group by Layer

To group by layer, right-click the Geometry Pipeline and select Group by Layer.

organized into layers

Then, it was organized into layers like this.

group by type

To group by type, right-click the Geometry Pipeline and select Group by Type.

the objects were categorized hierarchically by type

Then, the objects were categorized hierarchically by type like this.

In this case, you need to select multiple Types.

List of Grasshopper articles using Geometry Pipeline component↓

Comment

Translate »