create_rectangle
Creates a rectangle spline with adjustable length, width, and corner radius, commonly used as a wall or floor profile.
Instructions
创建一个矩形样条。length/width 控制尺寸,cornerRadius 可倒圆角;常作墙体/地面的截面。 [English] Create a rectangle spline. length/width size it; cornerRadius rounds corners. Common as wall/floor profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | 结束角(度,Arc)。 | End angle in degrees (Arc). | |
| from | No | 起始角(度,Arc)。 | Start angle in degrees (Arc). | |
| name | No | 图形名称;省略则自动命名。 | Shape name; auto-generated if omitted. | |
| size | No | 字号(Text,对应 size 属性)。 | Font size (Text, maps to size). | |
| text | No | 文本内容(Text)。 | Text content (Text). | |
| sides | No | 边数(NGon,至少 3)。 | Side count (NGon, >=3). | |
| turns | No | 圈数(Helix)。 | Turns (Helix). | |
| width | No | 宽度。 | Width. | |
| height | No | 高度(Helix)。 | Height (Helix). | |
| length | No | 长度。 | Length. | |
| radius | No | 半径(Circle/Arc/NGon)。 | Radius (Circle/Arc/NGon). | |
| radius1 | No | 第一半径(Donut)。 | First radius (Donut). | |
| radius2 | No | 第二半径(Donut)。 | Second radius (Donut). | |
| position | No | 位置 [x,y,z]。 | Position [x,y,z]. | |
| segments | No | 分段数。 | Segment count. | |
| thickness | No | 描边粗细(Text)。 | Stroke thickness (Text). | |
| cornerRadius | No | 圆角半径。 | Corner radius. |