# 3.3.13: 从文件中读取断面信息表格(Read Cross Section Table from File)

![图3.3.13.1：从标准断面表生成的断面信息列表](/files/-M9XuT0Ab7emnc0DRUEq)

借&#x52A9;**“ReadCSTable（读取CS列表）”**&#x8FD0;算器，存储在csv数据库中的预定义断面可用于生成断面列表（如图3.3.13.1）。该功能&#x4E0E;**“ReadMatTable（读取材料表格）”**&#x8FD0;算器的工作方式相同（参见[3.4.3](/chinese_1_3_3/3-in-depth-component-reference/3.4-material/3.4.3-read-material-table-from-file.md)节）。如果未提供指向有效csv表格的路径，&#x5219;**“ReadCSTable”**&#x5C06;使用Karamba3D随机附带的断面表格，该断面表位于“.../Grasshopper/Libraries/- Karamba/CrossSectionValues.bin”。该表格中包含一系列标准钢型材的定义。根据给定的文件扩展名，数据应采用二进制格式（“.bin”）或有逗号分隔的值（“.csv”）。前者的优点是运算处理速度快，后者可以使用文本编辑器或OpenOffice查看和扩展。在csv文件中“＃”将该行的其余部分标记为注释。无论安装时用户的设置如何，其物理单位始终假定为公制。如果第一列的csv文件中的条目不是“＃”，则断面属性的计算将基于断面的几何尺寸。如果给定值与计算值之间的偏差大于10％，则&#x5728;**“Info（信息）”**&#x7AEF;口处会输出警告。

在打开Karamba3D安装文件夹时（双击Karamba3D的桌面图标即可），用户会看到三个不同名称的断面表格：其中“CrossSectionValues.bin”和“Cross-SectionValues\_sortedForHeight.bin”包含依据高度递增排序的断面。而在“ CrossSectionValues\_sortedForWeight.bin”中则是根据面积排序，因此单位长度的重量决定了一个断面在其系列内的相对位置。在进行断面优化时（参阅第[3.5.8](/chinese_1_3_3/3-in-depth-component-reference/3.5-algorithms/3.5.8-optimize-cross-section.md)节），这两个排序选项会导致不同的结果。根据外部要求，其结果会导致最小断面高度的结构或是最小结构重量。


---

# 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-1-3.karamba3d.com/chinese_1_3_3/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.
