Compute Mesh Intersecting Faces#

Computes indices of intersecting faces between pairs of Meshes.

Installation#

To use this node enable omni.physx.graph in the Extension Manager.

Inputs#

Name

Type

Descripton

Default

Exec In (inputs:execIn)

execution

Input execution

None

Overlaps Pair0 (inputs:overlapsPair0)

token[]

Path of the first geometry from the Prims Bundle to check for intesection with corresponding item at same index in overlapsPair1 input attribute.

[]

Overlaps Pair1 (inputs:overlapsPair1)

token[]

Path of the second geometry from the Prims Bundle to check for intesection with corresponding item at same index in overlapsPair0 input attribute

[]

Prims Bundle (inputs:primsBundle)

bundle

The prims of interest. It must be a bundle with one or more prim children. Currently only meshes prim are supported (sourcePrimType == ‘Mesh’). From each Mesh prim child reads: - ‘sourcePrimPath’ - ‘sourcePrimType’ - ‘points’ - ‘faceVertexIndices’ - ‘faceVertexCounts’ - ‘worldMatrix’ - ‘sourcePrimPath’ (and optionally ‘holeIndices’, ‘orientation’, ‘meshKey’ and ‘physics:approximation’) attributes

None

Outputs#

Name

Type

Descripton

Default

Exec Out (outputs:execOut)

execution

Output execution

None

Face Indices (outputs:faceIndices)

bundle

Bundle of child prims with faces0 / faces1 attributes containing indices of faces in source meshes that intersect each other

None

Overlaps (outputs:overlaps)

bool[]

Array of booleans where ‘True’ value signals that a corresponding pair of meshes in overlapsPair0 and overlapsPair1 input arrays at the same index do actually overlap.

None

Metadata#

Name

Value

Unique ID

omni.physx.graph.ImmediateComputeMeshIntersectingFaces

Version

1

Extension

omni.physx.graph

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

python, tests

tags

physics,physx,simulation,collision,faces,intersection,immediate

uiName

Compute Mesh Intersecting Faces

__tokens

{}

Categories

PhysX Immediate Queries

Generated Class Name

OgnPhysXImmediateComputeMeshIntersectingFacesDatabase

Python Module

omni.physxgraph