copy

Mesh.copy()[source]

Return mesh copy.

Duplicate combinatorics, vertex coordinates, and data blocks of a mesh. Data blocks are copied using the data object’s copy() method. For data blocks of type list and dict this results in shallow copies. Data of type ndarray won’t share data buffers with data blocks of the copy.

Returns:

Copy of the mesh.

Return type:

Mesh

Note

User defined vertex, face, and halfedge instance attributes are copied using copy.copy().