Are you trying to determine when a single layer of the coil has reached the far lip (and presumably needs to reverse to form a new layer), or when the layers of the coil have built up to the required outside diameter?
Are you trying to determine when a single layer of the coil has reached the far lip (and presumably needs to reverse to form a new layer), or when the layers of the coil have built up to the required outside diameter?