NurbsSurface.to_triangles

NurbsSurface.to_triangles(nu=100, nv=None)[source]

Convert the surface to a list of triangles.

Parameters
  • nu (int, optional) – Number of quads in the U direction. Every quad has two triangles.

  • nv (int, optional) – Number of quads in the V direction. Every quad has two triangles.

Returns

list[list[compas.geometry.Point]]