Multiple segmentation of a line

Hi , im having problems trying to divide a line in variable segments. I was able to divide in 2 segments using point on curve and then bang for the branches, but its too limited. is there any way i can be recursive or repetitive without losing the angle segment of the line in discussion?

thanks
maria

I’m not sure to understand what you’re trying to do. Can you draw something ?

And upload your file.