Curve Tube Positions

Take the points on a curve and a subset of vertex ranges and generate point geometry corresponding to a tube that follows the curve positions. Imagine a curve that is the center of a straw. The tube is constructed by inflating subsections of the curve.

Installation

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

Inputs

Name

Type

Descripton

Default

Columns (inputs:cols)

int[]

Index along the curve where the tube is to be constructed.

[]

Curve Points (inputs:curvePoints)

float[3][]

Points on the curve from which the tubes are to be constructed.

[]

Curve Vertex Counts (inputs:curveVertexCounts)

int[]

Vertex counts for each curve frame. Must have the same number of elements as ‘Curve Vertex Starts’.

[]

Curve Vertex Starts (inputs:curveVertexStarts)

int[]

Vertex index starting points for each curve frame. Must have the same number of elements as ‘Curve Vertex Counts’.

[]

Out Vectors (inputs:out)

float[3][]

Out vector directions on the constructed tube.

[]

Tube Point Starts (inputs:tubePointStarts)

int[]

Tube starting point index values. Must have the same number of elements as ‘Columns’.

[]

Up Vectors (inputs:up)

float[3][]

Up vectors on the constructed tube.

[]

Tube Widths (inputs:width)

float[]

Width of the constructed tube.

[]

Outputs

Name

Type

Descripton

Default

Points (outputs:points)

float[3][]

Points on the tube that was constructed.

None

Metadata

Name

Value

Unique ID

omni.graph.nodes.CurveTubePositions

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Curve Tube Positions

Categories

geometry:generator

Generated Class Name

OgnCurveTubePositionsDatabase

Python Module

omni.graph.nodes