generate_placement_candidates
Generate bounded placement candidate positions for components in a DipTrace PCB design, respecting constraints like grid, spacing, rotations, and keepouts, with deterministic output.
Instructions
Generate bounded deterministic local placement candidates. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs.
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": {
"selector": "<selector>"
},
"name": "generate_placement_candidates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid | No | ||
| path | No | ||
| region | No | ||
| spacing | No | ||
| weights | No | ||
| selector | Yes | ||
| search_steps | No | ||
| allowed_sides | No | ||
| time_budget_ms | No | ||
| respect_keepouts | No | ||
| allowed_rotations | No | ||
| deterministic_seed | No | ||
| board_edge_clearance | No | ||
| max_candidates_per_component | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||