FCTSession

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

CADInterfaces

Header

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

Include

#include "CTSession.h"

Syntax

class FCTSession : public CADLibrary::FCoreTechSessionBase

Variables

Name Description

Protected variable

CADLibrary::FIm...

 

ImportParams

Constructors

Name Description

Public function

FCTSession

(
    const TCHAR* InOwner
)

Make sure CT is initialized, and a main object is ready. Handle input file unit and an output unit

Functions

Name Description

Public function

void

 

ClearData()

Public function

CADLibrary::...

 

GetImportParameters()

Public function

bool

 

SaveBrep

(
    const FString& FilePath
)

Public function

void

 

SetImportParameters

(
    float ChordTolerance,
    float MaxEdgeLength,
    float NormalTolerance,
    CADLibrary::EStitchingTechnique Sti...,
    bool bScaleUVMap
)

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

Public function

void

 

SetScaleFactor

(
    double InScaleFactor
)

Public function

void

 

SetSceneUnit

(
    double InMetricUnit
)

Public function

bool

 

TopoFixes

(
    double SewingToleranceFactor
)

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

Constants

Name

Description

SharedSession

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