create_tendon_2d
Create a 2D tendon profile in the X-Z plane using control points and fillet radii. Define the insertion point and tendon properties to build bridge models for structural analysis.
Instructions
Create a 2D tendon defined by profile control points (创建2D钢束/平弯钢束).
The tendon profile lies in the X-Z plane; each control point is
[x, z, r] where r is the fillet radius (0 for sharp points).
钢束线形位于XZ平面,控制点为 [x, z, r],r为圆弧半径(0为折点)。
Args:
name: Tendon name (钢束名称)
property_name: Tendon property name, must exist (钢束特性名,须已创建)
control_points: Profile control points [[x, z, r], ...]
(控制点信息 [[x, z, 半径r], ...])
point_insert: Insertion point [x, y, z] for straight positioning
(直线定位时的插入点坐标 [x, y, z])
num: Number of tendons (根数)
line_type: Point type (线型): 1=导线点(guide), 2=折线点(polyline)
position_type: Positioning (定位方式): 1=straight(直线), 2=track line(轨迹线)
symmetry: Symmetry point (对称点): 0=left end(左端), 1=right end(右端),
2=asymmetric(不对称)
group_name: Tendon group name (钢束组名)
Example:
create_tendon_2d(name="T1", property_name="15-10",
control_points=[[0, -0.5, 0], [20, -1.2, 8], [40, -0.5, 0]],
point_insert=[0, 0, 0])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| num | No | ||
| name | Yes | ||
| symmetry | No | ||
| line_type | No | ||
| group_name | No | 默认钢束组 | |
| point_insert | Yes | ||
| position_type | No | ||
| property_name | Yes | ||
| control_points | Yes |