This should be:

```python
P_link3 = P2.locatenew('P_link1', l[2] / 2 * C.y)
```