hoopsExchangeCADConverterSpec

Defined in 8fa04669143f4cb0/_build/target-deps/hoops_exchange_cad_converter_release/hoops_exchange_cad_converter/include/hoops_reader/CADConverterSpec.h

struct hoopsExchangeCADConverterSpec

Default configuration settings for HOOPS Exchange CAD.

Param sConfigFilePath

(str): Configuration file path

Param sFilePathIn

(str): Path to input model head file

Param sFolderPathOut

(str): Path to output destination folder

Param sFileNameOut

(str): Name of output USD file (the head file only in the case of multiple output files)

Param sSettingsFolderPath

(str): Path to material csv and potentially any other settings files

Param sStagePath

(str): Path to target USD stage

Param bInstancing

(bool): If true, enable instancing

Param bGlobalXforms

(bool): When instancing = false, this flag controls whether globalXforms are composited. If false local transforms are applied

Param bSingleton

(bool): True means we are doing a single file, false means we are an importer service for something like Create

Param bConvertHidden

(bool): If false, ignore hidden or non-visible parts during conversion. If true, convert all parts and maintain visibility settings.

Param bOptimize

(bool): Run UJITSO optimization on completed usd files

Param sOptimizerConfigJson

(str): Optimizer configuration file path

Param bMappedMaterials

(bool): Use material mapping or native materials

Param bDedup

(bool): Deduplicate mesh vertices and normals (welds mesh)

Param sTessLOD

(int): Tessellation Level of Detail (LOD) presets: 0=kA3DTessLODExtraLow, 1=kA3DTessLODLow,2=kA3DTessLODMedium, 3=kA3DTessLODHigh, 4=kA3DTessLODExtraHigh

Param bAccurateSurfaceCurvatures

(bool): Consider surface curvature to control triangles elongation direction

Param sUsdSuffix

(UsdSuffix): Save file(s) in following formats: “usd”, “usda”, “usdc”

Param bUseNormals

(bool): If true then we pass normals to USD. if false, then we do not.

Param bUseMaterials

(bool): If true then use specified modes of materials. if false, then use only basic display colors

Param bReportProgress

(bool): If true then we report import/export progress

Param bReportProgressFreq

(int): Progress reporting frequency in Hz.

Param _bUseCurrentStage

(bool): Use currently opened USD.

Public Members

std::string sConfigFilePath = ""
std::string sFilePathIn = ""
std::string sFolderPathOut = ""
std::string sFileNameOut = ""
std::string sSettingsFolderPath = ""
std::string sStagePath
bool bInstancing = true
bool bGlobalXforms = false
bool bSingleton = false
bool bConvertHidden = true
bool bOptimize = true
std::string sOptimizerConfigJson = ""
bool bMappedMaterials = false
bool bDedup = true
int iTessLOD = 2
bool bAccurateSurfaceCurvatures = true
std::string sUsdSuffix = "usd"
bool bUseNormals = true
bool bUseMaterials = true
bool bReportProgress = true
double bReportProgressFreq = 4.0
bool bUseCurrentStage = true