OCCNurbsSurface.from_parameters
- classmethod OCCNurbsSurface.from_parameters(points, weights, knots_u, knots_v, mults_u, mults_v, degree_u, degree_v, is_periodic_u=False, is_periodic_v=False)
Construct a NURBS surface from explicit parameters.
- Parameters:
- pointslist[list[
Point
]] The control points of the surface.
- weightslist[list[float]]
The weights of the control points.
- knots_ulist[float]
The knots in the U direction, without multiplicities.
- knots_vlist[float]
The knots in the V direction, without multiplicities.
- mults_ulist[int]
The multiplicities of the knots in the U direction.
- mults_vlist[int]
The multiplicities of the knots in the V direction.
- u_dergeeint
Degree in the U direction.
- degree_vint
Degree in the V direction.
- is_periodic_ubool, optional
Flag indicating that the surface is periodic in the U direction.
- is_periodic_vbool, optional
Flag indicating that the surface is periodic in the V direction.
- pointslist[list[
- Returns: