# 3.1.7: 与梁的连接 (Connectivity to Beam)

在Grasshopper中，网格划分算法可以生成拓扑结构图。借&#x52A9;**“Connectivity to Beam（与梁的连接）”**&#x8FD0;算器，可将它们直接转换为梁结构（如图3.1.7.1）。

![图3.1.7.1：“Connectivity to Beam（与梁的连接）”运算器可将连接图转换成梁的集合](https://2244769574-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9XteyGDAU3Odla53cC%2Fsync%2Fabb120fa4274a7b218c003769fcd8e11f0f20982.png?generation=1591871192753767\&alt=media)

输入端&#x53E3;**“Z-Ori（Z方向）”**、**“Color（颜色）”**、**“Id（标识符）”**&#x548C;**“CroSec（断面）”**&#x7684;含义&#x4E0E;**“LineToBeam（由线到梁）”**&#x8FD0;算器中的含义相同（请参阅[3.1.6](https://manual-1-3.karamba3d.com/chinese_1_3_3/3-in-depth-component-reference/3.1-model/3.1.6-line-to-beam)）。
