NXOpen.UF.ModlGeneral.CreTrimBsurf

ModlGeneral.CreTrimBsurf()

Refer to UF_MODL_cre_trim_bsurf for documentation.

Signature: CreTrimBsurf(nu, nv, ku, kv, uKnot, vKnot, poles, loopCount, edgeCounts, edgeSenses, edgeCurves, projCurves, distTol)

Parameters:
  • nu (int) – number of control vertices in u direction
  • nv (int) – number of control vertices 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 control vertices (wx,wy,wz,w)
  • loopCount (int) – count of trimming loops
  • edgeCounts (list of int) – array holding count of edges per loop
  • edgeSenses (list of int) – array holding sense of edge curves (sum of edge_counts[*]) -1 = end to start 1 = start to end
  • edgeCurves (list of Tag) – array holding object ids of trimming curves
  • projCurves (int) – do we need to project the curves? 0=no 1=yes
  • distTol (float) – distance tolerance for use in sp-curve creation
Returns:

A Tuple

Return type:

A tuple consisting of (bsurfId,knotFixup,poleFixup)

bsurfId(Tag): object identifier for b-surface

knotFixup(int): knot fixup status

poleFixup(int): pole fixup status

License requirements: SOLIDS MODELING