API Option & Type

ImportExportOption

bExportGarment:bool
bExportAvatar:bool
bSingleObject:bool
weldType:WELD_TYPE
bThin:bool
bUnifiedUVCoordinates:bool
bCreateUnifiedTexture:bool
unifiedTextureSize:float
unifiedTextureFillSeamSize:int
bUseInifinteSeams:bool
unifiedTextureBakeMargin:float
unifiedTextureBakeRelateive:bool
bUnifiedDiffuseMap:bool
bUnifiedNormalMap:bool
bUnifiedMetalnessMap:bool
bUnifiedRoughnessMap:bool
bUnifiedOpacityMap:bool
bUnifiedDisplacementMap:bool
bIncludeHiddenObject:bool
bIncludeInnerShape:bool
scale:float
axisX:int
axisY:int
axisZ:int
bInvertX:bool
bInvertY:bool
bInvertZ:bool
bSaveColorWays:bool
bSaveInZip:bool
bDiffuseColorCombined:bool
bExcludeAmbient:bool
bOpacityMap:bool
bMetaData:bool
bEmbedded:bool
bExportLight:bool
bExportFabric:bool
bExportAnimation:bool
bSaveColorWaysSingleFile:bool
m_AuthenticationKeyForAPI:str
ImportObjectType:int
bAutoTranslate:bool
bCreateCamera:bool
bCreateAnimation:bool
bCreateCacheAnimation:bool
bMoveGarment:bool
bAddArrangementPoints:bool
bAutoCreateFittingSuit:bool
bAdd:bool
translationValueX:float
translationValueY:float
translationValueZ:float
bTrace2DPatternsUVMap:bool
bCreateMetallicRoughnessMap:bool

ImportZPRJOption

bAppend:bool
bLoadGarment:bool
bLoadAvatar:bool
translationValueX:float
translationValueY:float
translationValueZ:float
translationUnit:CLO_API_UNIT
bLoadSceneAndProps:bool
bLoadRenderProperties:bool
bLoadCustomView:bool

ImportDxfOption

m_bAppend:bool
m_bAutoScale:bool
m_Scale:float
m_Angle:float
m_bImportPatternAnnotation:bool
m_bAutoTraceAsInternalLines:bool
m_SwapCuttingLineAndSewingLine:bool
m_bIncludeNotchs:bool
m_bAutoDistribute:bool
m_bOptimizeAllCurvePoints:bool
m_bImportAllDrawCurvePoint:bool
m_bRemoveNonGradingPoints:bool
m_bConvertToSeamAllowance:bool

ExportDxfOption

m_bSwapOutLine:bool
m_bDuplicateNotch:bool
m_bCheckedConvertCtoS:bool
m_bExportWithoutGrading:bool
m_bOptimizeCurvePoints:bool
m_bExportWithoutBaselines:bool
m_bExportSelectedPatterns:bool
m_ExportDXFFormatType:int
m_ExportBBType:int
m_fScale:float
m_RotateAngle:float
m_bMetric:bool

ExportTechpackOption

m_bSaveZpac:bool
m_bSaveZprj:bool
m_bCaptureSceneThumbnailWithoutAvatar:bool
m_bCaptureSceneThumbnailWithMark:bool
m_bCaptureSceneThumbnailWithAvatar:bool
m_bCaptureItemThumbnail:bool
m_bCaptureHighResolutionFrontThumbnail:bool
m_bCapturePatternLayoutThumbnail:bool
m_bCapturePatternLayoutThumbnailWithFabricMark:bool
m_bCapturePatternLayoutThumbnailWithTrimMark:bool
m_bCaptureTurntableThumbnail:bool
m_bExportTextures:bool
m_bUseAverageColor:bool
m_bShowModalProgressBar:bool
m_bUseCustomImageAsThumbnail:bool
m_ShowBaseLineFor3DCapturePerColorway:map[ int, bool]
m_AuthenticationKeyForAPI:str
m_ExportType:ExportTechPackType

CloApiRgb

R:int
G:int
B:int

CloApiRgba

R:int
G:int
B:int
A:int

AttachFileInfo

fileName:str
filePath:str

MimeData

mimeType:str
mimeNmae:str
mimeValue:str

CloApiRestRequest

header:list[std::pair[str, str]]
method:HttpMethodType
payload:str
url:str
attachements:list[AttachFileInfo]
formData:list[MimeData]

CloApiRestResponse

header:str
buffer:str
responseCode:int

CloApiGraphicDimensions

width:float
height:float