Design of a catheter with variable shape and properties