The invention discloses a compliant mechanism generation method based on zero depletion grid surface continuous deformation. The compliant mechanism generation method comprises the following steps: firstly, configuring initial component layout, initializing a calculation layer based on isogeometric analysis, applying load and constraint on isogeometric unit control points of the calculation layer,initializing iterative parameters of a moving asymptotic method, and optimizing iteration; calculating the volume of the triangular mesh, mapping the topology described by the upper triangular mesh to a lower calculation layer, calculating the projection value of a control point, and assembling an overall rigidity matrix; calculating a target function value of the structure response, solving thesensitivity of the volume, and inputting the sensitivity into an optimizer to obtain an updated coordinate value; judging triggering conditions of grid refinement, grid splitting and grid re-divisionoperation according to the updated vertex coordinate value, completing grid re-update, calculating non-control vertex update coordinates, updating the triangular grid curved surface shape, and completing one iteration; repeating iteration until convergence conditions are met. According to the method, structural response calculation and sensitivity analysis in the topological optimization process are reliably realized.