plane_repeat function

Repeat component