Integral double-direction gantry type block cutter