With the advances of technology, the virtual mechanism is more and more popular. This paper develops a multi-axis virtual mechanism system, this system is combined by object and coordinate systems. This system provides three kind of objects include cuboid, cylinder, sphere. By using these objects to combine virtual mechanism. The number of the objects and coordinate systems can be increased by user. The object has to be subordinate to coordinate systems. Under the coordinate, there has to be an exist object. The motion of objects is effected by changing the parameter of coordinate. The function between coordinate systems can be inputted by user. Using OpenGL to show the virtual mechanism. After building the virtual mechanism, using the Separating Axis Theorem to know they had interference or not.