def setBendLength(self, x):
        """ set bend length

        :param x: new bend length to be assigned, [m]
        :return: None
        """
        if x != self.bend_length:
            self.bend_length = x
            self.refresh = True
set bend length

        :param x: new bend length to be assigned, [m]
        :return: None