Tube has a complex structure in space, in order to machining tubes of different radius and avoid interference, a new type of Triz bending machine is developed, which has up to eight dies by moving and rotating the head of the machine. The key technology of tube coordinates transformation is solved by the vector algorithm. For the springback problem, a compensation is add to the final working parameters, which can reduce the testing time and the quantity of scraps. Finally the tube bending simulation system for the new machine is developed based on Visual Studio 2010 and Open GL.