Is cut with motion possible?

Imagine a gear and a cylinder. I need to orbit a gear around a cylinder and capture the pattern it produces on cylinder's surface (a gear-mate essentially).

Is there a kind of cut-with-mate feature I could use?

SolidworksParts And Features