create_primitive
Add a cube, sphere, cylinder, or other primitive mesh to a Blender scene, with control over size, location, rotation, scale, and smooth shading.
Instructions
Add a primitive mesh object to the scene.
Rotation is in DEGREES. Sizes are radius/size/depth in Blender units; the primitive-specific options are ignored by primitives that do not have them. Returns the created object's full record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the new object | |
| size | No | Edge length for cube/plane/grid | |
| depth | No | Height for cylinder/cone | |
| scale | No | [x, y, z] in Blender units | |
| radius | No | ||
| location | No | [x, y, z] in Blender units | |
| rotation | No | [x, y, z] euler rotation in DEGREES | |
| segments | No | UV sphere longitude segments | |
| vertices | No | Radial segments for cylinder/cone/circle | |
| primitive | Yes | Which primitive to add | |
| collection | No | Collection to put it in; created if missing | |
| ring_count | No | UV sphere latitude rings | |
| shade_smooth | No | ||
| subdivisions | No | Ico sphere subdivisions |