Preview a footprint
render_footprintGenerate an ASCII preview of a footprint from a PcbLib file, showing every primitive kind: pads, vias, tracks, arcs, fills, regions, text, and 3D-body outlines, with markers, counts, and a legend.
Instructions
Render an ASCII art visualisation of a footprint from a PcbLib file: every primitive kind — pads (with designators), vias, tracks, arcs, fills, regions, text marks and 3D-body outlines — each with its own marker, plus a per-kind count line and a legend. A quick preview, not a rendering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Characters per mm (default: 2.0). Higher = more detail | |
| filepath | Yes | Path to the Altium PcbLib file | |
| max_width | No | Maximum width in characters (default: 80) | |
| max_height | No | Maximum height in characters (default: 40) | |
| component_name | Yes | Name of the footprint to render |