Skip to main content

22 posts tagged with "API"

View All Tags

Fork and contribute to the API

· 3 min read
Marco Pellegrino
Nerd Structural Engineer

Fork and clone

GitHub Desktop provides a user-friendly way to collaborate on open-source projects without needing to use complex command-line commands. Here’s a step-by-step guide to contribute to an open-source project using GitHub Desktop, along with visual references from the images provided.

Create custom C# component

· 4 min read
Marco Pellegrino
Nerd Structural Engineer

FEM-Design API is a dotnet library that can be run inside Grasshopper. Our toolbox is intensively develop and you get access to 99% of our functionality/methods.

However, there are cases where writing our own code reduce the amount of components to use and speed-up the maintenance of the code.

How do you do it? Well. I am here to get you covered. Let's start!

Modify element with Python

· 3 min read
Marco Pellegrino
Nerd Structural Engineer

One use case where the API is leveraged is the modification of some of the properties of an object such as Slab, Bar, Axis ect ect.

The "Grasshopper way" to modify an object requires to create a new one starting from the properties of the deconstructed object and insert the new values where needed. The example below shows how to modify the thickness of a Slab.

construct-deconstruct

However, there is a better/improved/faster way to do modify properties. It only required few knowledge of programming and it is my favorite way to manipulate data inside the FEM-Design model.

2L sections

· One min read
Marco Pellegrino
Nerd Structural Engineer

grasshopper

Double sections such as 2L are widely use in steel structures but, unfortunately, FEM-Design does not ship these kind of geometries out of the box.

However, with some few steps and the API, you can create a custom library that you can use over and over again.

Iterative analysis

· 2 min read
Marco Pellegrino
Nerd Structural Engineer

grasshopper

One of the most fascinating topics in the application of parametric design in engineering is optimization. It's hard to find an engineer who works with Grasshopper and hasn't tried their hand at optimizing using Galapagos. This process can often be quite straightforward as we can obtain real-time outputs like mass, deflection, and utilization by adjusting various parameters.

Leverage interaction surface

· One min read
Marco Pellegrino
Nerd Structural Engineer

grasshopper

While preparing a webinar regarding FEM-Design API by StruSoft together with Isak Björhag, we have got the idea to showcase how the engineers can use our tool to optimise the selection of a cross section with the help of some grasshopper spaghetti 🍝

The outcome was really fascinating as I have never seen several interaction surface together and I have never noticed the effect of the parameters on the final capacity 👀

Export results to csv

· One min read
Marco Pellegrino
Nerd Structural Engineer

grasshopper

FEM-Design API is mostly developed to give users access to most of the model data. We believe that users should not be constrained by our idea of engineering, but they should have the freedom to manipulate the data in a way that works best for them!

FEM-Design, the main software, has a really pleasant user interface that exports all the results with good logic.

Any geometry to slab

· One min read
Marco Pellegrino
Nerd Structural Engineer

grasshopper

I recently came across an interesting case from one of our users who was trying to analyse a free-form surface.

FEM-Design is mostly use for slab and wall (both geometry are flat) but the user needs the software to calculate something different. Something that it is nowadays called "free-form"!

Hex Dome

· One min read
Marco Pellegrino
Nerd Structural Engineer

grasshopper

I want to share some insights on optimizing the direction of CLT Panel wit FEM-Design API by StruSoft. 🧐

When designing CLT panels, one of the key considerations is ensuring that the panel is placed in the right direction to enhance the slab's strength and durability.