def mesh_fast_copy(other): subd = Mesh() subd.vertex = deepcopy(other.vertex) subd.face = deepcopy(other.face) subd.facedata = deepcopy(other.facedata) subd.halfedge = deepcopy(other.halfedge) subd._max_face = other._max_face subd._max_vertex = other._max_vertex return subd