OCCRevolutionSurface.to_triangles

OCCRevolutionSurface.to_triangles(nu=16, nv=16, du=None, dv=None)

Convert the surface to a list of triangles.

Parameters:
nuint, optional

The number of faces in the u direction. Default is 16.

nvint, optional

The number of faces in the v direction. Default is 16.

dutuple, optional

The subset of the domain in the u direction. Default is None, in which case the entire domain is used.

dvtuple, optional

The subset of the domain in the v direction. Default is None, in which case the entire domain is used.

Returns:
list[list[compas.geometry.Point]]