Create Polygon Primitive
modeling.create_polygon_primitiveCreate polygon primitives such as cubes, spheres, cylinders, cones, torus, and planes with configurable dimensions, subdivisions, and axis orientation.
Instructions
Create a polygon primitive (cube, sphere, cylinder, cone, torus, plane) with configurable dimensions, subdivisions, and axis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | Up axis for the primitive | y |
| name | No | Optional name for the transform node | |
| depth | No | Depth (cube) | |
| width | No | Width (cube/plane) | |
| height | No | Height (cube/cylinder/cone/plane) | |
| radius | No | Radius (sphere/cylinder/cone/torus) | |
| primitive_type | Yes | Type of primitive to create | |
| subdivisions_axis | No | Axis subdivisions (sphere/cylinder/cone/torus) | |
| subdivisions_depth | No | Depth subdivisions | |
| subdivisions_width | No | Width subdivisions | |
| subdivisions_height | No | Height subdivisions |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shape | Yes | ||
| errors | Yes | ||
| transform | Yes | ||
| face_count | Yes | ||
| vertex_count | Yes | ||
| primitive_type | Yes | ||
| constructor_node | Yes |