The square roller shaping machine is used to make the material in the bag more evenly distributed by the way of the square roller bumping, and then make the shape of the bag more regular by the way of pressing the bag, so as to facilitate the robot to grab and stack.