This code produces two coil windings. If I specify them both explicitely, it works fine. If I wrap it in a foreach loop, they don't connect as they should.
I tried varying the line width and the preaction line width. That does not affect the mis-alignment. Can anybody see the problem?

The expression (1.0) represents a point on the border of the node (1) such that the line between (1.0) and (1.center) is parallel to x-axis. (Similarly (1.north) and (1.90) usually coincide.)
– Symbol 1Jan 10 '16 at 17:47