create_line
Construct a Line spline from world-space 3D points in 3ds Max. Optionally close the spline to cap it into a surface, and refine curve detail by adding more points.
Instructions
用一组世界坐标点创建一条样条线(Line)。可闭合。点数量越多曲线越精细,之后用 spline_set_points 修改顶点、spline_get_points 读取顶点。闭合样条可倒出成面片。 [English] Create a Line spline from an array of world-space points. Can be closed. More points = finer curve. Edit vertices with spline_set_points and read them with spline_get_points. A closed spline can be capped into a surface.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 图形名称;省略则自动命名。 | Shape name; auto-generated if omitted. | |
| closed | No | 是否闭合样条,默认否。 | Close the spline, default false. | |
| points | Yes | 顶点数组,每项为 [x,y,z]。 | Array of vertices, each [x,y,z]. | |
| position | No | 整体偏移 [x,y,z],会叠加到每个点上。 | Offset added to every point [x,y,z]. |