Mesh.subdivide

Mesh.subdivide(scheme='catmullclark', **options)

Subdivide the input mesh.

Parameters
  • mesh (Mesh) – A mesh object.

  • scheme ({‘tri’, ‘corner’, ‘catmullclark’, ‘doosabin’}, optional) – The scheme according to which the mesh should be subdivided. Default is 'catmullclark'.

  • options (dict) – Optional additional keyword arguments.

Returns

Mesh – The subdivided mesh.

Raises

NotImplementedError – If the scheme is not supported.