Skip to main content
Glama
vino3dx
by vino3dx

create_line

Destructive

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

TableJSON Schema
NameRequiredDescriptionDefault
nameNo图形名称;省略则自动命名。 | Shape name; auto-generated if omitted.
closedNo是否闭合样条,默认否。 | Close the spline, default false.
pointsYes顶点数组,每项为 [x,y,z]。 | Array of vertices, each [x,y,z].
positionNo整体偏移 [x,y,z],会叠加到每个点上。 | Offset added to every point [x,y,z].

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds useful behavior beyond annotations: the created spline remains editable, point count affects curve fidelity, and a closed spline can be capped into a surface. Annotations already signal readOnly=false and destructiveHint=true, and the description does not contradict them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core action, followed by closure, fidelity, and related-tool notes. The bilingual repetition adds length but is justified for the tool's audience, and every distinct piece of information earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter creation tool with no output schema, the description covers the main inputs, the creation workflow, and follow-up operations via spline_set_points/spline_get_points. The main omission is an explicit statement of the returned object handle or name, but the optional-name schema and sibling references make invocation reasonably clear.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds semantic value: points are in world space, more points produce a finer curve, and closure enables capping. This enriches the parameter meaning beyond the raw schema definitions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Create a Line spline from an array of world-space points.' It also distinguishes this from the many primitive-creation siblings by naming the subsequent spline editing/reading tools and noting that closed splines can be capped into surfaces.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear context: use this tool when you need a point-defined Line spline, adjust fidelity by adding points, and optionally close it. It does not explicitly list when-not-to-use or name creation alternatives, but the intended use case is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools