NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::CAE::Optimization::TBSSmoothBuilder Class Reference

Represents the builder of NXOpen::CAE::Optimization::TBSSmooth . More...

Inheritance diagram for NXOpen::CAE::Optimization::TBSSmoothBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  Format { FormatBdf, FormatStl, FormatIges }
 Defines the output file format of surface representation. More...
 
enum  IsoType { IsoTypeOriginal, IsoTypeNew, IsoTypeBoth }
 Specifies the content saved to the output files. More...
 
enum  OriginalSurfaceSmoothingOption { OriginalSurfaceSmoothingOptionOff, OriginalSurfaceSmoothingOptionShrink, OriginalSurfaceSmoothingOptionFull }
 Defines if the original surface is to be smoothed or remain unchanged. More...
 
enum  ResultFiltering { ResultFilteringOff, ResultFilteringModerate, ResultFilteringFull }
 Defines if the element material values are to be filtered before the isocut. More...
 
enum  SelfIntersectionCheckingOption { SelfIntersectionCheckingOptionOff, SelfIntersectionCheckingOptionCheck, SelfIntersectionCheckingOptionRuntime, SelfIntersectionCheckingOptionIterative }
 Defines if the self-itersection checks are to be performed during the isocut, smoothing and data reduction. More...
 
enum  SliceFormatOption { SliceFormatOptionIgsPolygon, SliceFormatOptionIgsCurves, SliceFormatOptionCli, SliceFormatOptionAll }
 Defines how to save slices. More...
 

Public Member Functions

bool Border ()
 Returns the option to save border. More...
 
NXOpen::ExpressionComponentLimitingSize ()
 Returns the limiting size that defines the minimal allowed relative size of a connected component. More...
 
std::vector
< NXOpen::CAE::Optimization::TBSSmoothBuilder::Format
GetFormatOption ()
 The output result format accessor. More...
 
NXOpen::CAE::Optimization::TBSSmoothBuilder::IsoType IsoTypeOption ()
 Returns the option that specifies what should be saved to the output files
Created in NX8.0.0. More...
 
double IsoValue ()
 Returns the iso value that is used to determine the positions on the element edges where the new nodes are created. More...
 
NXOpen::ExpressionMinimumAngle ()
 Returns the minimum angle that defines the minimal angle of the triangles that result from the smoothing and data reduction. More...
 
bool MixedMesh ()
 Returns the choice whether to form quardrilaterals from adjacent triangles
Created in NX8.0.0. More...
 
NXOpen::CAE::Optimization::NameDescriptionNameDescription ()
 Returns the name description
Created in NX8.0.0. More...
 
NXOpen::CAE::Optimization::TBSSmoothBuilder::OriginalSurfaceSmoothingOption OriginalSurfaceSmooth ()
 Returns the option of how to smooth the original surface
Created in NX8.0.0. More...
 
NXOpen::ExpressionReductionAngle ()
 Returns the reduction angle that defines the maximal angle between adjacent faces at a node such that the node may be removed during the data reduction
Created in NX8.0.0. More...
 
double ReductionRate ()
 Returns the reduction rate that defines the percent of faces that should be removed during the data reduction. More...
 
NXOpen::CAE::Optimization::TBSSmoothBuilder::ResultFiltering ResultFilteringOption ()
 Returns the result filtering option
Created in NX8.0.0. More...
 
NXOpen::CAE::Optimization::TBSSmoothBuilder::SelfIntersectionCheckingOption SelfIntersectionChecking ()
 Returns the option of self-intersection checking
Created in NX8.0.0. More...
 
void SetBorder (bool border)
 Sets the option to save border. More...
 
void SetFormatOption (const std::vector< NXOpen::CAE::Optimization::TBSSmoothBuilder::Format > &formatOption)
 The output result format mutator
Created in NX8.0.0. More...
 
void SetIsoTypeOption (NXOpen::CAE::Optimization::TBSSmoothBuilder::IsoType isoTypeOption)
 Sets the option that specifies what should be saved to the output files
Created in NX8.0.0. More...
 
void SetIsoValue (double isoValue)
 Sets the iso value that is used to determine the positions on the element edges where the new nodes are created. More...
 
void SetMixedMesh (bool mixedMesh)
 Sets the choice whether to form quardrilaterals from adjacent triangles
Created in NX8.0.0. More...
 
void SetOriginalSurfaceSmooth (NXOpen::CAE::Optimization::TBSSmoothBuilder::OriginalSurfaceSmoothingOption originalSurfaceSmooth)
 Sets the option of how to smooth the original surface
Created in NX8.0.0. More...
 
void SetReductionRate (double reductionRate)
 Sets the reduction rate that defines the percent of faces that should be removed during the data reduction. More...
 
void SetResultFilteringOption (NXOpen::CAE::Optimization::TBSSmoothBuilder::ResultFiltering resultFilteringOption)
 Sets the result filtering option
Created in NX8.0.0. More...
 
void SetSelfIntersectionChecking (NXOpen::CAE::Optimization::TBSSmoothBuilder::SelfIntersectionCheckingOption selfIntersectionChecking)
 Sets the option of self-intersection checking
Created in NX8.0.0. More...
 
void SetSliceFormat (NXOpen::CAE::Optimization::TBSSmoothBuilder::SliceFormatOption sliceFormat)
 Sets the slice format
Created in NX8.0.0. More...
 
void SetSliceNormalVector (NXOpen::Direction *sliceNormalVector)
 Sets the slice normal vector
Created in NX8.0.0. More...
 
void SetSliceNumber (int sliceNumber)
 Sets the slice number
Created in NX8.0.0. More...
 
void SetSmoothCycles (int smoothCycles)
 Sets the number of smoothing cycles. More...
 
void SetTargetVolume (double targetVolume)
 Sets the target volume that is to be achieved iteratively by varying the isovalue. More...
 
void SetUseAdditionalParameters (bool useAdditionalParameters)
 Sets the option to use additional parameter. More...
 
NXOpen::CAE::Optimization::TBSSmoothBuilder::SliceFormatOption SliceFormat ()
 Returns the slice format
Created in NX8.0.0. More...
 
NXOpen::DirectionSliceNormalVector ()
 Returns the slice normal vector
Created in NX8.0.0. More...
 
int SliceNumber ()
 Returns the slice number
Created in NX8.0.0. More...
 
NXOpen::CAE::Optimization::TBSGroupDefinitionSmoothArea ()
 Returns the area to be smoothed
Created in NX8.0.0. More...
 
int SmoothCycles ()
 Returns the number of smoothing cycles. More...
 
double TargetVolume ()
 Returns the target volume that is to be achieved iteratively by varying the isovalue. More...
 
bool UseAdditionalParameters ()
 Returns the option to use additional parameter. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents the builder of NXOpen::CAE::Optimization::TBSSmooth .


To create a new instance of this class, use NXOpen::CAE::Optimization::TBSOptimizationManager::CreateSmoothBuilder

Created in NX8.0.0.

Member Enumeration Documentation

Defines the output file format of surface representation.

Enumerator
FormatBdf 

Represents surfaces in .bdf file.

FormatStl 

Represents surfaces in .stl file.

FormatIges 

Represents surfaces in .igs file.

Specifies the content saved to the output files.

Enumerator
IsoTypeOriginal 

Saves the original surface.

IsoTypeNew 

Saves the surface gererated by Isocut.

IsoTypeBoth 

Saves the complete surface.

Defines if the original surface is to be smoothed or remain unchanged.

Enumerator
OriginalSurfaceSmoothingOptionOff 

No changes to the original surface.

OriginalSurfaceSmoothingOptionShrink 

Allows the nodes on original surface to be moved towards the inside only.

OriginalSurfaceSmoothingOptionFull 

Allows any modifications to the original surface.

Defines if the element material values are to be filtered before the isocut.

Enumerator
ResultFilteringOff 

Don't filter the element material values.

ResultFilteringModerate 

Filters the element material values partially.

ResultFilteringFull 

Filters the element material values fully.

Defines if the self-itersection checks are to be performed during the isocut, smoothing and data reduction.

Enumerator
SelfIntersectionCheckingOptionOff 

No checks.

SelfIntersectionCheckingOptionCheck 

Check once.

SelfIntersectionCheckingOptionRuntime 

Check always.

SelfIntersectionCheckingOptionIterative 

First run without check, then rerun if self-intersections are found.

Defines how to save slices.

Enumerator
SliceFormatOptionIgsPolygon 

Saves slices as polygons using cubic parametric splines for each segment.

SliceFormatOptionIgsCurves 

Saves slices as curves obtained by interpolation using uniform cubic splines.

SliceFormatOptionCli 

Saves slices as polygons saved in common layer interface format.

SliceFormatOptionAll 

Save slices in all formats mentioned above.

Member Function Documentation

bool NXOpen::CAE::Optimization::TBSSmoothBuilder::Border ( )

Returns the option to save border.

If yes, the border of the shell element model will saved
Created in NX8.0.0.

License requirements : None

NXOpen::Expression* NXOpen::CAE::Optimization::TBSSmoothBuilder::ComponentLimitingSize ( )

Returns the limiting size that defines the minimal allowed relative size of a connected component.

All components with the relative size below this value are removed
Created in NX8.0.0.

License requirements : None

std::vector<NXOpen::CAE::Optimization::TBSSmoothBuilder::Format> NXOpen::CAE::Optimization::TBSSmoothBuilder::GetFormatOption ( )

The output result format accessor.

Returns

Created in NX8.0.0.

License requirements : None
NXOpen::CAE::Optimization::TBSSmoothBuilder::IsoType NXOpen::CAE::Optimization::TBSSmoothBuilder::IsoTypeOption ( )

Returns the option that specifies what should be saved to the output files
Created in NX8.0.0.



License requirements : None

double NXOpen::CAE::Optimization::TBSSmoothBuilder::IsoValue ( )

Returns the iso value that is used to determine the positions on the element edges where the new nodes are created.

Larger value lead to models with smaller volume. Value is between 0 and 1
Created in NX8.0.0.

License requirements : None

NXOpen::Expression* NXOpen::CAE::Optimization::TBSSmoothBuilder::MinimumAngle ( )

Returns the minimum angle that defines the minimal angle of the triangles that result from the smoothing and data reduction.

Too large value may prevent the smoothing, and too small value may lead to degenerated triangles
Created in NX8.0.0.

License requirements : None

bool NXOpen::CAE::Optimization::TBSSmoothBuilder::MixedMesh ( )

Returns the choice whether to form quardrilaterals from adjacent triangles
Created in NX8.0.0.



License requirements : None

NXOpen::CAE::Optimization::NameDescription* NXOpen::CAE::Optimization::TBSSmoothBuilder::NameDescription ( )

Returns the name description
Created in NX8.0.0.



License requirements : None

NXOpen::CAE::Optimization::TBSSmoothBuilder::OriginalSurfaceSmoothingOption NXOpen::CAE::Optimization::TBSSmoothBuilder::OriginalSurfaceSmooth ( )

Returns the option of how to smooth the original surface
Created in NX8.0.0.



License requirements : None

NXOpen::Expression* NXOpen::CAE::Optimization::TBSSmoothBuilder::ReductionAngle ( )

Returns the reduction angle that defines the maximal angle between adjacent faces at a node such that the node may be removed during the data reduction
Created in NX8.0.0.



License requirements : None

double NXOpen::CAE::Optimization::TBSSmoothBuilder::ReductionRate ( )

Returns the reduction rate that defines the percent of faces that should be removed during the data reduction.

if set to 0, no data reduction occurs. If set to 100, the data reduction sopts when no faces could be removed
Created in NX8.0.0.

License requirements : None

NXOpen::CAE::Optimization::TBSSmoothBuilder::ResultFiltering NXOpen::CAE::Optimization::TBSSmoothBuilder::ResultFilteringOption ( )

Returns the result filtering option
Created in NX8.0.0.



License requirements : None

NXOpen::CAE::Optimization::TBSSmoothBuilder::SelfIntersectionCheckingOption NXOpen::CAE::Optimization::TBSSmoothBuilder::SelfIntersectionChecking ( )

Returns the option of self-intersection checking
Created in NX8.0.0.



License requirements : None

void NXOpen::CAE::Optimization::TBSSmoothBuilder::SetBorder ( bool  border)

Sets the option to save border.

If yes, the border of the shell element model will saved
Created in NX8.0.0.

License requirements : cae_opt_topo ("NX Topology Optimization") OR cae_opt_topobead ("NX Bead Optimization") OR cae_opt_toposhape ("NX Shape Optimization")

Parameters
borderborder
void NXOpen::CAE::Optimization::TBSSmoothBuilder::SetFormatOption ( const std::vector< NXOpen::CAE::Optimization::TBSSmoothBuilder::Format > &  formatOption)

The output result format mutator
Created in NX8.0.0.



License requirements : cae_opt_topo ("NX Topology Optimization") OR cae_opt_topobead ("NX Bead Optimization") OR cae_opt_toposhape ("NX Shape Optimization")

Parameters
formatOptionformatoption
void NXOpen::CAE::Optimization::TBSSmoothBuilder::SetIsoTypeOption ( NXOpen::CAE::Optimization::TBSSmoothBuilder::IsoType  isoTypeOption)

Sets the option that specifies what should be saved to the output files
Created in NX8.0.0.



License requirements : cae_opt_topo ("NX Topology Optimization") OR cae_opt_topobead ("NX Bead Optimization") OR cae_opt_toposhape ("NX Shape Optimization")

Parameters
isoTypeOptionisotypeoption
void NXOpen::CAE::Optimization::TBSSmoothBuilder::SetIsoValue ( double  isoValue)

Sets the iso value that is used to determine the positions on the element edges where the new nodes are created.

Larger value lead to models with smaller volume. Value is between 0 and 1
Created in NX8.0.0.

License requirements : cae_opt_topo ("NX Topology Optimization") OR cae_opt_topobead ("NX Bead Optimization") OR cae_opt_toposhape ("NX Shape Optimization")

Parameters
isoValueisovalue
void NXOpen::CAE::Optimization::TBSSmoothBuilder::SetMixedMesh ( bool  mixedMesh)

Sets the choice whether to form quardrilaterals from adjacent triangles
Created in NX8.0.0.



License requirements : cae_opt_topo ("NX Topology Optimization") OR cae_opt_topobead ("NX Bead Optimization") OR cae_opt_toposhape ("NX Shape Optimization")

Parameters
mixedMeshmixedmesh
void NXOpen::CAE::Optimization::TBSSmoothBuilder::SetOriginalSurfaceSmooth ( NXOpen::CAE::Optimization::TBSSmoothBuilder::OriginalSurfaceSmoothingOption  originalSurfaceSmooth)

Sets the option of how to smooth the original surface
Created in NX8.0.0.



License requirements : cae_opt_topo ("NX Topology Optimization") OR cae_opt_topobead ("NX Bead Optimization") OR cae_opt_toposhape ("NX Shape Optimization")

Parameters
originalSurfaceSmoothoriginalsurfacesmooth
void NXOpen::CAE::Optimization::TBSSmoothBuilder::SetReductionRate ( double  reductionRate)

Sets the reduction rate that defines the percent of faces that should be removed during the data reduction.

if set to 0, no data reduction occurs. If set to 100, the data reduction sopts when no faces could be removed
Created in NX8.0.0.

License requirements : cae_opt_topo ("NX Topology Optimization") OR cae_opt_topobead ("NX Bead Optimization") OR cae_opt_toposhape ("NX Shape Optimization")

Parameters
reductionRatereductionrate
void NXOpen::CAE::Optimization::TBSSmoothBuilder::SetResultFilteringOption ( NXOpen::CAE::Optimization::TBSSmoothBuilder::ResultFiltering  resultFilteringOption)

Sets the result filtering option
Created in NX8.0.0.



License requirements : cae_opt_topo ("NX Topology Optimization") OR cae_opt_topobead ("NX Bead Optimization") OR cae_opt_toposhape ("NX Shape Optimization")

Parameters
resultFilteringOptionresultfilteringoption
void NXOpen::CAE::Optimization::TBSSmoothBuilder::SetSelfIntersectionChecking ( NXOpen::CAE::Optimization::TBSSmoothBuilder::SelfIntersectionCheckingOption  selfIntersectionChecking)

Sets the option of self-intersection checking
Created in NX8.0.0.



License requirements : cae_opt_topo ("NX Topology Optimization") OR cae_opt_topobead ("NX Bead Optimization") OR cae_opt_toposhape ("NX Shape Optimization")

Parameters
selfIntersectionCheckingselfintersectionchecking
void NXOpen::CAE::Optimization::TBSSmoothBuilder::SetSliceFormat ( NXOpen::CAE::Optimization::TBSSmoothBuilder::SliceFormatOption  sliceFormat)

Sets the slice format
Created in NX8.0.0.



License requirements : cae_opt_topo ("NX Topology Optimization") OR cae_opt_topobead ("NX Bead Optimization") OR cae_opt_toposhape ("NX Shape Optimization")

Parameters
sliceFormatsliceformat
void NXOpen::CAE::Optimization::TBSSmoothBuilder::SetSliceNormalVector ( NXOpen::Direction sliceNormalVector)

Sets the slice normal vector
Created in NX8.0.0.



License requirements : cae_opt_topo ("NX Topology Optimization") OR cae_opt_topobead ("NX Bead Optimization") OR cae_opt_toposhape ("NX Shape Optimization")

Parameters
sliceNormalVectorslicenormalvector
void NXOpen::CAE::Optimization::TBSSmoothBuilder::SetSliceNumber ( int  sliceNumber)

Sets the slice number
Created in NX8.0.0.



License requirements : cae_opt_topo ("NX Topology Optimization") OR cae_opt_topobead ("NX Bead Optimization") OR cae_opt_toposhape ("NX Shape Optimization")

Parameters
sliceNumberslicenumber
void NXOpen::CAE::Optimization::TBSSmoothBuilder::SetSmoothCycles ( int  smoothCycles)

Sets the number of smoothing cycles.

If set to 0, no smoothing is performed. Larger value leads to smoother models, but may cause the narrowing of thin components
Created in NX8.0.0.

License requirements : cae_opt_topo ("NX Topology Optimization") OR cae_opt_topobead ("NX Bead Optimization") OR cae_opt_toposhape ("NX Shape Optimization")

Parameters
smoothCyclessmoothcycles
void NXOpen::CAE::Optimization::TBSSmoothBuilder::SetTargetVolume ( double  targetVolume)

Sets the target volume that is to be achieved iteratively by varying the isovalue.

If set to 0, the given NXOpen::CAE::Optimization::TBSSmoothBuilder::IsoValue and NXOpen::CAE::Optimization::TBSSmoothBuilder::SetIsoValue is usedfor the generation of the isosurface
Created in NX8.0.0.

License requirements : cae_opt_topo ("NX Topology Optimization") OR cae_opt_topobead ("NX Bead Optimization") OR cae_opt_toposhape ("NX Shape Optimization")

Parameters
targetVolumetargetvolume
void NXOpen::CAE::Optimization::TBSSmoothBuilder::SetUseAdditionalParameters ( bool  useAdditionalParameters)

Sets the option to use additional parameter.


Created in NX8.0.0.

License requirements : cae_opt_topo ("NX Topology Optimization") OR cae_opt_topobead ("NX Bead Optimization") OR cae_opt_toposhape ("NX Shape Optimization")

Parameters
useAdditionalParametersuseadditionalparameters
NXOpen::CAE::Optimization::TBSSmoothBuilder::SliceFormatOption NXOpen::CAE::Optimization::TBSSmoothBuilder::SliceFormat ( )

Returns the slice format
Created in NX8.0.0.



License requirements : None

NXOpen::Direction* NXOpen::CAE::Optimization::TBSSmoothBuilder::SliceNormalVector ( )

Returns the slice normal vector
Created in NX8.0.0.



License requirements : None

int NXOpen::CAE::Optimization::TBSSmoothBuilder::SliceNumber ( )

Returns the slice number
Created in NX8.0.0.



License requirements : None

NXOpen::CAE::Optimization::TBSGroupDefinition* NXOpen::CAE::Optimization::TBSSmoothBuilder::SmoothArea ( )

Returns the area to be smoothed
Created in NX8.0.0.



License requirements : None

int NXOpen::CAE::Optimization::TBSSmoothBuilder::SmoothCycles ( )

Returns the number of smoothing cycles.

If set to 0, no smoothing is performed. Larger value leads to smoother models, but may cause the narrowing of thin components
Created in NX8.0.0.

License requirements : None

double NXOpen::CAE::Optimization::TBSSmoothBuilder::TargetVolume ( )

Returns the target volume that is to be achieved iteratively by varying the isovalue.

If set to 0, the given NXOpen::CAE::Optimization::TBSSmoothBuilder::IsoValue and NXOpen::CAE::Optimization::TBSSmoothBuilder::SetIsoValue is usedfor the generation of the isosurface
Created in NX8.0.0.

License requirements : None

bool NXOpen::CAE::Optimization::TBSSmoothBuilder::UseAdditionalParameters ( )

Returns the option to use additional parameter.


Created in NX8.0.0.

License requirements : None


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.