Karamba3D

Karamba3D is a parametric structural engineering tool which provides accurate analysis of spatial trusses, frames and shells.

Current Version: 1.3.2 (July 9 2019)

C# Scripting Karamba from scratch

I am working on my thesis and was hoping to integrate Karamba analysis to the rest of the computational platform. The basic idea is that the platform generates a design option for a quad elements made out of carbon fibre, check for the structural performance, and only gives out the options that meet a certain performance goal. This task requires the code requires all of the Karamba steps (LinetoBeams, set up material, support, load condition) to be set up and run internally within the platform.

I have failed to find any example that does the whole set up in C# rather than GH component. I have made an attempt to do that using a C# script component as a prototype but it doesn't work. (file attached) My biggest confusion is: what is the difference between doing the calculation using Karamba.Algorithms.Component_ThIAnalyze and using feb.Deform/feb.Response/feb.Update

Note: In the file attached I have set up the Karamba analysis using GH components to use as a benchmark to test the C# script. I tried to add a lot of comments into the script so I hope it's self-expanatory

 

Thank you:)