Size to Scale

Generate scales to make each prim fit a cube of specified size.

Installation

To use this Node, you must enable omni.replicator.core in the Extension Manager.

Inputs

Name

Type

Description

Default

prims

bundle

Prim(s) to convert the scale to.

numSamples

int

number of samples

size

double[3][]

Desired size of the input prims.

maintainAspectRatio

bool

Scale each axis by the same value to maintain aspect ratio

True

execIn

execution

exec

Outputs

Name

Type

Description

Default

execOut

execution

exec

samples

double[3][]

scale values of each prim in the world space

numSamples

int

number of samples