Ray Kholodovsky - bit of a small one but irks m...
bit of a small one but irks me - the trace is just meant to go from point A to point B. See how it extends past the pads of the 0402 and towards the center a little more? In my opinion, it shouldn't, and should be clipped.

3 Replies
yea this is interesting, i agree, this is a pretty tricky core problem
@Mustafa7 this is a possible issue to look at I think- it may involve a tiny bit of math- but just starting by manually creating a reproduction is good. You can use
<trace pcbStraightLine thickness="0.5mm" /> or something
just getting the reproduction is a great start, the math is non-trivial but here it is for the implementation:
When the trace diameter > 1/2 pad smallest dimension....
1. Compute the intersection of the trace and the pad
2. Set the trace end point to the intersecting point