The invention relates to a 3D printing device with a dispensing needle head capable of rotating by 360 degrees without limitation and a printing head, and solves the technical problems that in the printing process of existing equipment for carrying out multi-material 3D printing on fibers and glue solutions, electric wires and air pipes are likely to be twisted or wound, and rotation by 360 degrees or above cannot be achieved. The 3D printer comprises an X-axis direction linear module, a Y-axis direction linear module, a Z-axis direction linear module, a platform and a printing head, the printing head comprises a vertical supporting plate, a fixing plate, a wire feeding device connecting plate, a rotating cylinder connecting plate, a pneumoelectric
slip ring support, a rotating arm, a wire feeding device, a rotating arm rotation driving motor, a pneumoelectric
slip ring, a pipeline, a pipeline fixing plate, an outer cylinder, a connecting sleeve, an upper bearing, a lower bearing, a driving gear, a driven gear, a
fiber output needle and a dispensing needle connecting arm rotation driving motor. The device comprises a small synchronous
pulley, a synchronous belt, a large synchronous
pulley, a dispensing needle connecting arm, a dispensing needle, a rotary hollow shaft, a glue tube and a glue injection cylinder. The method is widely applied to the technical field of multi-material 3D printing.