znk_create
Create analytic solid primitives—box, cylinder, sphere, cone, or torus—in ZNKernel-II, returning kernel measurements, optional tessellation stats, and a replayable recipe for chaining.
Instructions
Create one analytic solid in ZNKernel-II. primitive = box | cylinder | sphere | cone | torus. params: box {lo:[x,y,z],hi:[x,y,z]}; cylinder {center,axis,radius,height}; sphere {center,radius}; cone {base_center,axis,base_radius,height}; torus {center,axis,major_radius,minor_radius}. Units are model units (mm by convention). Returns kernel measurements, a tessellation summary and a replayable recipe for chaining. Set tessellate=false to skip the mesh summary.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"primitive": "<primitive>",
"params": "<params>"
},
"name": "znk_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | primitive parameters | |
| primitive | Yes | solid primitive kind | |
| tessellate | No | also tessellate and report mesh stats (default true) |