Skip to content

Grasshopper Pilar sequence


Starting a definition

Pilar sequence: base file

To start a setting on Grashopper click on the componete Point of the tab Params in the Geometry panel. Click the work screen (canvas) to position the componete in the code editor.

Componente Point

With the componete Point on canvas, right-click on the component and select the Set One Point option.

Set One Point

The Set One Point option toggles to the interface of Rhino, allowing the selection of a point by coordinates, by a point drawn on the interface of Rhino or a point on a curve. If the Coordinates option is not appearing on the command line, click on the text Type and select the coordinates option

Set Point Type

With the coordinates option selected, the point can be selected by clicking on the screen or typing the corrdenadas.

Set Coord

Enter the coordeandas 0,0,1 and press enter to return to the interface of Grasshopper.

To move the point in a specific direction and distance, click the Trasnform tab on the Euclidean* panel, select the Move** component.

move

Drag the output to the left of the Point component and concect the Geometry entry of the Move component. With this the point will be moved in the distance and default direction of the component (10 units in the direction of the Z axis).

Move Geometry

Move Geometry 2

Setting Distance Direction

To set a direction, in the Vector tab in the Vector panel, select the Unit Z component. connect the component output to the component Motion input Move.

Unit z

The Unit Z component is a unit vector in the z direction. To set the distance, in the tab Params, in the panel Input select the option Slider.

Slider 1

Com um clique duplo na parte esquerda do Slider, altere o valor da opção MAx para 100 e clique em Ok. Conecte a saída do Slider na entrada do componente Unit Z.

Edit Slider

Creating a line conecting 2 points

line

Double-click the left side of the Slider, change the value of the MAx option to 100 and click Ok. Connect the Slider output to the component input Unit Z.

line 2

Creating a Column (pipe) From a Line

pipe1

On the Surface tab on the Freeform panel, select the Pipe component. Check the output of the Line component at the Curve input of the Pipe component. Connect a Slider to the Radius input of the Pipe component. In the Cap entry of the Pipe component, right-click and select the Flat option.

pipe2

Creating columns along a curve

In Rhinoceros draw a line segment or a curve.

In params tab, in Geometry panel, select the Curve component.

curve1

Right-click on the component and select the curve on Rhinoceros by clicking on the curve.

curve2

Na aba Curve, no painel Division selecione o componente Divide Curve.

Divide Curve1

In the Curve tab, in the Division panel select the Divide Curve component.

Divide Curve 2

In the Paramstab, in the Input* panel select the Slider** option.

slider int 1

Double-clicking on the left side of Slider, change the value of the R option to N and the Max option to 100 and click Ok.

![slider int 2]./(sliderInt2.jpg)

Connect the Slider output with the Count input of the Divide Curve component.

slider int 3

Connect the Points output of the Divide Curve component to the input of the Point component.

points point

Final algorithm

exemplo01

Download Final example file.

Other Examples:

Elementos tubulares uma Curva

Elementos tubulares duas Curvas

Exemplo Janelas

Guarda Corpo

Exemplo Mies

Exemplo Python