NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
NXOpen::STLCreator类 参考

STL文件创建器 更多...

#include <STLCreator.hxx>

类 NXOpen::STLCreator 继承关系图:
NXOpen::BaseCreator NXOpen::DexBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public 类型

enum  OutputTypeEnum { OutputTypeEnumBinary , OutputTypeEnumText }
enum  SheetBodyExportOptionEnum { SheetBodyExportOptionEnumIndividualSheets , SheetBodyExportOptionEnumJoinSheets }
Public 类型 继承自 NXOpen::BaseCreator
enum  ExportDestinationOption { ExportDestinationOptionNativeFileSystem , ExportDestinationOptionTeamcenter }

Public 成员函数

double AdjacencyTol ()
double AngularTol ()
bool AutoNormalGen ()
double ChordalTol ()
bool ErrorMessageDisplay ()
NXOpen::SelectNXObjectListExportSelectionBlock ()
NXString HeaderInfo ()
int NormalDirectionIndicator ()
bool NormalDisplay ()
NXOpen::STLCreator::OutputTypeEnum OutputType ()
NXOpen::SelectNXObjectListReferenceSurfaceSelectionBlock ()
bool ReverseNormalDirection ()
void SetAdjacencyTol (double adjacencyTol)
void SetAngularTol (double angularTol)
void SetAutoNormalGen (bool autoNormalGen)
void SetChordalTol (double chordalTol)
void SetErrorMessageDisplay (bool errorMessageDisplay)
void SetHeaderInfo (const char *headerInfo)
void SetHeaderInfo (const NXString &headerInfo)
void SetNormalDirectionIndicator (int normalDirectionIndicator)
void SetNormalDisplay (bool normalDisplay)
void SetOutputType (NXOpen::STLCreator::OutputTypeEnum outputType)
void SetReverseNormalDirection (bool reverseNormalDirection)
void SetSheetBodyExportOption (NXOpen::STLCreator::SheetBodyExportOptionEnum sheetBodyExportOption)
void SetTriangleDisplay (bool triangleDisplay)
NXOpen::STLCreator::SheetBodyExportOptionEnum SheetBodyExportOption ()
bool TriangleDisplay ()
Public 成员函数 继承自 NXOpen::BaseCreator
NXString DatasetName ()
NXOpen::BaseCreator::ExportDestinationOption ExportDestination ()
NXString OutputFile ()
NXString OutputFileExtension ()
void SetDatasetName (const char *datasetName)
void SetDatasetName (const NXString &datasetName)
void SetExportDestination (NXOpen::BaseCreator::ExportDestinationOption exportFrom)
void SetOutputFile (const char *filename)
void SetOutputFile (const NXString &filename)
void SetOutputFileExtension (const char *outputFileExtension)
void SetOutputFileExtension (const NXString &outputFileExtension)
Public 成员函数 继承自 NXOpen::DexBuilder
bool ProcessHoldFlag ()
void SetProcessHoldFlag (bool doingFileSave)
Public 成员函数 继承自 NXOpen::Builder
NXOpen::NXObjectCommit ()
void Destroy ()
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
NXOpen::NXObjectGetObject ()
NXOpen::PreviewBuilderPreviewBuilder ()
void ShowResults ()
virtual bool Validate ()
Public 成员函数 继承自 NXOpen::TaggedObject
tag_t Tag () const

友元

class _STLCreatorBuilder

详细描述

STL文件创建器

表示用于导出STL数据的STLCreator。 此类通过DexManager创建。 Commit()将返回NULL对象。 要创建此类的新实例,请使用DexManager::CreateStlCreator。 默认值:

属性
AdjacencyTol0.058
AngularTol18.0
AutoNormalGen0
ChordalTol0.058
ErrorMessageDisplay0
NormalDisplay0
OutputTypeBinary
ReverseNormalDirection0
SheetBodyExportOptionIndividualSheets
TriangleDisplay0

创建于NX11.0.0。

成员枚举类型说明

◆ OutputTypeEnum

输出实体到STL的选项

枚举值
OutputTypeEnumBinary 

二进制输出类型

OutputTypeEnumText 

文本输出类型

◆ SheetBodyExportOptionEnum

选择片体导出选项

枚举值
SheetBodyExportOptionEnumIndividualSheets 

按单个片体导出

SheetBodyExportOptionEnumJoinSheets 

尝试合并片体

成员函数说明

◆ AdjacencyTol()

double NXOpen::STLCreator::AdjacencyTol ( )

Returns the adjacency tol - tolerance for adjacency
Created in NX11.0.0.

License requirements : None

◆ AngularTol()

double NXOpen::STLCreator::AngularTol ( )

Returns the angular tol - tolerance for angular
Created in NX11.0.0.

License requirements : None

◆ AutoNormalGen()

bool NXOpen::STLCreator::AutoNormalGen ( )

Returns the Auto Normal Gen - if set to true will generate auto normals
Created in NX11.0.0.

License requirements : None

◆ ChordalTol()

double NXOpen::STLCreator::ChordalTol ( )

Returns the chordal tol - the distance between a chord of the tessellation and the true surface
Created in NX11.0.0.

License requirements : None

◆ ErrorMessageDisplay()

bool NXOpen::STLCreator::ErrorMessageDisplay ( )

返回错误消息显示状态 - 若为true则显示错误消息
创建于 NX11.0.0.

许可要求 : 无

◆ ExportSelectionBlock()

NXOpen::SelectNXObjectList * NXOpen::STLCreator::ExportSelectionBlock ( )

Returns the export selection block - the object selection will be done by this block.
Created in NX11.0.0.

License requirements : None

◆ HeaderInfo()

NXString NXOpen::STLCreator::HeaderInfo ( )

返回头部信息 - STL头部信息
创建于 NX11.0.0.

许可要求 : 无

◆ NormalDirectionIndicator()

int NXOpen::STLCreator::NormalDirectionIndicator ( )

返回法线方向指示器 - STL法线方向指示器
创建于 NX11.0.0.

许可要求 : 无

◆ NormalDisplay()

bool NXOpen::STLCreator::NormalDisplay ( )

Returns the Normal Display - if set to true will display normal
Created in NX11.0.0.

License requirements : None

◆ OutputType()

NXOpen::STLCreator::OutputTypeEnum NXOpen::STLCreator::OutputType ( )

Returns the output type - this will decide if output type should be binary or text
Created in NX11.0.0.

License requirements : None

◆ ReferenceSurfaceSelectionBlock()

NXOpen::SelectNXObjectList * NXOpen::STLCreator::ReferenceSurfaceSelectionBlock ( )

Returns the reference surface selection - the object selection will be done by this block.
Created in NX11.0.0.

License requirements : None

◆ ReverseNormalDirection()

bool NXOpen::STLCreator::ReverseNormalDirection ( )

返回反向法线方向状态 - 若为true则反转法线方向
创建于 NX11.0.0.

许可要求 : 无

◆ SetAdjacencyTol()

void NXOpen::STLCreator::SetAdjacencyTol ( double adjacencyTol)

Sets the adjacency tol - tolerance for adjacency
Created in NX11.0.0.

License requirements : None

参数
adjacencyToladjacencytol

◆ SetAngularTol()

void NXOpen::STLCreator::SetAngularTol ( double angularTol)

Sets the angular tol - tolerance for angular
Created in NX11.0.0.

License requirements : None

参数
angularTolangulartol

◆ SetAutoNormalGen()

void NXOpen::STLCreator::SetAutoNormalGen ( bool autoNormalGen)

Sets the Auto Normal Gen - if set to true will generate auto normals
Created in NX11.0.0.

License requirements : None

参数
autoNormalGenautonormalgen

◆ SetChordalTol()

void NXOpen::STLCreator::SetChordalTol ( double chordalTol)

Sets the chordal tol - the distance between a chord of the tessellation and the true surface
Created in NX11.0.0.

License requirements : None

参数
chordalTolchordaltol

◆ SetErrorMessageDisplay()

void NXOpen::STLCreator::SetErrorMessageDisplay ( bool errorMessageDisplay)

设置错误消息显示状态 - 若为true则显示错误消息
创建于 NX11.0.0.

许可要求 : 无

参数
errorMessageDisplayerrormessagedisplay

◆ SetHeaderInfo() [1/2]

void NXOpen::STLCreator::SetHeaderInfo ( const char * headerInfo)

设置头部信息 - STL头部信息
创建于 NX11.0.0.

许可要求 : 无

参数
headerInfoheaderinfo

◆ SetHeaderInfo() [2/2]

void NXOpen::STLCreator::SetHeaderInfo ( const NXString & headerInfo)

设置头部信息 - STL头部信息
创建于 NX11.0.0.

许可要求 : 无

参数
headerInfoheaderinfo

◆ SetNormalDirectionIndicator()

void NXOpen::STLCreator::SetNormalDirectionIndicator ( int normalDirectionIndicator)

设置法线方向指示器 - STL法线方向指示器
创建于 NX11.0.0.

许可要求 : 无

参数
normalDirectionIndicatornormaldirectionindicator

◆ SetNormalDisplay()

void NXOpen::STLCreator::SetNormalDisplay ( bool normalDisplay)

Sets the Normal Display - if set to true will display normal
Created in NX11.0.0.

License requirements : None

参数
normalDisplaynormaldisplay

◆ SetOutputType()

void NXOpen::STLCreator::SetOutputType ( NXOpen::STLCreator::OutputTypeEnum outputType)

Sets the output type - this will decide if output type should be binary or text
Created in NX11.0.0.

License requirements : None

参数
outputTypeoutputtype

◆ SetReverseNormalDirection()

void NXOpen::STLCreator::SetReverseNormalDirection ( bool reverseNormalDirection)

设置反向法线方向状态 - 若为true则反转法线方向
创建于 NX11.0.0.

许可要求 : 无

参数
reverseNormalDirectionreversenormaldirection

◆ SetSheetBodyExportOption()

void NXOpen::STLCreator::SetSheetBodyExportOption ( NXOpen::STLCreator::SheetBodyExportOptionEnum sheetBodyExportOption)

Sets the Sheet Body Export Option - indicates whether sheet bodies will be joined or faceted as individual sheets
Created in NX11.0.0.

License requirements : None

参数
sheetBodyExportOptionsheetbodyexportoption

◆ SetTriangleDisplay()

void NXOpen::STLCreator::SetTriangleDisplay ( bool triangleDisplay)

设置三角形显示状态 - 若为true则显示三角形
创建于 NX11.0.0.

许可要求 : 无

参数
triangleDisplaytriangledisplay

◆ SheetBodyExportOption()

NXOpen::STLCreator::SheetBodyExportOptionEnum NXOpen::STLCreator::SheetBodyExportOption ( )

Returns the Sheet Body Export Option - indicates whether sheet bodies will be joined or faceted as individual sheets
Created in NX11.0.0.

License requirements : None

◆ TriangleDisplay()

bool NXOpen::STLCreator::TriangleDisplay ( )

返回三角形显示状态 - 若为true则显示三角形
创建于 NX11.0.0.

许可要求 : 无