It is possible to construct a full structural model in Grasshopper using the Speckle plugin. The level of fidelity of the model can be up to the user; you can send simple meshes and lines all the way to full models with section properties, loads, and analysis tasks. For this guide, we will be assuming that the model will be sent to the
design layer of GSA. In addition, we will be using the SpeckleElement object model. To start, create the geometry of the model using
lines for 1D members and
meshes for 2D members. Sending this to GSA will transfer the members.
Using the Grasshopper components, we will assign section properties to our members. This can be done by explicitly converting our
Structural2DElementMesh respectively and attaching some properties to it using the modify component.
Structural1DProperty objects will also be created using the schema builder.
Properties which includes Ref at the end of its name expects the application ID of the Speckle object it is referring to. For example, our
Structural2DElementMesh expects the application ID of a
Structural2DProperty for its
PropertyRef input. If the
ApplicationID input is not exposed for the
Structural2DProperty, use the
overwrite custom properties menu in the context menu to expose it.
Using this pattern, it is possible to create a full fidelity model from Grasshopper for use in GSA (and other structural programs). A demo Grasshopper file can be downloaded here. This model includes everything required to run the analysis: section properties, material properties, loading, analysis tasks, etc. Make sure to set your Rhino units to Millimeters before opening the file and sending the model.