ToroidalSurface.to_mesh
- ToroidalSurface.to_mesh(nu=16, nv=16, du=None, dv=None)[source]
Convert the surface to a mesh.
- 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:
compas.datastructures.Mesh
A mesh object.