Grasshopper Pilar sequence
Starting a definition
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.
With the componete Point on canvas, right-click on the component and select the Set One Point option.
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
With the coordinates option selected, the point can be selected by clicking on the screen or typing the corrdenadas.
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.
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).
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.
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.
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.
Creating a line conecting 2 points
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.
Creating a Column (pipe) From a Line
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.
Creating columns along a curve
In Rhinoceros draw a line segment or a curve.
In params tab, in Geometry panel, select the Curve component.
Right-click on the component and select the curve on Rhinoceros by clicking on the curve.
Na aba Curve, no painel Division selecione o componente Divide Curve.
In the Curve tab, in the Division panel select the Divide Curve component.
In the Paramstab, in the Input* panel select the Slider** option.
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.
Connect the Points output of the Divide Curve component to the input of the Point component.
Final algorithm
Download Final example file.