Hello Marcos and welcome to the forum.
I haver to say that both the explanation and the sketch give me no clue as to what you are trying to accomplish.
It sounds like you are attempting to create a cam surface along a cylinder.
Have you considered using an evalgraph for a variable sweep feature?
If you can show more clearly what you result is that you looking for, that may help.