FCADModelToCoretechConverterBase

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FCTSession

ICADModelConverter

FCADModelToCoretechConverterBase

References

Module

CoreTechSurface

Header

/Engine/Plugins/Enterprise/DatasmithCADImporter/Source/CoreTechSurface/Public/CADModelToCoretechConverterBase.h

Include

#include "CADModelToCoretechConverterBase.h"

Syntax

class FCADModelToCoretechConverterBase :
    public CADLibrary::FCTSession,
    public CADLibrary::ICADModelConverter

Constructors

Name Description

Public function

FCADModelToCoretechConverterBase

(
    const TCHAR* InOwner,
    const CADLibrary::FImportParameters...
)

Overridden from ICADModelConverter

Name Description

Public function Virtual Const

void

 

AddSurfaceDataForMesh

(
    const TCHAR* InFilePath,
    const CADLibrary::FMeshParameters&...,
    const FDatasmithTessellationOptions...,
    FDatasmithMeshElementPayload& OutM...
)

Public function Virtual Const

double

 

GetMetricUnit()

Public function Virtual Const

double

 

GetScaleFactor()

Public function Virtual

void

 

InitializeProcess

(
    double InMetricUnit
)

Public function Virtual

bool

 

IsSessionValid()

Public function Virtual

bool

 

RepairTopology()

Public function Virtual

bool

 

SaveBRep

(
    const TCHAR* InFolderPath,
    TSharedRef< IDatasmithMeshElement >...
)

Public function Virtual

void

 

SetImportParameters

(
    double ChordTolerance,
    double MaxEdgeLength,
    double NormalTolerance,
    CADLibrary::EStitchingTechnique Sti...
)

Set Import parameters, Tack care to set scale factor before because import parameters will be scale according to scale factor

Public function Virtual

void

 

SetMetricUnit

(
    double NewMetricUnit
)

Public function Virtual

bool

 

Tessellate

(
    const CADLibrary::FMeshParameters&...,
    FMeshDescription& OutMeshDescripti...
)