Grasshopper API link - how to create an IDEA StatiCa IOM file for imports (01)
If you work with IDEA StatiCa version up to 24.1.3, see this tutorial.
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:
In the Command line, please enter "Package Manager":
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.
To start Grasshopper with the IDEA StatiCa plugin, select Tools / Grasshopper in the Rhihoceros tab.
As you can see, the plugin is already incorporated.
Learn about the components and commands in the IDEA StatiCa plugin for Grasshopper in the article Description of Grasshopper plugin components.
IDEA StatiCa Connection - Export a joint as an IOM file
For this example, open the attached ideaCon file.
To be able to work with IOM, it is necessary to enable the Developer tab in Preferences / Advance Settings:
Export this connection to the IOM file Example1.xml.
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.
Right-click on the component and select the file we saved before:
Note: If you open the attached file, you must change this path accordingly.
Since version 24.1.4, IDEA StatiCa has come with a new API, described here.
To run Grasshopper scripts, you must add a component called Connection Service Runner to every file. This component can be found in IDEA StatiCa / App Common.
When running this component, you should see the following window appear.
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 / Open Model Create / Deconstruct Connection Point
IDEA StatiCa / App Common / Create Project from IOM
IDEA StatiCa / Connection / Calculate Project
IDEA StatiCa / Connection / Deconstruct Result Item
Params / Input / Boolean Toggle
Params / Input / Boolean Toggle
Params / Input / Panel
To run the calculation and get visible results, double-click on False/True. If you added the components Deconstruct Open Model and Deconstruct Connection Point, you can also see the contours and plates of the joint in Rhinoceros.
More complex examples can be found on your PC in the directory
“%appdata%\McNeel\Rhinoceros\packages\8.0\IDEAStatiCa\0.2.0\net48\Examples0.2.0.zip”
Attached Downloads
- Example1.zip (ZIP, 97 kB)