RhinoNurbsSurface.from_parameters

classmethod RhinoNurbsSurface.from_parameters(points, weights, knots_u, knots_v, mults_u, mults_v, degree_u, degree_v, is_periodic_u=False, is_periodic_v=False)[source]

Construct a NURBS surface from explicit parameters.

Parameters:
pointslist[list[compas.geometry.Point]]

The control points.

weightslist[list[float]]

The weights of the control points.

knots_ulist[float]

The knots in the U direction, without multiplicity.

knots_vlist[float]

The knots in the V direction, without multiplicity.

mults_ulist[int]

Multiplicity of the knots in the U direction.

mults_vlist[int]

Multiplicity of the knots in the V direction.

degree_uint

Degree in the U direction.

degree_vint

Degree in the V direction.

Returns:
compas_rhino.geometry.RhinoNurbsSurface