Can I modify the existing tikz coil decoration, so that the downstrokes are not drawn in a certain interval, to produce a picture like this?
Edit: Previous attempts, code and MWE has been moved to or superseded by my own answer.
decorationstikz-pgf
Can I modify the existing tikz coil decoration, so that the downstrokes are not drawn in a certain interval, to produce a picture like this?
Edit: Previous attempts, code and MWE has been moved to or superseded by my own answer.
Best Answer
Here is a proof-of-concept solution for drawing the coil by parametrizing it and drawing the front and back parts separately using plot paths: