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

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

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

List of all members.

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.
NXOpen::ExpressionComponentLimitingSize ()
 Returns the limiting size that defines the minimal allowed relative size of a connected component.
std::vector
< NXOpen::CAE::Optimization::TBSSmoothBuilder::Format
GetFormatOption ()
 The output result format accessor.
NXOpen::CAE::Optimization::TBSSmoothBuilder::IsoType IsoTypeOption ()
 Returns the option that specifies what should be saved to the output files
Created in NX8.0.0.
double IsoValue ()
 Returns the iso value that is used to determine the positions on the element edges where the new nodes are created.
NXOpen::ExpressionMinimumAngle ()
 Returns the minimum angle that defines the minimal angle of the triangles that result from the smoothing and data reduction.
bool MixedMesh ()
 Returns the choice whether to form quardrilaterals from adjacent triangles
Created in NX8.0.0.
NXOpen::CAE::Optimization::NameDescriptionNameDescription ()
 Returns the name description
Created in NX8.0.0.
NXOpen::CAE::Optimization::TBSSmoothBuilder::OriginalSurfaceSmoothingOption OriginalSurfaceSmooth ()
 Returns the option of how to smooth the original surface
Created in NX8.0.0.
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.
double ReductionRate ()
 Returns the reduction rate that defines the percent of faces that should be removed during the data reduction.
NXOpen::CAE::Optimization::TBSSmoothBuilder::ResultFiltering ResultFilteringOption ()
 Returns the result filtering option
Created in NX8.0.0.
NXOpen::CAE::Optimization::TBSSmoothBuilder::SelfIntersectionCheckingOption SelfIntersectionChecking ()
 Returns the option of self-intersection checking
Created in NX8.0.0.
void SetBorder (bool border)
 Sets the option to save border.
void SetFormatOption (const std::vector< NXOpen::CAE::Optimization::TBSSmoothBuilder::Format > &formatOption)
 The output result format mutator
Created in NX8.0.0.
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.
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.
void SetMixedMesh (bool mixedMesh)
 Sets the choice whether to form quardrilaterals from adjacent triangles
Created in NX8.0.0.
void SetOriginalSurfaceSmooth (NXOpen::CAE::Optimization::TBSSmoothBuilder::OriginalSurfaceSmoothingOption originalSurfaceSmooth)
 Sets the option of how to smooth the original surface
Created in NX8.0.0.
void SetReductionRate (double reductionRate)
 Sets the reduction rate that defines the percent of faces that should be removed during the data reduction.
void SetResultFilteringOption (NXOpen::CAE::Optimization::TBSSmoothBuilder::ResultFiltering resultFilteringOption)
 Sets the result filtering option
Created in NX8.0.0.
void SetSelfIntersectionChecking (NXOpen::CAE::Optimization::TBSSmoothBuilder::SelfIntersectionCheckingOption selfIntersectionChecking)
 Sets the option of self-intersection checking
Created in NX8.0.0.
void SetSliceFormat (NXOpen::CAE::Optimization::TBSSmoothBuilder::SliceFormatOption sliceFormat)
 Sets the slice format
Created in NX8.0.0.
void SetSliceNormalVector (NXOpen::Direction *sliceNormalVector)
 Sets the slice normal vector
Created in NX8.0.0.
void SetSliceNumber (int sliceNumber)
 Sets the slice number
Created in NX8.0.0.
void SetSmoothCycles (int smoothCycles)
 Sets the number of smoothing cycles.
void SetTargetVolume (double targetVolume)
 Sets the target volume that is to be achieved iteratively by varying the isovalue.
void SetUseAdditionalParameters (bool useAdditionalParameters)
 Sets the option to use additional parameter.
NXOpen::CAE::Optimization::TBSSmoothBuilder::SliceFormatOption SliceFormat ()
 Returns the slice format
Created in NX8.0.0.
NXOpen::DirectionSliceNormalVector ()
 Returns the slice normal vector
Created in NX8.0.0.
int SliceNumber ()
 Returns the slice number
Created in NX8.0.0.
NXOpen::CAE::Optimization::TBSGroupDefinitionSmoothArea ()
 Returns the area to be smoothed
Created in NX8.0.0.
int SmoothCycles ()
 Returns the number of smoothing cycles.
double TargetVolume ()
 Returns the target volume that is to be achieved iteratively by varying the isovalue.
bool UseAdditionalParameters ()
 Returns the option to use additional parameter.

Detailed Description

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


To create a new instance of this class, use 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

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

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

The output result format accessor.

Returns:

Created in NX8.0.0.

License requirements : None

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



License requirements : None

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

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

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



License requirements : None

Returns the name description
Created in NX8.0.0.



License requirements : None

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



License requirements : None

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

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

Returns the result filtering option
Created in NX8.0.0.



License requirements : None

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



License requirements : None

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

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

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

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

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

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

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

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

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

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

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

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

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

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

If set to 0, the given CAE::Optimization::TBSSmoothBuilder::IsoValue and 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

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

Returns the slice format
Created in NX8.0.0.



License requirements : None

Returns the slice normal vector
Created in NX8.0.0.



License requirements : None

Returns the slice number
Created in NX8.0.0.



License requirements : None

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



License requirements : None

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

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

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

License requirements : None

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 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.