Grasshopper API link - how to create an IDEA StatiCa IOM file for imports

Acest articol este disponibil și în:
In this tutorial, you will learn how to create an IOM file from a template and work with it in Grasshopper 3D.

Grasshopper - Plugin Installation

You can get a trial version of Rhino3d and Grasshopper from the Rhino3d website. Run Rhinoceros and select the template with Meters:

inline image in article

In the Command line, please enter "Package Manager":

inline image in article

A new window appears; select IDEAStatiCa and click Install. The plugin will be downloaded and installed. To become active, a restart of Rhinoceros is necessary.

inline image in article

 To start Grasshopper with the IDEA StatiCa plugin, select Tools / Grasshopper in the Rhihoceros tab.

inline image in article

As you can see, the plugin is already incorporated.

inline image in article

Learn about the components and commands in the IDEA StatiCa plugin for Grasshopper in the article Description of Grasshopper plugin components.

IDEA StatiCa Connection - Design of a joint and IOM export

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

inline image in article

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

inline image in article

Finally, you can save this connection under the name Example1.ideaCon and also export this connection to the IOM file Example1.xml.

inline image in article

Grasshopper - Import the IOM file, display the joint in Rhino, and see the calculation results

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 we saved before: 

inline image in article
inline image in article

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 seen in the picture.

IDEA StatiCa / Open Model / Import IOM File
IDEA StatiCa / Open Model / Deconstruct Open Model
IDEA StatiCa / Connection / Create Connection from IOM
IDEA StatiCa / Connection / Calculate Connection
IDEA StatiCa / Connection / Connection Results
Params / Input / Boolean Toggle
Params / Input / Boolean Toggle
Params / Input / Panel

inline image in article

To run the calculation and get visible results, double-click on False/True. As you added the component Deconstruct Open Model, you can also see the contours of the joint in the Rhinoceros.

inline image in article

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

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

Fișiere atașate

Articole conexe