NXOpen C++ Reference Guide
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | List of all members
NXOpen::Features::LatticeBuilder Class Reference

Represents a Features.Lattice builder
To create a new instance of this class, use NXOpen::Features::LatticeFeatureCollection::CreateLatticeBuilder
Default values. More...

Inheritance diagram for NXOpen::Features::LatticeBuilder:
NXOpen::Features::FeatureBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  BaseMeshType { BaseMeshTypeUseExisting, BaseMeshTypeRemeshTriangular }
 Base Mesh type (for NXOpen::Features::LatticeBuilder::LatticeTypesSurfaceGraph and NXOpen::Features::LatticeBuilder::LatticeTypesTetrahedronGraph only). More...
 
enum  FacetSizeType { FacetSizeTypeConstant, FacetSizeTypeVariable }
 Facet Size Type for NXOpen::Features::LatticeBuilder::LatticeTypesSurfaceGraph and NXOpen::Features::LatticeBuilder::LatticeTypesTetrahedronGraph when NXOpen::Features::LatticeBuilder::BaseMeshTypeRemeshTriangular is set. More...
 
enum  LatticeTypes { LatticeTypesUnitGraph, LatticeTypesSurfaceGraph, LatticeTypesTetrahedronGraph, LatticeTypesConformalGraph }
 This enum represents the lattice types that are supported in NX. More...
 
enum  ParameterizationType { ParameterizationTypeAutomatic, ParameterizationTypePlanar, ParameterizationTypeContour, ParameterizationTypeCylindrical }
 This enum represents the parameterization types that are supported in conformal lattice. More...
 
enum  SharpEdgesLockType { SharpEdgesLockTypeNoLock, SharpEdgesLockTypeSoftLock, SharpEdgesLockTypeHardLock }
 Sharp Edges Lock Type (Only for NXOpen::Features::LatticeBuilder::LatticeTypesSurfaceGraph and NXOpen::Features::LatticeBuilder::LatticeTypesTetrahedronGraph when NXOpen::Features::LatticeBuilder::BaseMeshTypeRemeshTriangular is set.) More...
 
enum  ThicknessTypes { ThicknessTypesRodDiameter, ThicknessTypesDensity }
 This enum represents the method that is used to generate lattice rod thickness. More...
 
enum  Version { VersionV1, VersionV2 }
 This enum represents the version of lattice behavior. More...
 

Public Member Functions

double AngularThreshold ()
 Returns the angular threshold
Created in NX1847.0.0. More...
 
NXOpen::ExpressionAverageFacetSize ()
 Returns the average size of rod length for NXOpen::Features::LatticeBuilder::LatticeTypesSurfaceGraph and NXOpen::Features::LatticeBuilder::LatticeTypesTetrahedronGraph when NXOpen::Features::LatticeBuilder::BaseMeshTypeRemeshTriangular and NXOpen::Features::LatticeBuilder::FacetSizeTypeConstant are set. More...
 
NXOpen::SelectDisplayableObjectListBaseFace ()
 Returns the geometry that defines the boundary for conformal lattice type. More...
 
NXOpen::SelectBodyListBoundaryBody ()
 Returns the solid bodies that define the boundary for unit lattice type. More...
 
NXString CellTypeName ()
 Returns. More...
 
NXOpen::ExpressionChordalTolerance ()
 Returns the chordal tolerance - the maximum chordal deviation for areas with high curvature for NXOpen::Features::LatticeBuilder::LatticeTypesSurfaceGraph and NXOpen::Features::LatticeBuilder::LatticeTypesTetrahedronGraph when NXOpen::Features::LatticeBuilder::BaseMeshTypeRemeshTriangular is set. More...
 
NXOpen::PointContourPoint1 ()
 Returns the contour point1 of contour UV mapping
Created in NX12.0.1. More...
 
NXOpen::PointContourPoint2 ()
 Returns the contour point2 of contour UV mapping
Created in NX12.0.1. More...
 
NXOpen::PointContourPoint3 ()
 Returns the contour point3 of contour UV mapping
Created in NX12.0.1. More...
 
NXOpen::PointContourPoint4 ()
 Returns the contour point4 of contour UV mapping
Created in NX12.0.1. More...
 
NXOpen::ExpressionEdgeLength ()
 Returns the edge length of the unit cell bounding box, and effective only when the bounding box is a uniform cube
Created in NX11.0.2. More...
 
NXOpen::SelectFaceListFilterToolFace ()
 Returns the faces of the boundary body that the dangling rods connected to will be removed from the lattice body
Created in NX12.0.0. More...
 
bool IsRandom ()
 Returns. More...
 
bool IsUniformCube ()
 Returns whether the unit cell bounding box is a uniform cube
Created in NX11.0.2. More...
 
NXOpen::Features::LatticeBuilder::LatticeTypes LatticeType ()
 Returns. More...
 
NXOpen::Features::LatticeBuilder::Version LatticeVersion ()
 Returns. More...
 
int Layers ()
 Returns. More...
 
NXOpen::ExpressionMaxDeviation ()
 Returns. More...
 
NXOpen::ExpressionMaxEdgeLength ()
 Returns the maximum edge length used for re-meshing, to determine the redefinition size for the input triangle mesh
Created in NX11.0.2. More...
 
int MinimumRodNumber ()
 Returns. More...
 
NXOpen::ExpressionOffset ()
 Returns. More...
 
NXOpen::Matrix3x3 Orientation ()
 Returns. More...
 
NXOpen::PointOrientationPoint1 ()
 Returns the orientation point1 of planar UV mapping
Created in NX12.0.1. More...
 
NXOpen::PointOrientationPoint2 ()
 Returns the orientation point2 of planar UV mapping
Created in NX12.0.1. More...
 
NXOpen::Point3d Origin ()
 Returns the origin where the unit cell patterning starts in the lattice creation
Created in NX11.0.2. More...
 
NXOpen::Features::LatticeBuilder::ParameterizationType Parameterization ()
 Returns the UV mapping parameterization
Created in NX12.0.1. More...
 
NXOpen::Features::LatticeBuilder::FacetSizeType RemeshMode ()
 Returns. More...
 
bool RemoveDanglingRods ()
 Returns. More...
 
bool RemoveDisconnectedRods ()
 Returns. More...
 
bool RemoveDisconnectedRods2 ()
 Returns. More...
 
bool ReverseFaceDirection ()
 Returns whether the conformal lattice will be generated on the other side of the face
Created in NX12.0.0. More...
 
NXOpen::ExpressionRodDiameter ()
 Returns the diameter/thickness of the rods in the lattice graph
Created in NX11.0.2. More...
 
void SetAngularThreshold (double angularThreshold)
 Sets the angular threshold
Created in NX1847.0.0. More...
 
void SetCellTypeName (const NXString &cellTypeName)
 Sets. More...
 
void SetCellTypeName (const char *cellTypeName)
 Sets. More...
 
void SetContourPoint1 (NXOpen::Point *contourPt1)
 Sets the contour point1 of contour UV mapping
Created in NX12.0.1. More...
 
void SetContourPoint2 (NXOpen::Point *contourPt2)
 Sets the contour point2 of contour UV mapping
Created in NX12.0.1. More...
 
void SetContourPoint3 (NXOpen::Point *contourPt3)
 Sets the contour point3 of contour UV mapping
Created in NX12.0.1. More...
 
void SetContourPoint4 (NXOpen::Point *contourPt4)
 Sets the contour point4 of contour UV mapping
Created in NX12.0.1. More...
 
void SetLatticeType (NXOpen::Features::LatticeBuilder::LatticeTypes latticeType)
 Sets. More...
 
void SetLatticeVersion (NXOpen::Features::LatticeBuilder::Version version)
 Sets. More...
 
void SetLayers (int layers)
 Sets. More...
 
void SetMinimumRodNumber (int minimumRodNumber)
 Sets. More...
 
void SetOrientation (const NXOpen::Matrix3x3 &orientMtx)
 Sets. More...
 
void SetOrientationPoint1 (NXOpen::Point *orientationPoint1)
 Sets the orientation point1 of planar UV mapping
Created in NX12.0.1. More...
 
void SetOrientationPoint2 (NXOpen::Point *orientationPoint2)
 Sets the orientation point2 of planar UV mapping
Created in NX12.0.1. More...
 
void SetOrigin (const NXOpen::Point3d &origin)
 Sets the origin where the unit cell patterning starts in the lattice creation
Created in NX11.0.2. More...
 
void SetParameterization (NXOpen::Features::LatticeBuilder::ParameterizationType parameterization)
 Sets the UV mapping parameterization
Created in NX12.0.1. More...
 
void SetRandom (bool random)
 Sets. More...
 
void SetRemeshMode (NXOpen::Features::LatticeBuilder::FacetSizeType remeshMode)
 Sets. More...
 
void SetRemoveDanglingRods (bool remove)
 Sets. More...
 
void SetRemoveDisconnectedRods (bool remove)
 Sets. More...
 
void SetRemoveDisconnectedRods2 (bool remove)
 Sets. More...
 
void SetReverseFaceDirection (bool reverseFaceDir)
 Sets whether the conformal lattice will be generated on the other side of the face
Created in NX12.0.0. More...
 
void SetSharpEdgesLockOption (NXOpen::Features::LatticeBuilder::SharpEdgesLockType sharpEdgesLockOption)
 Sets the sharp edges lock type for NXOpen::Features::LatticeBuilder::LatticeTypesSurfaceGraph and NXOpen::Features::LatticeBuilder::LatticeTypesTetrahedronGraph when NXOpen::Features::LatticeBuilder::BaseMeshTypeRemeshTriangular is set. More...
 
void SetSource (NXOpen::Features::LatticeBuilder::BaseMeshType source)
 Sets the source - NXOpen::Features::LatticeBuilder::BaseMeshType for NXOpen::Features::LatticeBuilder::LatticeTypesSurfaceGraph and NXOpen::Features::LatticeBuilder::LatticeTypesTetrahedronGraph only. More...
 
void SetTessellationFactor (double factor)
 Sets. More...
 
void SetThicknessType (NXOpen::Features::LatticeBuilder::ThicknessTypes thicknessType)
 Sets. More...
 
void SetUniformCube (bool uniformCube)
 Sets whether the unit cell bounding box is a uniform cube
Created in NX11.0.2. More...
 
void SetUnitCell (NXOpen::GeometricUtilities::UnitCellBuilder *builderUnit)
 Sets the Unit Cell Builder
Created in NX1847.0.0. More...
 
NXOpen::Features::LatticeBuilder::SharpEdgesLockType SharpEdgesLockOption ()
 Returns the sharp edges lock type for NXOpen::Features::LatticeBuilder::LatticeTypesSurfaceGraph and NXOpen::Features::LatticeBuilder::LatticeTypesTetrahedronGraph when NXOpen::Features::LatticeBuilder::BaseMeshTypeRemeshTriangular is set. More...
 
NXOpen::ExpressionSizeX ()
 Returns the size of the unit cell bounding box in x axis, and effective only when the bounding box is not a uniform cube
Created in NX11.0.2. More...
 
NXOpen::ExpressionSizeY ()
 Returns the size of the unit cell bounding box in y axis, and effective only when the bounding box is not a uniform cube
Created in NX11.0.2. More...
 
NXOpen::ExpressionSizeZ ()
 Returns the size of the unit cell bounding box in z axis, and effective only when the bounding box is not a uniform cube
Created in NX11.0.2. More...
 
NXOpen::Features::LatticeBuilder::BaseMeshType Source ()
 Returns the source - NXOpen::Features::LatticeBuilder::BaseMeshType for NXOpen::Features::LatticeBuilder::LatticeTypesSurfaceGraph and NXOpen::Features::LatticeBuilder::LatticeTypesTetrahedronGraph only. More...
 
NXOpen::SectionSplitCurve ()
 Returns the split curve of cylindrical UV mapping
Created in NX12.0.1. More...
 
double TessellationFactor ()
 Returns. More...
 
NXOpen::Features::LatticeBuilder::ThicknessTypes ThicknessType ()
 Returns. More...
 
NXOpen::GeometricUtilities::UnitCellBuilderUnitCell ()
 Returns the Unit Cell Builder
Created in NX1847.0.0. More...
 
- Public Member Functions inherited from NXOpen::Features::FeatureBuilder
NXOpen::Features::FeatureCommitFeature ()
 Commits the feature parameters and creates the feature. More...
 
NXOpen::Features::FeatureGetFeature ()
 Returns the feature currently being edited by this builder. More...
 
void HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature)
 Re-suppress an internal parent feature (a slave feature) after it has been edited. More...
 
bool ParentFeatureInternal ()
 Returns whether or not the latest timestamped parent feature of this feature should be made internal
Created in NX5.0.0. More...
 
bool PatchSolutionFlag ()
 Returns the patch solution flag
Created in NX8.0.1. More...
 
NXString PatchSurfaceFilename ()
 Returns the patch surface filename
Created in NX8.0.1. More...
 
void SetParentFeatureInternal (NXOpen::Features::Feature *parentFeature)
 Set the parent features which would be internal or slaves to the feature being created or commited
Created in NX6.0.0. More...
 
void SetParentFeatureInternal (bool isInternal)
 Sets whether or not the latest timestamped parent feature of this feature should be made internal
Created in NX5.0.0. More...
 
void SetPatchSolutionFlag (bool optionValue)
 Sets the patch solution flag
Created in NX8.0.1. More...
 
void SetPatchSurfaceFilename (const NXString &surfaceFilename)
 Sets the patch surface filename
Created in NX8.0.1. More...
 
void SetPatchSurfaceFilename (const char *surfaceFilename)
 Sets the patch surface filename
Created in NX8.0.1. More...
 
void SetSurroundingPatchSurfaceFilename (const NXString &surroundingSurfaceFilename)
 Sets the surrounding patch surface filename
Created in NX8.0.1. More...
 
void SetSurroundingPatchSurfaceFilename (const char *surroundingSurfaceFilename)
 Sets the surrounding patch surface filename
Created in NX8.0.1. More...
 
void ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature)
 Unsuppress an internal parent feature (a slave feature) so it can be edited. More...
 
NXString SurroundingPatchSurfaceFilename ()
 Returns the surrounding patch surface filename
Created in NX8.0.1. More...
 
void UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature)
 Set the internal parent feature of the feature being edited to external
Created in NX6.0.0. 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 a Features.Lattice builder
To create a new instance of this class, use NXOpen::Features::LatticeFeatureCollection::CreateLatticeBuilder
Default values.

Property Value

AngularThreshold

10

AverageFacetSize.Value

5 (millimeters part), 0.2 (inches part)

CellTypeName

BiTriangle

ChordalTolerance.Value

0.1 (millimeters part), 0.004 (inches part)

EdgeLength.Value

10 (millimeters part), 0.5 (inches part)

IsRandom

0

IsUniformCube

1

LatticeType

UnitGraph

LatticeVersion

V1

Layers

1

MaxDeviation.Value

0.5 (millimeters part), 0.02 (inches part)

MaxEdgeLength.Value

10 (millimeters part), 0.5 (inches part)

MinimumRodNumber

1

Offset.Value

0 (millimeters part), 0 (inches part)

Parameterization

Automatic

RemeshMode

Constant

RemoveDanglingRods

0

RemoveDisconnectedRods (deprecated)

0

RemoveDisconnectedRods2

0

ReverseFaceDirection

0

RodDiameter.Value

1 (millimeters part), 0.05 (inches part)

SharpEdgesLockOption

NoLock

SizeX.Value

10 (millimeters part), 0.5 (inches part)

SizeY.Value

10 (millimeters part), 0.5 (inches part)

SizeZ.Value

10 (millimeters part), 0.5 (inches part)

Source

UseExisting

TessellationFactor

0.5

ThicknessType

RodDiameter

UnitCell.CellTypeName

BiTriangle

UnitCell.EdgeLength.Value

10 (millimeters part), 0.5 (inches part)

UnitCell.IsUniformCube

1

UnitCell.SizeX.Value

10 (millimeters part), 0.5 (inches part)

UnitCell.SizeY.Value

10 (millimeters part), 0.5 (inches part)

UnitCell.SizeZ.Value

10 (millimeters part), 0.5 (inches part)


Created in NX11.0.2.

Member Enumeration Documentation

Base Mesh type (for NXOpen::Features::LatticeBuilder::LatticeTypesSurfaceGraph and NXOpen::Features::LatticeBuilder::LatticeTypesTetrahedronGraph only).

An enumeration which kind of mesh to be used:

  • Use Existing - The existing mesh of the input faces will be directly used (or the display mesh from analytic faces).
  • Remesh Triangular - The input faces will be remeshed triangular to a specified facet size.
Enumerator
BaseMeshTypeUseExisting 

use existing

BaseMeshTypeRemeshTriangular 

remesh triangular

Facet Size Type for NXOpen::Features::LatticeBuilder::LatticeTypesSurfaceGraph and NXOpen::Features::LatticeBuilder::LatticeTypesTetrahedronGraph when NXOpen::Features::LatticeBuilder::BaseMeshTypeRemeshTriangular is set.

Enumerator
FacetSizeTypeConstant 

constant

FacetSizeTypeVariable 

variable

This enum represents the lattice types that are supported in NX.

Enumerator
LatticeTypesUnitGraph 

unit graph

LatticeTypesSurfaceGraph 

surface graph

LatticeTypesTetrahedronGraph 

tetrahedron graph

LatticeTypesConformalGraph 

conformal graph

This enum represents the parameterization types that are supported in conformal lattice.

Enumerator
ParameterizationTypeAutomatic 

automatic

ParameterizationTypePlanar 

planar

ParameterizationTypeContour 

contour

ParameterizationTypeCylindrical 

cylindrical

Sharp Edges Lock Type (Only for NXOpen::Features::LatticeBuilder::LatticeTypesSurfaceGraph and NXOpen::Features::LatticeBuilder::LatticeTypesTetrahedronGraph when NXOpen::Features::LatticeBuilder::BaseMeshTypeRemeshTriangular is set.)

Enumerator
SharpEdgesLockTypeNoLock 

no lock

SharpEdgesLockTypeSoftLock 

soft lock

SharpEdgesLockTypeHardLock 

hard lock

This enum represents the method that is used to generate lattice rod thickness.

Enumerator
ThicknessTypesRodDiameter 

rod diameter

ThicknessTypesDensity 

density

This enum represents the version of lattice behavior.

By setting this to V1, user can get legacy conformal lattice behavior in NX12. If this value is set to V2, user can get the enhanced conformal lattice behavior in NX12.0.1.

Enumerator
VersionV1 

v1

VersionV2 

v2

Member Function Documentation

double NXOpen::Features::LatticeBuilder::AngularThreshold ( )

Returns the angular threshold
Created in NX1847.0.0.



License requirements : None

NXOpen::Expression* NXOpen::Features::LatticeBuilder::AverageFacetSize ( )
NXOpen::SelectDisplayableObjectList* NXOpen::Features::LatticeBuilder::BaseFace ( )

Returns the geometry that defines the boundary for conformal lattice type.

This can be faces or sheet bodies.
Created in NX11.0.2.

License requirements : None

NXOpen::SelectBodyList* NXOpen::Features::LatticeBuilder::BoundaryBody ( )

Returns the solid bodies that define the boundary for unit lattice type.


Created in NX11.0.2.

License requirements : None

NXString NXOpen::Features::LatticeBuilder::CellTypeName ( )

Returns.

the name of the unit cell type.

Currently there are 15 valid unit cells that are supported in NX. Their name strings are:

  • BiTriangle
  • Cubeplex
  • Dodecahedron
  • HexStar
  • HexVase
  • HexVaseMod
  • Octapeak
  • Octahedroid
  • PseudoSierpinski
  • QuadDiametral
  • QuadDiametralCross
  • QuadDiametralLine
  • Star
  • TriDiametral
  • TriDiametralChevron


Created in NX11.0.2.

License requirements : None

NXOpen::Expression* NXOpen::Features::LatticeBuilder::ChordalTolerance ( )

Returns the chordal tolerance - the maximum chordal deviation for areas with high curvature for NXOpen::Features::LatticeBuilder::LatticeTypesSurfaceGraph and NXOpen::Features::LatticeBuilder::LatticeTypesTetrahedronGraph when NXOpen::Features::LatticeBuilder::BaseMeshTypeRemeshTriangular is set.


Created in NX1847.0.0.

License requirements : None

NXOpen::Point* NXOpen::Features::LatticeBuilder::ContourPoint1 ( )

Returns the contour point1 of contour UV mapping
Created in NX12.0.1.



License requirements : None

NXOpen::Point* NXOpen::Features::LatticeBuilder::ContourPoint2 ( )

Returns the contour point2 of contour UV mapping
Created in NX12.0.1.



License requirements : None

NXOpen::Point* NXOpen::Features::LatticeBuilder::ContourPoint3 ( )

Returns the contour point3 of contour UV mapping
Created in NX12.0.1.



License requirements : None

NXOpen::Point* NXOpen::Features::LatticeBuilder::ContourPoint4 ( )

Returns the contour point4 of contour UV mapping
Created in NX12.0.1.



License requirements : None

NXOpen::Expression* NXOpen::Features::LatticeBuilder::EdgeLength ( )

Returns the edge length of the unit cell bounding box, and effective only when the bounding box is a uniform cube
Created in NX11.0.2.



License requirements : None

NXOpen::SelectFaceList* NXOpen::Features::LatticeBuilder::FilterToolFace ( )

Returns the faces of the boundary body that the dangling rods connected to will be removed from the lattice body
Created in NX12.0.0.



License requirements : None

bool NXOpen::Features::LatticeBuilder::IsRandom ( )

Returns.

whether to randomize graph vertices within a specified range and generate some bumps for the lattice body.

The range over which the vertices are randomized is determined by property Features::LatticeBuilder::MaxDeviation .


Created in NX11.0.2.

License requirements : None

bool NXOpen::Features::LatticeBuilder::IsUniformCube ( )

Returns whether the unit cell bounding box is a uniform cube
Created in NX11.0.2.



License requirements : None

NXOpen::Features::LatticeBuilder::LatticeTypes NXOpen::Features::LatticeBuilder::LatticeType ( )

Returns.

the type of lattice that is going to be created.

For now, the only supported lattice types are: NXOpen::Features::LatticeBuilder::LatticeTypesUnitGraph and NXOpen::Features::LatticeBuilder::LatticeTypesConformalGraph .


Created in NX11.0.2.

License requirements : None

NXOpen::Features::LatticeBuilder::Version NXOpen::Features::LatticeBuilder::LatticeVersion ( )

Returns.

the lattice behavior version number

The default is V1. By setting this to default value, user can get legacy conformal lattice behavior in NX12. If this value is set to V2, user can get the enhanced conformal lattice behavior in NX12.0.1.
Created in NX12.0.1.

License requirements : None

int NXOpen::Features::LatticeBuilder::Layers ( )

Returns.

the number of unit cell layers stacked over each other.

The default is one layer only.
Created in NX12.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Features::LatticeBuilder::MaxDeviation ( )

Returns.

the maximum deviation that the vertices of the lattice graph will have.

The bigger the value of this property is, the more obvious bumps the lattice body will generate.
Created in NX11.0.2.

License requirements : None

NXOpen::Expression* NXOpen::Features::LatticeBuilder::MaxEdgeLength ( )

Returns the maximum edge length used for re-meshing, to determine the redefinition size for the input triangle mesh
Created in NX11.0.2.



License requirements : None

int NXOpen::Features::LatticeBuilder::MinimumRodNumber ( )

Returns.

the minimum rod number - All lattice portions with a number of rods less than specified will be removed.


Created in NX1847.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Features::LatticeBuilder::Offset ( )

Returns.

the offset of the conformal lattice from the base face.

A negative offset will let the conformal lattice intersect with the base face ("into material"). A positive offset will move the conformal lattice away from the base face( "away from material"). Using a negative offset can ensure that the final lattice body will intersect with the base face, if that is required. The default offset is zero.
Created in NX12.0.0.

License requirements : None

NXOpen::Matrix3x3 NXOpen::Features::LatticeBuilder::Orientation ( )

Returns.

the orientation matrix of unit cell patterning in the lattice creation.

The orientation matrix is defined relative to the WCS.


Created in NX11.0.2.

License requirements : None

NXOpen::Point* NXOpen::Features::LatticeBuilder::OrientationPoint1 ( )

Returns the orientation point1 of planar UV mapping
Created in NX12.0.1.



License requirements : None

NXOpen::Point* NXOpen::Features::LatticeBuilder::OrientationPoint2 ( )

Returns the orientation point2 of planar UV mapping
Created in NX12.0.1.



License requirements : None

NXOpen::Point3d NXOpen::Features::LatticeBuilder::Origin ( )

Returns the origin where the unit cell patterning starts in the lattice creation
Created in NX11.0.2.



License requirements : None

NXOpen::Features::LatticeBuilder::ParameterizationType NXOpen::Features::LatticeBuilder::Parameterization ( )

Returns the UV mapping parameterization
Created in NX12.0.1.



License requirements : None

NXOpen::Features::LatticeBuilder::FacetSizeType NXOpen::Features::LatticeBuilder::RemeshMode ( )
bool NXOpen::Features::LatticeBuilder::RemoveDanglingRods ( )

Returns.

whether to remove dangling rods from the lattice body.

The dangling rods are defined as the following:

  • Connects at only one end to the lattice body
  • Touches or intersects a face of the boundary body

The selected faces are (Features::LatticeBuilder::FilterToolFace )


Created in NX12.0.0.

License requirements : None

bool NXOpen::Features::LatticeBuilder::RemoveDisconnectedRods ( )

Returns.

whether to remove small disconnected lattice portions keeping just the largest body.


Deprecated:
Deprecated in NX1847.0.0. This is for pre NX1847 usage, do not use this method. Instead use NXOpen::Features::LatticeBuilder::RemoveDisconnectedRods2 instead.


Created in NX12.0.0.

License requirements : None

bool NXOpen::Features::LatticeBuilder::RemoveDisconnectedRods2 ( )

Returns.

whether to automatically remove all small disconnected lattice portions with a number of rods less than the specified value.


Created in NX1847.0.0.

License requirements : None

bool NXOpen::Features::LatticeBuilder::ReverseFaceDirection ( )

Returns whether the conformal lattice will be generated on the other side of the face
Created in NX12.0.0.



License requirements : None

NXOpen::Expression* NXOpen::Features::LatticeBuilder::RodDiameter ( )

Returns the diameter/thickness of the rods in the lattice graph
Created in NX11.0.2.



License requirements : None

void NXOpen::Features::LatticeBuilder::SetAngularThreshold ( double  angularThreshold)

Sets the angular threshold
Created in NX1847.0.0.



License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
angularThresholdangularthreshold
void NXOpen::Features::LatticeBuilder::SetCellTypeName ( const NXString cellTypeName)

Sets.

the name of the unit cell type.

Currently there are 15 valid unit cells that are supported in NX. Their name strings are:

  • BiTriangle
  • Cubeplex
  • Dodecahedron
  • HexStar
  • HexVase
  • HexVaseMod
  • Octapeak
  • Octahedroid
  • PseudoSierpinski
  • QuadDiametral
  • QuadDiametralCross
  • QuadDiametralLine
  • Star
  • TriDiametral
  • TriDiametralChevron


Created in NX11.0.2.

License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
cellTypeNamecelltypename
void NXOpen::Features::LatticeBuilder::SetCellTypeName ( const char *  cellTypeName)

Sets.

the name of the unit cell type.

Currently there are 15 valid unit cells that are supported in NX. Their name strings are:

  • BiTriangle
  • Cubeplex
  • Dodecahedron
  • HexStar
  • HexVase
  • HexVaseMod
  • Octapeak
  • Octahedroid
  • PseudoSierpinski
  • QuadDiametral
  • QuadDiametralCross
  • QuadDiametralLine
  • Star
  • TriDiametral
  • TriDiametralChevron


Created in NX11.0.2.

License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
cellTypeNamecelltypename
void NXOpen::Features::LatticeBuilder::SetContourPoint1 ( NXOpen::Point contourPt1)

Sets the contour point1 of contour UV mapping
Created in NX12.0.1.



License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
contourPt1contourpt1
void NXOpen::Features::LatticeBuilder::SetContourPoint2 ( NXOpen::Point contourPt2)

Sets the contour point2 of contour UV mapping
Created in NX12.0.1.



License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
contourPt2contourpt2
void NXOpen::Features::LatticeBuilder::SetContourPoint3 ( NXOpen::Point contourPt3)

Sets the contour point3 of contour UV mapping
Created in NX12.0.1.



License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
contourPt3contourpt3
void NXOpen::Features::LatticeBuilder::SetContourPoint4 ( NXOpen::Point contourPt4)

Sets the contour point4 of contour UV mapping
Created in NX12.0.1.



License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
contourPt4contourpt4
void NXOpen::Features::LatticeBuilder::SetLatticeType ( NXOpen::Features::LatticeBuilder::LatticeTypes  latticeType)

Sets.

the type of lattice that is going to be created.

For now, the only supported lattice types are: NXOpen::Features::LatticeBuilder::LatticeTypesUnitGraph and NXOpen::Features::LatticeBuilder::LatticeTypesConformalGraph .


Created in NX11.0.2.

License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
latticeTypelatticetype
void NXOpen::Features::LatticeBuilder::SetLatticeVersion ( NXOpen::Features::LatticeBuilder::Version  version)

Sets.

the lattice behavior version number

The default is V1. By setting this to default value, user can get legacy conformal lattice behavior in NX12. If this value is set to V2, user can get the enhanced conformal lattice behavior in NX12.0.1.
Created in NX12.0.1.

License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
versionversion
void NXOpen::Features::LatticeBuilder::SetLayers ( int  layers)

Sets.

the number of unit cell layers stacked over each other.

The default is one layer only.
Created in NX12.0.0.

License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
layerslayers
void NXOpen::Features::LatticeBuilder::SetMinimumRodNumber ( int  minimumRodNumber)

Sets.

the minimum rod number - All lattice portions with a number of rods less than specified will be removed.


Created in NX1847.0.0.

License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
minimumRodNumberminimumrodnumber
void NXOpen::Features::LatticeBuilder::SetOrientation ( const NXOpen::Matrix3x3 orientMtx)

Sets.

the orientation matrix of unit cell patterning in the lattice creation.

The orientation matrix is defined relative to the WCS.


Created in NX11.0.2.

License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
orientMtxorientmtx
void NXOpen::Features::LatticeBuilder::SetOrientationPoint1 ( NXOpen::Point orientationPoint1)

Sets the orientation point1 of planar UV mapping
Created in NX12.0.1.



License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
orientationPoint1orientationpoint1
void NXOpen::Features::LatticeBuilder::SetOrientationPoint2 ( NXOpen::Point orientationPoint2)

Sets the orientation point2 of planar UV mapping
Created in NX12.0.1.



License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
orientationPoint2orientationpoint2
void NXOpen::Features::LatticeBuilder::SetOrigin ( const NXOpen::Point3d origin)

Sets the origin where the unit cell patterning starts in the lattice creation
Created in NX11.0.2.



License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
originorigin
void NXOpen::Features::LatticeBuilder::SetParameterization ( NXOpen::Features::LatticeBuilder::ParameterizationType  parameterization)

Sets the UV mapping parameterization
Created in NX12.0.1.



License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
parameterizationparameterization
void NXOpen::Features::LatticeBuilder::SetRandom ( bool  random)

Sets.

whether to randomize graph vertices within a specified range and generate some bumps for the lattice body.

The range over which the vertices are randomized is determined by property Features::LatticeBuilder::MaxDeviation .


Created in NX11.0.2.

License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
randomrandom
void NXOpen::Features::LatticeBuilder::SetRemeshMode ( NXOpen::Features::LatticeBuilder::FacetSizeType  remeshMode)

Sets.

the facet size mode for NXOpen::Features::LatticeBuilder::LatticeTypesSurfaceGraph and NXOpen::Features::LatticeBuilder::LatticeTypesTetrahedronGraph when NXOpen::Features::LatticeBuilder::BaseMeshTypeRemeshTriangular is set.


Created in NX1847.0.0.

License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
remeshModeremeshmode
void NXOpen::Features::LatticeBuilder::SetRemoveDanglingRods ( bool  remove)

Sets.

whether to remove dangling rods from the lattice body.

The dangling rods are defined as the following:

  • Connects at only one end to the lattice body
  • Touches or intersects a face of the boundary body

The selected faces are (Features::LatticeBuilder::FilterToolFace )


Created in NX12.0.0.

License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
removeremove
void NXOpen::Features::LatticeBuilder::SetRemoveDisconnectedRods ( bool  remove)

Sets.

whether to remove small disconnected lattice portions keeping just the largest body.


Deprecated:
Deprecated in NX1847.0.0. This is for pre NX1847 usage, do not use this method. Instead use NXOpen::Features::LatticeBuilder::RemoveDisconnectedRods2 instead.


Created in NX12.0.0.

License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
removeremove
void NXOpen::Features::LatticeBuilder::SetRemoveDisconnectedRods2 ( bool  remove)

Sets.

whether to automatically remove all small disconnected lattice portions with a number of rods less than the specified value.


Created in NX1847.0.0.

License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
removeremove
void NXOpen::Features::LatticeBuilder::SetReverseFaceDirection ( bool  reverseFaceDir)

Sets whether the conformal lattice will be generated on the other side of the face
Created in NX12.0.0.



License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
reverseFaceDirreversefacedir
void NXOpen::Features::LatticeBuilder::SetSharpEdgesLockOption ( NXOpen::Features::LatticeBuilder::SharpEdgesLockType  sharpEdgesLockOption)

Sets the sharp edges lock type for NXOpen::Features::LatticeBuilder::LatticeTypesSurfaceGraph and NXOpen::Features::LatticeBuilder::LatticeTypesTetrahedronGraph when NXOpen::Features::LatticeBuilder::BaseMeshTypeRemeshTriangular is set.


Created in NX1847.0.0.

License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
sharpEdgesLockOptionsharpedgeslockoption
void NXOpen::Features::LatticeBuilder::SetSource ( NXOpen::Features::LatticeBuilder::BaseMeshType  source)

Sets the source - NXOpen::Features::LatticeBuilder::BaseMeshType for NXOpen::Features::LatticeBuilder::LatticeTypesSurfaceGraph and NXOpen::Features::LatticeBuilder::LatticeTypesTetrahedronGraph only.


Created in NX1847.0.0.

License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
sourcesource
void NXOpen::Features::LatticeBuilder::SetTessellationFactor ( double  factor)

Sets.

the tessellation factor of the lattice creation.

A tessellation tolerance specifies the maximum deviation between the ideal rod and their final tessellated representation of the lattice body. Since the result heavily depends on the relation between rod diameter and tessellation tolerance, the tessellation factor is only a unitless factor. The actual tessellation tolerance will determined by (Features::LatticeBuilder::TessellationFactor and Features::LatticeBuilder::SetTessellationFactor ) X (Features::LatticeBuilder::RodDiameter )
Created in NX11.0.2.

License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
factorfactor
void NXOpen::Features::LatticeBuilder::SetThicknessType ( NXOpen::Features::LatticeBuilder::ThicknessTypes  thicknessType)

Sets.

The method that is used to determine lattice rod thickness.


Created in NX1847.0.0.

License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
thicknessTypethicknesstype
void NXOpen::Features::LatticeBuilder::SetUniformCube ( bool  uniformCube)

Sets whether the unit cell bounding box is a uniform cube
Created in NX11.0.2.



License requirements : nx_lattice_base (" NX Lattice Base")

Parameters
uniformCubeuniformcube
void NXOpen::Features::LatticeBuilder::SetUnitCell ( NXOpen::GeometricUtilities::UnitCellBuilder builderUnit)

Sets the Unit Cell Builder
Created in NX1847.0.0.



License requirements : None

Parameters
builderUnitbuilderunit
NXOpen::Features::LatticeBuilder::SharpEdgesLockType NXOpen::Features::LatticeBuilder::SharpEdgesLockOption ( )
NXOpen::Expression* NXOpen::Features::LatticeBuilder::SizeX ( )

Returns the size of the unit cell bounding box in x axis, and effective only when the bounding box is not a uniform cube
Created in NX11.0.2.



License requirements : None

NXOpen::Expression* NXOpen::Features::LatticeBuilder::SizeY ( )

Returns the size of the unit cell bounding box in y axis, and effective only when the bounding box is not a uniform cube
Created in NX11.0.2.



License requirements : None

NXOpen::Expression* NXOpen::Features::LatticeBuilder::SizeZ ( )

Returns the size of the unit cell bounding box in z axis, and effective only when the bounding box is not a uniform cube
Created in NX11.0.2.



License requirements : None

NXOpen::Features::LatticeBuilder::BaseMeshType NXOpen::Features::LatticeBuilder::Source ( )
NXOpen::Section* NXOpen::Features::LatticeBuilder::SplitCurve ( )

Returns the split curve of cylindrical UV mapping
Created in NX12.0.1.



License requirements : None

double NXOpen::Features::LatticeBuilder::TessellationFactor ( )

Returns.

the tessellation factor of the lattice creation.

A tessellation tolerance specifies the maximum deviation between the ideal rod and their final tessellated representation of the lattice body. Since the result heavily depends on the relation between rod diameter and tessellation tolerance, the tessellation factor is only a unitless factor. The actual tessellation tolerance will determined by (Features::LatticeBuilder::TessellationFactor and Features::LatticeBuilder::SetTessellationFactor ) X (Features::LatticeBuilder::RodDiameter )
Created in NX11.0.2.

License requirements : None

NXOpen::Features::LatticeBuilder::ThicknessTypes NXOpen::Features::LatticeBuilder::ThicknessType ( )

Returns.

The method that is used to determine lattice rod thickness.


Created in NX1847.0.0.

License requirements : None

NXOpen::GeometricUtilities::UnitCellBuilder* NXOpen::Features::LatticeBuilder::UnitCell ( )

Returns the Unit Cell Builder
Created in NX1847.0.0.



License requirements : None


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