pcb_panelize
Builds a production panel on a blank PCB document by arraying a source board into rows and columns with rails, tooling holes, and fiducials, returning the panel dimensions.
Instructions
Build a production panel on the CURRENT (blank) PCB document.
Open a new empty .PcbDoc and run this on it. Creates an embedded-board
array of child_path, a rectangular panel outline, corner tooling
holes, and fiducials. Supply the source board size
(board_width_mils / board_height_mils).
Args: child_path: path to the source .PcbDoc to array. board_width_mils, board_height_mils: source board size (mils). rows, cols: array dimensions. col_gap_mils, row_gap_mils: spacing between adjacent boards. border_mils: rail width around the array (also half the tooling inset). tooling_holes, fiducials: whether to add them.
Returns: {"panel_width_mils", "panel_height_mils", "rows", "cols", "tooling_holes", "fiducials"}.
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": {
"child_path": "<child_path>",
"board_width_mils": "<board_width_mils>",
"board_height_mils": "<board_height_mils>"
},
"name": "pcb_panelize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | No | ||
| rows | No | ||
| fiducials | No | ||
| child_path | Yes | ||
| border_mils | No | ||
| col_gap_mils | No | ||
| row_gap_mils | No | ||
| tooling_holes | No | ||
| board_width_mils | Yes | ||
| board_height_mils | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||