pcb_bga_fanout
Generate a BGA fanout via-placement plan using dog-ear or inline strategies. Provide ball coordinates and pitch to receive per-ball via locations and track widths for escape routing.
Instructions
Generate a BGA fanout via-placement plan (dog-ear or inline strategy).
Returns per-ball via coordinates and suggested track widths so the agent can call pcb_add_via and pcb_add_track to physically fanout the BGA. Actual pad coordinates must come from the board footprint (use pcb_get_pads).
Args: balls: List of ball dicts with keys: row (str, e.g. "A"), col (int, 1-based), net (str), x_mm (float, ball centre X), y_mm (float, ball centre Y). pitch_mm: Ball pitch in mm (e.g. 0.5, 0.65, 0.8, 1.0). via_drill_mm: Via drill diameter in mm (default 0.2). via_annular_mm: Via annular ring width in mm (default 0.1). escape_layer: Inner copper layer to fan out to (default "In1.Cu"). strategy: "dog_ear" (diagonal escape, most common) or "inline" (horizontal escape, for large pitch).
Returns: JSON string with via placement plan for each ball.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| balls | Yes | ||
| pitch_mm | Yes | ||
| strategy | No | dog_ear | |
| escape_layer | No | In1.Cu | |
| via_drill_mm | No | ||
| via_annular_mm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |