RhinoNurbsSurface.from_frame

classmethod RhinoNurbsSurface.from_frame(frame, domain_u=(0, 1), domain_v=(0, 1), degree_u=1, degree_v=1, pointcount_u=2, pointcount_v=2)[source]

Creates a planar surface from a frame and parametric domain information.

Parameters:
framecompas.geometry.Frame

A frame with point at the center of the wanted plannar surface and x and y axes the direction of u and v respectively.

domain_utuple[int, int], optional

The domain of the U parameter.

domain_vtuple[int, int], optional

The domain of the V parameter.

degree_uint, optional

Degree in the U direction.

degree_vint, optional

Degree in the V direction.

pointcount_uint, optional

Number of control points in the U direction.

pointcount_vint, optional

Number of control points in the V direction.

Returns:
compas_rhino.geometry.RhinoNurbsSurface