OCCExtrusionSurface.to_vertices_and_faces
- OCCExtrusionSurface.to_vertices_and_faces(nu=16, nv=16, du=None, dv=None)
Convert the surface to a list of vertices and faces.
- 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:
- verticeslist of
compas.geometry.Point
The vertices of the surface discretisation.
- faceslist of list of int
The faces of the surface discretisation as lists of vertex indices.
- verticeslist of