The invention discloses a molding method of components of heterogeneous materials, comprising the following steps of: establishing a CAD model of a three-dimensional body, carrying out variegation on the CAD model, then carrying out discretization slicing delamination to obtain a series of two-dimensional slices with material information and structure information, converting the structure information of each slice into corresponding digital control processing programs, realizing precise accumulation of molding materials of each separated layer by digital control motion and opening and closing of a nozzle, accomplishing microdrop accumulation of the material of the layer according the above method under the control of control processing program of corresponding layer; spraying propping materials for padding, as propping, in areas of each layer which are not sprayed; bonding and overlaying layer by layer to produce the designed three-dimensional body finally; removing padded propping materials of each layer to obtain three-dimensional molded parts containing heterogeneous materials corresponding to computer solid models. The invention can produce heterogeneous materials and functional components with high molding precision and strength quickly, the process is simple, the production cost is low, and the choice of materials is wide.