ICoreTechInterface

Windows
MacOS
Linux

References

Module

CADInterfaces

Header

/Engine/Plugins/Enterprise/DatasmithCADImporter/Source/CADInterfaces/Public/CoreTechTypes.h

Include

#include "CoreTechTypes.h"

Syntax

class ICoreTechInterface

Functions

Name Description

Public function

bool

 

AddBodies

(
    const TArray< uint64 >& Bodies,
    uint64 ComponentID
)

Public function

bool

 

ChangeTesselationParameters

(
    double MaxSag,
    double MaxLength,
    double MaxAngle
)

Public function

bool

 

ChangeUnit

(
    double SceneUnit
)

Change Kernel_IO unit As to be call after CTKIO_UnloadModel This method set also the Tolerance to 0.00001 m whether 0.01 mm

Public function

bool

 

CreateBody

(
    const TArray< uint64 >& Faces,
    uint64& BodyID
)

Public function

bool

 

CreateCoedge

(
    bool bReversed,
    uint64& CoedgeID
)

Public function

bool

 

CreateFace

(
    uint64 SurfaceID,
    bool bIsForward,
    const TArray< uint64 >& Loops,
    uint64& FaceID
)

Public function

bool

 

CreateLoop

(
    const TArray< uint64 >& Coedges,
    uint64& LoopID
)

Public function

bool

 

CreateModel

(
    uint64& OutMainObjectId
)

Public function

bool

 

CreateNurbsCurve

(
    const FNurbsCurve& Curve,
    uint64& ObjectID
)

Public function

bool

 

CreateNurbsSurface

(
    const FNurbsSurface& Surface,
    uint64& ObjectID
)

Public function

void

 

GetTessellation

(
    uint64 BodyId,
    TSharedPtr< FBodyMesh >& OutBodyMe...,
    bool bIsBody
)

Public function

void

 

GetTessellation

(
    uint64 BodyId,
    FBodyMesh& OutBodyMesh,
    bool bIsBody
)

Public function

bool

 

InitializeKernel

(
    const TCHAR*
)

Public function

bool

 

IsExternal()

Returns true if the object has been created outside of the memory pool of the running process This is the case when the object has been created by the DatasmithRuntime plugin

Public function

ECoreTechPar...

 

LoadFile

(
    const FFileDescription& InFileDesc...,
    const FImportParameters& InImportP...,
    const FString& InCachePath,
    FArchiveSceneGraph& OutSceneGraphA...,
    TArray< FString >& OutWarningMessa...,
    TArray< FBodyMesh >& OutBodyMeshes
)

Public function

ECoreTechPar...

 

LoadFile

(
    const FFileDescription& InFileDesc...,
    FLoadingContext& LoadingContext
)

Public function

bool

 

LoadModel

(
    const TCHAR* file_name,
    uint64& main_object,
    int32 load_flags,
    int32 lod,
    const TCHAR* string_option
)

Public function

void

 

MatchCoedges

(
    uint64 FirstCoedgeID,
    uint64 SecondCoedgeID
)

Public function

bool

 

Repair

(
    uint64 MainObjectID,
    EStitchingTechnique StitchingTechni...,
    double SewingToleranceFactor
)

This function calls, according to the chosen EStitchingTechnique, Kernel_io CT_REPAIR_IO::Sew or CT_REPAIR_IO::Heal.

Public function

bool

 

SaveFile

(
    const TArray< uint64 >& objects_li...,
    const TCHAR* file_name,
    const TCHAR* format,
    const uint64 coordsystem
)

Public function

bool

 

SetCoreTechTessellationState

(
    const FImportParameters& ImportPar...
)

Public function

void

 

SetExternal

(
    bool Value
)

Public function

bool

 

SetUVCurve

(
    const FNurbsCurve& SurfacicCurve,
    double Start,
    double End,
    uint64 CoedgeID
)

Public function

bool

 

ShutdownKernel()

Public function

bool

 

UnloadModel()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss