Mesh.transformed
- Mesh.transformed(transformation)[source]
- Transform a copy of - mesh.- Parameters
- mesh (compas.datastructures.Mesh) – The mesh. 
- transformation (compas.geometry.Transformation) – The transformation. 
 
- Returns
- Mesh – A transformed independent copy of - mesh.
 - Notes - The original mesh is not modified. Instead a transformed independent copy is returned. - Examples - >>> from compas.datastructures import Mesh >>> from compas.geometry import matrix_from_axis_and_angle >>> mesh = Mesh.from_polyhedron(6) >>> T = matrix_from_axis_and_angle([0, 0, 1], math.pi / 4) >>> tmesh = mesh_transformed(mesh, T)