Creating the output consists of looping over the entries in “matWeights”. The tricky part is to get the physical units right. Internally the C++ part of Karamba3D does not care about physical units. As long as they are consistent the results will be fine. When using SI-units Karamba3D works with these base units: meters (m), kilo Newtons (kN), tons (t) and degrees Celsius. When in Imperial-mode the units of length, force and mass get converted to feet (ft), kilo Pounds force(kipf), kilo Pounds mass (kipm) and degrees Fahrenheit. Units conversion between e.g. centimeter and meter, inch and feet, . . . occurs at output and input only. The material and cross section tables which come with Karamba3D – and can be produced via e.g. the “Generate Cross Section Table”-component – contain values in SI-units only. They get converted to the right units-system (SI or Imperial) on the fly when loading them into Karamba3D.