NXOpen.UF.ModlGeneral.CreateBsurf

ModlGeneral.CreateBsurf()

Refer to UF_MODL_create_bsurf for documentation.

Signature: CreateBsurf(nu, nv, ku, kv, uKnot, vKnot, poles)

Parameters:
  • nu (int) – Number of poles in u direction
  • nv (int) – Number of poles in v direction
  • ku (int) – Order in u direction
  • kv (int) – Order in v direction
  • uKnot (list of float) – Knot sequence in u direction
  • vKnot (list of float) – Knot sequence in v direction
  • poles (list of float) – Array of homogeneous poles (wx,wy,wz,w) data for row n immediately follows row n-1 in the array. i.e. poles for: row 1 = (1,1:ip1) row 2 = (1,ip1+1:2*ip1) row n = (1,(n-1*ip1+1:n*ip1)
Returns:

A Tuple

Return type:

A tuple consisting of (bsurfObjId,knotFixup,poleFixup)

bsurfObjId(Tag): Object identifier for b-surface

knotFixup(int): Knot fixup status: 0 = no fixups performed 1 = knot sequence fixed

poleFixup(int): Pole fixup status: 0 = no fixup performed 1 = pole array fixed

License requirements: SOLIDS MODELING and FREE-FORM MODELING or Basic Freeform Modeling