Parameters#
- class omni.converter.hoops.Parameters#
Bases:
pybind11_objectHOOPS Converter Parameters Class.
Methods
__init__(*args, **kwargs)Overloaded function.
parseArgs(self[, args])Parse SdfLayer::FileFormatArguments to populate this Parameters instance
toArgs(self)Create file format arguments that could be used to recreate these conversion parameters.
Attributes
Consider surface curvature to control triangles elongation direction
If false, tessellate for visualization.
If true then curve objects are imported as USD BasisCurves.
convertHidden option is deprecated.
If true then metadata, including PMI, are imported as USD Attributes.
Creator version string
If true (default), weld mesh vertices by merging those with identical position and normal, then reindex faces to the reduced vertex list.
eNone (0 - convert all elements), eOmit (1 - skip hidden elements), eHide (2 - convert as invisible), eDeactivate (3 - convert and deactivate)
When instancing = false, this flag controls whether globalXforms are composited.
Style of instancing to use in USD.
ePreviewSurface (compatible with USD-enabled DCCs), ePreviewSurface_OmniPBR (optimized for RTX rendering and USD DCCs).
If true, hidden elements that would be ommitted during conversion will be ommitted at load time.
If true then we report import/export progress
Progress reporting frequency in Hz.
0=kA3DTessLODExtraLow, 1=kA3DTessLODLow,2=kA3DTessLODMedium, 3=kA3DTessLODHigh, 4=kA3DTessLODExtraHigh
eFileDefault (set up axis based on known formats that embeds it), eYup (Set USD stage to Y up), eZup (Set USD stage to Z up)
If true then use specified modes of materials.
If true then we pass normals to USD.
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: omni.converter.hoops._omni_converter_hoops.Parameters) -> None
__init__(self: omni.converter.hoops._omni_converter_hoops.Parameters, args: Dict[str, str]) -> None
- parseArgs(
- self: omni.converter.hoops._omni_converter_hoops.Parameters,
- args: Dict[str, str] = {},
Parse SdfLayer::FileFormatArguments to populate this Parameters instance
- Parameters:
pxr::SdfLayer::FileFormatArguments – FileFormatArguments which represent convert options.
- toArgs( ) Dict[str, str]#
Create file format arguments that could be used to recreate these conversion parameters.
- property accurateSurfaceCurvatures#
Consider surface curvature to control triangles elongation direction
- Type:
(bool)
- property accurateTessellation#
If false, tessellate for visualization. If true, tessellate for analysis.
- Type:
(bool)
- property convertCurves#
If true then curve objects are imported as USD BasisCurves. If false, then we skip and do not Import any curve object to USD.
- Type:
(bool)
- property convertHidden#
convertHidden option is deprecated. Use filterStyle instead
- property convertMetadata#
If true then metadata, including PMI, are imported as USD Attributes. If false, then we skip and do not Import any metadata to USD.
- Type:
(bool)
- property creator#
Creator version string
- Type:
(str)
- property dedup#
If true (default), weld mesh vertices by merging those with identical position and normal, then reindex faces to the reduced vertex list. If false, leave vertex and normal arrays unchanged.
- Type:
(bool)
- property filterStyle#
eNone (0 - convert all elements), eOmit (1 - skip hidden elements), eHide (2 - convert as invisible), eDeactivate (3 - convert and deactivate)
- Type:
(enum)
- Type:
Filter style for hidden elements
- property globalXforms#
When instancing = false, this flag controls whether globalXforms are composited. If false local transforms are applied
- Type:
(bool)
- property instancingStyle#
Style of instancing to use in USD.
- property materialType#
ePreviewSurface (compatible with USD-enabled DCCs), ePreviewSurface_OmniPBR (optimized for RTX rendering and USD DCCs).
- Type:
(enum)
- Type:
Material type
- property omitHiddenOnLoad#
If true, hidden elements that would be ommitted during conversion will be ommitted at load time.
- Type:
(bool)
- property reportProgress#
If true then we report import/export progress
- Type:
(bool)
- property reportProgressFreq#
Progress reporting frequency in Hz.
- Type:
(int)
- property tessLOD#
0=kA3DTessLODExtraLow, 1=kA3DTessLODLow,2=kA3DTessLODMedium, 3=kA3DTessLODHigh, 4=kA3DTessLODExtraHigh
- Type:
(int)
- Type:
Tessellation Level of Detail (LOD) presets
- property upAxis#
eFileDefault (set up axis based on known formats that embeds it), eYup (Set USD stage to Y up), eZup (Set USD stage to Z up)
- Type:
(enum)
- Type:
Up Axis
- property useMaterials#
If true then use specified modes of materials. if false, then use only basic display colors
- Type:
(bool)
- property useNormals#
If true then we pass normals to USD. if false, then we do not.
- Type:
(bool)