create_capsule
Create a capsule primitive in 3ds Max for character collision shapes and props. Control end-cap roundness with fillet; get an error if Extended Primitives are disabled.
Instructions
创建一个胶囊体(拓展基础体)。fillet 控制端盖圆角;常用于角色碰撞体与道具。若当前 Max 未启用拓展基础体则会报错提示。 [English] Create a capsule (extended primitive). fillet controls end caps; common for character collision shapes and props. Errors gracefully if Extended Primitives are not enabled in this Max.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_capsule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | 结束角(度,Arc)。 | End angle in degrees (Arc). | |
| axis | No | 壶轴类型 1-4(Teapot);忽略通常即可。 | Teapot axis 1-4; usually leave default. | |
| from | No | 起始角(度,Arc)。 | Start angle in degrees (Arc). | |
| name | No | 对象名称;省略则自动命名。 | Object name; auto-generated if omitted. | |
| sides | No | 边数/管径向分段(Cylinder/Cone/NGon/Torus)。 | Side / tube radial segments (Cylinder/Cone/NGon/Torus). | |
| turns | No | 圈数(Helix)。 | Number of turns (Helix). | |
| width | No | 宽度。 | Width. | |
| fillet | No | 圆角量(Capsule)。 | Fillet amount (Capsule). | |
| height | No | 高度。 | Height. | |
| length | No | 长度(Box/Plane/Rectangle/Cone 等)。分段数决定多边形数量,游戏资产保持 12-16。 | Length (Box/Plane/Rectangle/Cone etc). Segments drive poly count - keep 12-16 for game assets. | |
| radius | No | 半径(Sphere/Torus/Cylinder 等)。 | Radius (Sphere/Torus/Cylinder etc). | |
| smooth | No | 是否平滑(Teapot 等)。 | Smooth the surface (Teapot etc). | |
| capSegs | No | 封顶分段(Cylinder/Cone/Tube)。 | Cap segments (Cylinder/Cone/Tube). | |
| chamfer | No | 倒角量(ChamferBox)。 | Chamfer amount (ChamferBox). | |
| radius1 | No | 第一半径(Donut/Tube/Helix/Cone 顶)。 | First radius (Donut/Tube/Helix/Cone top). | |
| radius2 | No | 第二半径(Donut/Tube/Helix/Cone 底)。 | Second radius (Donut/Tube/Helix/Cone bottom). | |
| setName | No | 创建后再改名为此名(name 的兜底写法)。 | Rename after creation (fallback for name). | |
| position | No | 世界坐标位置 [x,y,z]。 | World position [x,y,z]. | |
| segments | No | 分段数;影响多边形数量,游戏资产保持低值。 | Segment count; drives polygon count, keep low for game assets. | |
| widthSegs | No | 宽度方向分段(Box/Plane)。 | Width segments (Box/Plane). | |
| heightSegs | No | 高度方向分段(Box/Cylinder/Cone)。 | Height segments (Box/Cylinder/Cone). | |
| lengthSegs | No | 长度方向分段(Box/Plane)。 | Length segments (Box/Plane). | |
| cornerRadius | No | 圆角半径(Rectangle)。 | Corner radius (Rectangle). |