OCCNurbsSurface.from_interpolation

classmethod OCCNurbsSurface.from_interpolation(points, precision=0.001)

Construct a NURBS surface by approximating or interpolating a 2D collection of points.

Parameters:
points[list[compas.geometry.Point], list[compas.geometry.Point]]

The 2D collection of points.

precisionfloat, optional

The fitting precision.

Returns:
OCCNurbsSurface