The violet carriage is power-fed along the axis of rotation of the blue workpiece. The green slider carrying pink roller is forced by a spring (between violet and green sliders, not shown) towards the yellow template.
The tool traces a curve that corresponds to the template profile.