pcb_place_embedded_board
Place an embedded-board array referencing a child PCB to create multi-up panels with configurable rows, columns, spacing, mirroring, and placement layer.
Instructions
Place an embedded-board array (panel) referencing a child PCB.
An embedded board is a grid of copies of a child .PcbDoc file, used for panelization (multi-up arrays, step-and-repeat).
Args: child_path: Full path to the child .PcbDoc file. x, y: Bottom-left corner of the array in mils. rows, cols: Grid size (default 1x1). row_spacing_mils, col_spacing_mils: Gap between array cells. mirror: Flip the child board over when True. layer: Placement layer for the embedded-board primitive.
Returns: Dict with success, child_path, rows, cols, x, y.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| cols | No | ||
| rows | No | ||
| layer | No | TopLayer | |
| mirror | No | ||
| child_path | Yes | ||
| col_spacing_mils | No | ||
| row_spacing_mils | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||