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.
If false, ignore hidden or non-visible parts during conversion.
If true then metadata, including PMI, are imported as USD Attributes.
Creator version string
Deduplicate mesh vertices and normals (welds mesh)
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 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#
If false, ignore hidden or non-visible parts during conversion. If true, convert all parts and maintain visibility settings
- Type:
(bool)
- 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#
Deduplicate mesh vertices and normals (welds mesh)
- Type:
(bool)
- 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 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)