mesh_subdivide_corner
- compas.datastructures.mesh_subdivide_corner(mesh, k=1)[source]
Subdivide a mesh by cutting corners.
- Parameters
mesh (Mesh) – The mesh object that will be subdivided.
k (int) – Optional. The number of levels of subdivision. Default is
1
.
- Returns
Mesh – A new subdivided mesh.
Notes
This is essentially the same as Loop subdivision, but applied to general meshes.