ndiffusion.copy_mesh¶
- ndiffusion.copy_mesh(mesh)[source]¶
Return an independent copy of mesh, including any attached names.
Copying every field costs roughly 20x what rewriting
material_idalone does, which is whyassign_materials()paints in place by default.