A function-oriented designing and generating technology for the point-contact tooth surfaces of spiral bevel and hypoid gears is introduced. The tooth surface parameters are determined directly with the designing variables of the instantaneous transmission function, the locus of tooth contact points and the tooth contact ellipse dimension to design the point-contact tooth surfaces with the expected performances. The formulae for designing are provided. The designed tooth surfaces are generated with the free-form bevel gear machine, and the basic equations and formulae for the four-axis generating of the tooth surfaces are presented. The generating motions are expressed as the functions of the work gear rotary angle, which is taken as a motion parameter. The methods to determine the motion functions and the other machine setting parameters are explained through an example.