curve array modifier in 3D

is there a way to make a 3D curve to be followed by an array for a cable or a rope in 3D?

i tried even with Ctrl-A each object but the object is shifting location and being distorted ?

is it possible to get a nice mesh following a 3d curve ?

you can see the path for the curve in 3D and would like some shape to follow this using array
but with not too much distorsion and ifpossible be able to adjsut the diameter !

i tried with lenght to curve but seems to be giving a lot of distorsion in 3D !

any suggestions welcome