1. A computer-implemented method for compressing a three-dimensional modeled object in a computer-aided design system, comprising: by a processor: providing a mesh of the three-dimensional modeled object stored in a database; parameterizing (u,v) the mesh in a two-dimensional plane, the parameterization of the mesh resulting in a set of vertices having two-dimensional coordinates; providing a grid on the two-dimensional plane; and modifying the two-dimensional coordinates of each vertex by assigning one vertex to one intersection of the grid; wherein assigning one vertex to one intersection of the grid is performed by a repulsion technique that pushes each vertex away from another in furtherance of compressing the three-dimensional modeled object.