cross_sections
Calculate cross-sectional areas at evenly spaced planes to detect internal voids, wall-thickness variation, and verify shape profiles.
Instructions
Compute cross-sectional areas at evenly spaced planes along an axis. Returns a list of {position, area} pairs. axis: X, Y, or Z (default Z). num_slices: number of planes (default 10, minimum 2). Useful for detecting internal voids, wall-thickness variation, or verifying that a shape's cross-section profile matches a reference. object_name: named object from show() (default: current shape).
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": "cross_sections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | Z | |
| num_slices | No | ||
| object_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |