Grasshopper API link - how to import and calculate parametric connection model (02) version 24

Dit artikel is ook beschikbaar in:
In this tutorial, you will learn how to play with parametrized connections and how to change and evaluate them in Grasshopper. REMARK: This manual is valid for versions up to 24.1.2



Grasshopper - Installatie van de plugin

Je kunt een proefversie van Rhino3d en Grasshopper downloaden via de Rhino3d website. Start Rhinoceros en selecteer de template met Meters:

inline image in article

Voer in de command regel "Package Manager" in:

inline image in article

Een nieuw venster verschijnt; selecteer IDEAStatiCa en klik op Install. De plugin wordt gedownload en geïnstalleerd. Om actief te worden, is een herstart van Rhinoceros noodzakelijk.

inline image in article

Om Grasshopper te starten met de IDEA StatiCa plugin, selecteer Tools / Grasshopper in het Rhihoceros tabblad.

inline image in article

Zoals u kunt zien, is de plugin nu beschikbaar.

inline image in article

Leer meer over de componenten en opdrachten in de IDEA StatiCa-plugin voor Grasshopper in het artikel Beschrijving van Grasshopper-plug-incomponenten.

Colibri plugin

As Grasshopper can not work with loops, you have to install another plugin - COLIBRI, which you will use in this tutorial.

inline image in article

   

IDEA StatiCa Connection – Design of a joint and set parameters

For the example, you will create a simple moment connection using a template:

inline image in article

To be able to work with parameters, it is necessary to enable the Developer tab in Preferences / Advance Settings

inline image in article

In the beginning, you have to set the loads according to the following picture:

inline image in article

Now, you have to set two parameters for this connection. The first one will be the thickness of the Endplate. Click on the plus button in the Developer tab and change the text according to the picture:

inline image in article

To connect this parameter with the appropriate Endplate thickness, click on the link button and select the property field as seen in the following picture:

inline image in article

 As the second parameter, you will set the diameter of the bolts:

inline image in article

Remark: The expression is a text, so it is necessary to use apostrophes.

Connect this parameter with the corresponding operation:

inline image in article

Now, you can check the links in the tab Model properties:

inline image in article

As the goal is to play with the diameter of the bolts, we have to add the appropriate bolt assemblies to the file:

inline image in article


Finally, you can save this connection under the name Example2.ideaCon.

Grasshopper - Import the *ideaCon file and modify the parameters

Create a new document, select the tab Params in the upper ribbon, and place the component File Path on the Canvas. 

inline image in article

Right-click on the component and select the file Example2.ideaCon we saved before. 

Note: If you open the attached file, you must change this path accordingly. 

Now, add the following components to the canvas and connect them as displayed in the picture.

Import File:

IDEA StatiCa / Connection / Reference Connection
IDEA StatiCa / Connection / Deconstruct Connection
IDEA StatiCa / Connection / Modify Connection

View Parameters:

IDEA StatiCa / Connection / Deconstruct Parameters

Here, you can add components Params / Input / Panel to see the values of our parameters.

Modify Parameters:

IDEA StatiCa / Connection / Modify Parameters (1)
IDEA StatiCa / Connection / Modify Parameters (2)
IDEA StatiCa / Connection / Modify Connection

For the modified file with different results, we set the Suffix _updated. 

Calculation and Results:

IDEA StatiCa / Connection / Calculate Connection
IDEA StatiCa / Connection / Connection Results
IDEA StatiCa / Connection / Deconstruct Result Items

Here, again, you can add components Params / Input / Panel to see the values of the results.

Colibri Components to iterate combinations of parameters:

TTTollbox / Colibri Inputs
TTTollbox / Colibri Outputs
TTTollbox / Colibri Aggregator

For the Input, the first Value list contains 3 values (0.010, 0.015, 0.020) for the thickness of the End plate.
The second one contains three values (M12 8.8, M14 8.8, M16 8.8) for the bolt diameter.
The results are stored in the data.csv file. By default, it is stored in c:\Colibri; here, you should set the path to C:/IDEA. Please make sure you have authorized access.

inline image in article

Click the Colibri Inputs / Fly button to go through the whole iteration. After a while, the CSV file is created.

The straightforward results with True / False can be seen when opening it. 

inline image in article

Interpretation of the results

For this specific connection, you will have satisfying results using either 

  • Bolts M16 8.8 with Endplate thickness of 10 mm

or

  • Bolts M14 8.8 with Endplate thickness of 15 mm

More complex examples can be found on your PC in the directory

“%appdata%\McNeel\Rhinoceros\packages\7.0\IDEAStatiCa\0.1.1\Examples.zip”

Related recordings

Part 1 - set up of parameters in IDEA StatiCa Connection

Part 2 - upload of connection and display in Rhino

Part 3 - loop process over the parameters

Part 4 - results interpretation

Toegevoegde downloads

Gerelateerde artikelen