I would like to decorate a circle in a way such that the starting and the ending points of the decoration coincides in a nice way. Of course, they always coincide, but I would like to have the element of the decoration repeated an integer number of times. Is there an easy way to achieve it? Of course, adjusting the amplitude and/or the segment length of the decoration can help, but it needs a manual fine tuning, which I would like to avoid.
I looked in the pgf manual, in particular chapter 24, but I did not find my answer. As side remark, section 24.3 contains part of my code with the same "problem" and nothing in section 24.4 (Adjusting decorations) or 48.2 (Path Morphing Decorations) was for me useful.
\documentclass[tikz, border=3mm]{standalone}
\usetikzlibrary{decorations.pathmorphing}
\begin{document}
\begin{tikzpicture}
\draw[decorate, decoration=zigzag] (0,0) circle (1cm);
\draw[decorate, decoration=bumps] (3,0) circle (1cm);
\draw[red, thick] (1,0) circle (3mm) (4,0) circle (3mm); % <- Just to stress the problem
\end{tikzpicture}
\end{document}



tikzto provide something to somehow make this available through a kind of interface or key, though. – Axel Krypton Apr 09 '18 at 15:26decoratedpathlengthand set thesegment lengthto be an integer fraction thereof? That would be a nice thing, which I'll be happy to do a bit later. (BTW, +1) – Apr 09 '18 at 15:32decoratedpathlengthin order to guarantee an integer repetition of the decoration item. This is what I had in mind when I wrote that I would have expectedtikzto somehow provide a feature like that (but probably there are good reasons which go beyond my knowledge if such a feature is missing). If you feel like later to provide an example to how to generalize the code to a more complicate case, I will be happy to read and use it. And, of course +1, :) – Axel Krypton Apr 09 '18 at 15:39