How do I use Python to add arc tracks between component pads in KiCad?
To add arc tracks between component pads in KiCad using Python, you can script the creation of PCB_ARC objects. The provided script demonstrates routing an arc-shaped track between the pads of two components:

```python
import pcbnew
import math
from pcbnew import wxPoint, wxPointMM

def add_track_arc(start, mid, end, layer=pcbnew.F_Cu):
    board = pcbnew.GetBoard()
    track = pcbnew.PCB_ARC(board)
    track.SetStart(start)
    track.SetMid(mid)
    track.SetEnd(end)
    track.SetWidth(int(0.25 * 1e6))
    track.SetLayer(layer)
    board.Add(track)

# Script for routing an arc track
# ... (rest of the script to define start, mid, and end points)
add_track_arc(start1, mid, end1)

pcbnew.Refresh()
```

This method is ideal for creating tracks that require specific geometric shapes, enhancing the functionality and aesthetics of the PCB design.