NXOpen.UF.Modl.IdentifyExteriorUsingRays

Modl.IdentifyExteriorUsingRays()

Refer to UF_MODL_identify_exterior_using_rays for documentation.

Signature: IdentifyExteriorUsingRays(numBodies, bodies, xforms, origin, chordalTol, rayType, numFaces)

Parameters:
  • numBodies (int) – Number of tags in the bodies array.
  • bodies (list of Tag) – Array of body tags to identify faces from.
  • xforms (list of Tag) – Array of xforms. One for each body, determines the position of the body relative to its source geometry. NULL_TAG implies no transformation.
  • origin (list of float) – Point to fire rays from from whenray_type = UF_LINKED_RAY_FROM_POINT
  • chordalTol (float) – Chordal tolerance for edges
  • rayType (int) – Determines orign of rays fired at each face. May be one of: UF_LINKED_RAY_ALONG_NORMS UF_LINKED_RAY_ABOVE_NORMS UF_LINKED_RAY_FROM_POINT
  • numFaces (int) – Number of tags in the faces array.If input is > 0 will reallocate and add external faces to existing output arrays
Returns:

A Tuple

Return type:

A tuple consisting of (numFaces,faces,bodyIndex)

numFaces(int): Modified value of numFaces

faces(list of Tag): Array of exterior faces.

bodyIndex(list of int): Array of indices giving the body/xform the face came from.

License requirements: SOLIDS MODELING