Implement Custom hand movement with UR CB3

Hi UR team,

We have a UR CB3 cobot with following specifications,

    1. Poly scope version: 3.13.1

Model: 2017

Query
I would like to mimic a movement as shown below,
Infinity Movement in 2D format

Note
The above movement is in 2D, I would like to achieve a 3D infinity movement with my UR CB3. Since I’m new to UR robots
I would need an extensive support, and this is part of our automation project activity.

Thanks in advance!

Regards,

BALAJI K S