alias_api.tessellate_uniform

alias_api.tessellate_uniform(node: alias_api.AlDagNode, type: alias_api.AlTessellateTypes, alongU: SupportsInt, alongV: SupportsInt) tuple[int, alias_api.AlDagNode]

This method causes the geometry below the AlDagNode to be subdivided into polygons in a uniform manner. Each spline patch will be converted into a fixed number of polygons. This method should not be used on trimmed geometry as it will fail; instead, you should use the adaptive method below.

Parameters
  • node – The AlDagNode above the geometry to tessellate.

  • type – kTESSELATE_TRIANGLE or kTESSELATE_QUADRILATERAL.

  • alongU – The number of subdivisions in the U direction (minimum of 1).

  • alongV – The number of subdivisions in the V direction (minimum of 1).

Return A tuple containing status and dagNode

The status code result: Success - the file was stored successfully Failure - the wire file could not be stored properly InvalidArgument - unrecognized file type or fileName is NULL.

The resulting mesh Dag Node.