# 3.3.11: Read Cross Section Table from File

![Fig. 3.3.11.1: List of cross sections generated from the standard cross section table](/files/-MCkE_lZW00kbrOMuwVR)

Predefined cross sections stored in a csv- or bin-database can be used to generate lists of cross sections via the **“ReadCSTable”**-component (see fig. 3.3.11.1). It works along the same lines as the **“ReadMatTable”** (see section [3.4.3](/3-in-depth-component-reference/3.4-material/3.4.3-read-material-table-from-file.md)) component. When given no path to a valid table **“ReadCSTable”** uses the list of cross sections comes with Karamba3D and is situated in “…/Grasshopper/Libraries/Karamba/CrossSectionValues.bin”. This table contains definitions for a range of standard steel profiles. Depending on the given file extension the data is expected to be either in binary format (“.bin”) or comma separated values (“.csv”). The former has the advantage of fast processing, the latter can be viewed and extended using a text editor or OpenOffice. In csv-files “#” is used to mark the rest of a line as comment. The physical units are always assumed to be metric – irrespective of the user settings at installation. In case of an entry in a csv-file in the first column which is not a “#”, the cross section properties get calculated based on the geometric dimensions of the cross section. In case of a deviation between the given and the calculated values of more than 10 % a warning is output at the **“Info”**-plug.

When opening the Karamba3D installation folder (double-click on the Karamba3D desktop icon for that) you will find three differently named cross section tables: “CrossSectionValues.bin” and “CrossSectionValues\_sortedForHeight.bin” contain cross sections sorted according to increasing height. In “CrossSectionValues\_sortedForWeight.bin” the area and thus weight per unit of length determines a cross sections relative position within a family. When doing cross section optimization (see section [3.5.8](/3-in-depth-component-reference/3.5-algorithms/3.5.8-optimize-cross-section.md)) those two sorting options lead to different results. Depending on external requirements they result in structures of minimum cross section height or structural weight.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.karamba3d.com/3-in-depth-component-reference/3.3-cross-section/3.3.13-read-cross-section-table-from-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
