# 3.1.13: 创建梁的集合 (Make Beam-Set) 🔷

**“Make Beam-Set（创建梁的集合）”**&#x8FD0;算器提供了一种可在同一标识符下对不同元素进行分组的实用方法（如图3.1.13.1）。梁的集合无需分离。&#x7531;**“BeamId（梁的标识符）”**&#x8F93;入端输入的信息应当是字符串列表，其中包含梁的标识符、梁的索引、其他梁的集合标识符，或一个正则表达式。根据定义，正则表达式应当&#x4EE5;**“＆”**&#x505A;为首位字符。**“SetId（设置标识符）”**&#x9700;要一个字符串作为新创建梁的集合的标识符。

![ 图3.1.13.1：“Beam-sets（梁的集合 ）”运算器适用于对梁进行分组](/files/-M9XuRVZ0MHoNHeh-1_v)

由集合确定的一组梁可用于定义几何映射。在这种情况下，梁的集合意味着一个由直线段组成的多边形。集合中元素的顺序依照其被纳入集合的顺序来确定。用户可在任意位置对此类多边形进行分割（请参见第[3.8.15](/chinese_1_3_3/3-in-depth-component-reference/3.8-utilities/3.8.15-connecting-beams-with-stitches.md#simple-stitch)）。**“MinSLen（最小线段长度）”**&#x5141;许用户设置这种分割的长度下限。在线段过小的情况下，交点则会捕捉至最近点。

为了在视觉上对结构进行分组，可为梁的集合设置不同颜色。&#x5F53;**“BeamView（梁视图 ）”**&#x8FD0;算器&#x4E2D;**“Cross section（断面）”**&#x7684;**“Render Settings（渲染设置）”**&#x88AB;启用时（请参见第[3.6.7](/chinese_1_3_3/3-in-depth-component-reference/3.6-results/3.6.7-beamview.md)节），即可显示这些颜色，与此同时，**“ModelView（模型视图）”**&#x8FD0;算器子菜&#x5355;**“Colors（颜色）”**&#x4E2D;&#x7684;**“Elements（元素）”**&#x9009;项也将处于启用状态。

梁的集合的标识符可以代替梁的标识符在任何地方使用。为了在模型中注册，需将梁的集合输&#x5165;**“Assemble（模型构建）”**&#x8FD0;算器&#x7684;**“Set（设置）”**&#x8F93;入端口。


---

# 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.1-model/3.1.13-make-beam-set.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.
