NurbsSurface.to_polyhedron

NurbsSurface.to_polyhedron(nu=16, nv=16, du=None, dv=None)[source]

Convert the surface to a polyhedron.

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.Polyhedron

A polyhedron object.