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

草图轮廓线构建器 更多...

#include <SketchSilhouetteBuilder.hxx>

类 NXOpen::SketchSilhouetteBuilder 继承关系图:
NXOpen::Features::ServiceOrientedFeatureCurveBuilder NXOpen::Features::FeatureBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public 类型

enum  DirectionType { DirectionTypeDefault , DirectionTypeFlipped }

Public 成员函数

bool Associativity ()
NXOpen::SketchSilhouetteBuilder::DirectionType Direction ()
double DistanceThreshold ()
NXOpen::ScCollectorObjectToSilhouette ()
bool OptimizeCurve ()
void SetAssociativity (bool associativity)
void SetDirection (NXOpen::SketchSilhouetteBuilder::DirectionType directionType)
void SetDistanceThreshold (double distanceThreshold)
void SetOptimizeCurve (bool optimizeCurve)
Public 成员函数 继承自 NXOpen::Features::FeatureBuilder
NXOpen::Features::FeatureCommitFeature ()
NXOpen::Features::FeatureGetFeature ()
void HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature)
bool ParentFeatureInternal ()
void SetParentFeatureInternal (bool isInternal)
void SetParentFeatureInternal (NXOpen::Features::Feature *parentFeature)
void ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature)
void UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature)
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 _SketchSilhouetteBuilderBuilder

详细描述

草图轮廓线构建器

Represents a NXOpen::SketchSilhouetteBuilder builder
To create a new instance of this class, use NXOpen::SketchCollection::CreateSilhouetteBuilder
Default values.

Property Value
Associativity True
DistanceThreshold 0.25 (millimeters part), 0.01 (inches part)
OptimizeCurve 0


Created in NX2306.0.0.

成员枚举类型说明

◆ DirectionType

Specifies the viewing direction for silhouettes of faces

枚举值
DirectionTypeDefault 

For face edges that are visible in the default sketch orientation.

DirectionTypeFlipped 

For face edges that are visible from backside of the body.

成员函数说明

◆ Associativity()

bool NXOpen::SketchSilhouetteBuilder::Associativity ( )

Returns the associativity of projection. If this variable is turned on, the output curves will always depend on the input curves. So that when the input curves change, the output curves will change accordingly. If this variable is set to false, the output curves derive their shape from current stage of the input curves and then become independent of the input curves. In drafting mode, one can not project curves in associative manner. Also if the curves belong to multiple parts, they can not be projected in associative manner.
Created in NX2306.0.0.

License requirements : None

◆ Direction()

NXOpen::SketchSilhouetteBuilder::DirectionType NXOpen::SketchSilhouetteBuilder::Direction ( )

Returns the option to flip the projected direction of the silhouette curves.
Created in NX2312.0.0.

License requirements : None

◆ DistanceThreshold()

double NXOpen::SketchSilhouetteBuilder::DistanceThreshold ( )

Returns the distance threshold for use in optimizing the output curves.
Created in NX2306.0.0.

License requirements : None

◆ ObjectToSilhouette()

NXOpen::ScCollector * NXOpen::SketchSilhouetteBuilder::ObjectToSilhouette ( )

Returns the object to silhouette
Created in NX2306.0.0.

License requirements : None

◆ OptimizeCurve()

bool NXOpen::SketchSilhouetteBuilder::OptimizeCurve ( )

Returns the optional optimization of the output curves. Any gaps larger than the provided distance threshold will be closed.
Created in NX2306.0.0.

License requirements : None

◆ SetAssociativity()

void NXOpen::SketchSilhouetteBuilder::SetAssociativity ( bool associativity)

Sets the associativity of projection. If this variable is turned on, the output curves will always depend on the input curves. So that when the input curves change, the output curves will change accordingly. If this variable is set to false, the output curves derive their shape from current stage of the input curves and then become independent of the input curves. In drafting mode, one can not project curves in associative manner. Also if the curves belong to multiple parts, they can not be projected in associative manner.
Created in NX2306.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

参数
associativityassociativity

◆ SetDirection()

void NXOpen::SketchSilhouetteBuilder::SetDirection ( NXOpen::SketchSilhouetteBuilder::DirectionType directionType)

Sets the option to flip the projected direction of the silhouette curves.
Created in NX2312.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

参数
directionTypedirectiontype

◆ SetDistanceThreshold()

void NXOpen::SketchSilhouetteBuilder::SetDistanceThreshold ( double distanceThreshold)

Sets the distance threshold for use in optimizing the output curves.
Created in NX2306.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

参数
distanceThresholddistancethreshold

◆ SetOptimizeCurve()

void NXOpen::SketchSilhouetteBuilder::SetOptimizeCurve ( bool optimizeCurve)

Sets the optional optimization of the output curves. Any gaps larger than the provided distance threshold will be closed.
Created in NX2306.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

参数
optimizeCurveoptimizecurve