3D printer based on a V-slot rail structure