NXOpen C++ Reference Guide
|
Represents a Features.Lattice builder
To create a new instance of this class, use NXOpen::Features::LatticeFeatureCollection::CreateLatticeBuilder
Default values.
More...
Public Member Functions | |
double | AngularThreshold () |
Returns the angular threshold Created in NX1847.0.0. More... | |
NXOpen::Expression * | AverageFacetSize () |
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::SelectDisplayableObjectList * | BaseFace () |
Returns the geometry that defines the boundary for conformal lattice type. More... | |
NXOpen::SelectBodyList * | BoundaryBody () |
Returns the solid bodies that define the boundary for unit lattice type. More... | |
NXString | CellTypeName () |
Returns. More... | |
NXOpen::Expression * | 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. More... | |
NXOpen::Point * | ContourPoint1 () |
Returns the contour point1 of contour UV mapping Created in NX12.0.1. More... | |
NXOpen::Point * | ContourPoint2 () |
Returns the contour point2 of contour UV mapping Created in NX12.0.1. More... | |
NXOpen::Point * | ContourPoint3 () |
Returns the contour point3 of contour UV mapping Created in NX12.0.1. More... | |
NXOpen::Point * | ContourPoint4 () |
Returns the contour point4 of contour UV mapping Created in NX12.0.1. More... | |
NXOpen::Expression * | 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. More... | |
NXOpen::SelectFaceList * | 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. 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::Expression * | MaxDeviation () |
Returns. More... | |
NXOpen::Expression * | 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. More... | |
int | MinimumRodNumber () |
Returns. More... | |
NXOpen::Expression * | Offset () |
Returns. More... | |
NXOpen::Matrix3x3 | Orientation () |
Returns. More... | |
NXOpen::Point * | OrientationPoint1 () |
Returns the orientation point1 of planar UV mapping Created in NX12.0.1. More... | |
NXOpen::Point * | OrientationPoint2 () |
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::Expression * | RodDiameter () |
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::Expression * | 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. More... | |
NXOpen::Expression * | 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. More... | |
NXOpen::Expression * | 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. 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::Section * | SplitCurve () |
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::UnitCellBuilder * | UnitCell () |
Returns the Unit Cell Builder Created in NX1847.0.0. More... | |
Public Member Functions inherited from NXOpen::Features::FeatureBuilder | |
NXOpen::Features::Feature * | CommitFeature () |
Commits the feature parameters and creates the feature. More... | |
NXOpen::Features::Feature * | GetFeature () |
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::NXObject * | Commit () |
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::NXObject * | GetObject () |
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... | |
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.
Base Mesh type (for NXOpen::Features::LatticeBuilder::LatticeTypesSurfaceGraph and NXOpen::Features::LatticeBuilder::LatticeTypesTetrahedronGraph only).
An enumeration which kind of mesh to be used:
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 |
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 |
double NXOpen::Features::LatticeBuilder::AngularThreshold | ( | ) |
Returns the angular threshold
Created in NX1847.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::LatticeBuilder::AverageFacetSize | ( | ) |
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.
Created in NX1847.0.0.
License requirements : None
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:
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 | ( | ) |
Returns.
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 : None
bool NXOpen::Features::LatticeBuilder::RemoveDanglingRods | ( | ) |
Returns.
whether to remove dangling rods from the lattice body.
The dangling rods are defined as the following:
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.
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")
angularThreshold | angularthreshold |
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:
Created in NX11.0.2.
License requirements : nx_lattice_base (" NX Lattice Base")
cellTypeName | celltypename |
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:
Created in NX11.0.2.
License requirements : nx_lattice_base (" NX Lattice Base")
cellTypeName | celltypename |
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")
contourPt1 | contourpt1 |
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")
contourPt2 | contourpt2 |
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")
contourPt3 | contourpt3 |
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")
contourPt4 | contourpt4 |
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")
latticeType | latticetype |
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")
version | version |
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")
layers | layers |
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")
minimumRodNumber | minimumrodnumber |
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")
orientMtx | orientmtx |
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")
orientationPoint1 | orientationpoint1 |
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")
orientationPoint2 | orientationpoint2 |
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")
origin | origin |
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")
parameterization | parameterization |
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")
random | random |
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")
remeshMode | remeshmode |
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:
The selected faces are (Features::LatticeBuilder::FilterToolFace )
Created in NX12.0.0.
License requirements : nx_lattice_base (" NX Lattice Base")
remove | remove |
void NXOpen::Features::LatticeBuilder::SetRemoveDisconnectedRods | ( | bool | remove | ) |
Sets.
whether to remove small disconnected lattice portions keeping just the largest body.
Created in NX12.0.0.
License requirements : nx_lattice_base (" NX Lattice Base")
remove | remove |
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")
remove | remove |
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")
reverseFaceDir | reversefacedir |
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")
sharpEdgesLockOption | sharpedgeslockoption |
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")
source | source |
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")
factor | factor |
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")
thicknessType | thicknesstype |
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")
uniformCube | uniformcube |
void NXOpen::Features::LatticeBuilder::SetUnitCell | ( | NXOpen::GeometricUtilities::UnitCellBuilder * | builderUnit | ) |
Sets the Unit Cell Builder
Created in NX1847.0.0.
License requirements : None
builderUnit | builderunit |
NXOpen::Features::LatticeBuilder::SharpEdgesLockType NXOpen::Features::LatticeBuilder::SharpEdgesLockOption | ( | ) |
Returns 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 : None
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 | ( | ) |
Returns the source - NXOpen::Features::LatticeBuilder::BaseMeshType for NXOpen::Features::LatticeBuilder::LatticeTypesSurfaceGraph and NXOpen::Features::LatticeBuilder::LatticeTypesTetrahedronGraph only.
Created in NX1847.0.0.
License requirements : None
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