EGI.subdivide

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

Subdivide the input mesh.

Parameters
  • mesh (compas.datastructures.Mesh) – A mesh object.

  • scheme (Literal[‘tri’, ‘quad’, ‘corner’, ‘catmullclark’, ‘doosabin’, ‘frames’, ‘loop’], optional) – The scheme according to which the mesh should be subdivided.

  • **options (dict[str, Any], optional) – Optional additional keyword arguments.

Returns

compas.datastructures.Mesh – The subdivided mesh.

Raises

ValueError – If the scheme is not supported.