public interface LatticeBuilder extends FeatureBuilder
LatticeFeatureCollection.createLatticeBuilder(nxopen.features.Lattice)
Property | Value |
---|---|
CellTypeName | Octapeak |
EdgeLength.Value | 10 (millimeters part), 0.5 (inches part) |
IsRandom | 0 |
IsUniformCube | 1 |
LatticeType | UnitGraph |
Layers | 1 |
MaxDeviation.Value | 0.5 (millimeters part), 0.02 (inches part) |
MaxEdgeLength.Value | 10 (millimeters part), 0.5 (inches part) |
Offset.Value | 0 (millimeters part), 0 (inches part) |
RemoveDanglingRods | 0 |
RemoveDisconnectedRods | 1 |
ReverseFaceDirection | 0 |
RodDiameter.Value | 1 (millimeters part), 0.05 (inches part) |
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) |
TessellationFactor | 0.4 |
Modifier and Type | Interface and Description |
---|---|
static class |
LatticeBuilder.LatticeTypes
This enum represents the lattice types that are supported in NX.
|
Modifier and Type | Method and Description |
---|---|
SelectFaceList |
baseFace()
Returns the faces that the user selects to define the boundary
License requirements: None. |
SelectBodyList |
boundaryBody()
Returns the solid bodies that the user selects to define the boundary
License requirements: None. |
String |
cellTypeName()
Returns the name of the unit cell type that the user selects.
|
Expression |
edgeLength()
Returns the edge length of the unit cell bounding box,
and effective only when the bounding box is a uniform cube
License requirements: None. |
SelectFaceList |
filterToolFace()
Returns the faces of the boundary body that the dangling rods connected to will be removed from the lattice body
License requirements: None. |
boolean |
isRandom()
Returns whether to randomize graph vertices within a specified range and generate
some bumps for the lattice body.
|
boolean |
isUniformCube()
Returns whether the unit cell bounding box is a uniform cube
License requirements: None. |
LatticeBuilder.LatticeTypes |
latticeType()
Returns the type of lattice that is going to be created.
|
int |
layers()
Returns the number of unit cell layers stacked over each other.
|
Expression |
maxDeviation()
Returns the maximum deviation that the vertices of the lattice graph will have.
|
Expression |
maxEdgeLength()
Returns the maximum edge length used for re-meshing, to determine the redefinition size for the input triangle mesh
License requirements: None. |
Expression |
offset()
Returns the offset of the conformal lattice from the base face.
|
Matrix3x3 |
orientation()
Returns the orientation matrix of unit cell patterning in the lattice creation.
|
Point3d |
origin()
Returns the origin where the unit cell patterning starts in the lattice creation
License requirements: None. |
boolean |
removeDanglingRods()
Returns whether to remove dangling rods from the lattice body.
|
boolean |
removeDisconnectedRods()
Returns whether to remove small disconnected lattice portions keeping just the largest body.
|
boolean |
reverseFaceDirection()
Returns whether the conformal lattice will be generated on the other side of the face
License requirements: None. |
Expression |
rodDiameter()
Returns the diameter/thickness of the rods in the lattice graph
License requirements: None. |
void |
setCellTypeName(String cellTypeName)
License requirements: nx_lattice_base (" NX Lattice Base") . |
void |
setLatticeType(LatticeBuilder.LatticeTypes latticeType)
License requirements: nx_lattice_base (" NX Lattice Base") . |
void |
setLayers(int layers)
License requirements: nx_lattice_base (" NX Lattice Base") . |
void |
setOrientation(Matrix3x3 orientMtx)
License requirements: nx_lattice_base (" NX Lattice Base") . |
void |
setOrigin(Point3d origin)
License requirements: nx_lattice_base (" NX Lattice Base") . |
void |
setRandom(boolean random)
License requirements: nx_lattice_base (" NX Lattice Base") . |
void |
setRemoveDanglingRods(boolean remove)
License requirements: nx_lattice_base (" NX Lattice Base") . |
void |
setRemoveDisconnectedRods(boolean remove)
License requirements: nx_lattice_base (" NX Lattice Base") . |
void |
setReverseFaceDirection(boolean reverseFaceDir)
License requirements: nx_lattice_base (" NX Lattice Base") . |
void |
setTessellationFactor(double factor)
License requirements: nx_lattice_base (" NX Lattice Base") . |
void |
setUniformCube(boolean uniformCube)
License requirements: nx_lattice_base (" NX Lattice Base") . |
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
License requirements: None. |
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
License requirements: None. |
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
License requirements: None. |
double |
tessellationFactor()
Returns the tessellation factor of the lattice creation.
|
commitFeature, getFeature, hideInternalParentFeatureAfterEdit, parentFeatureInternal, patchSolutionFlag, patchSurfaceFilename, setParentFeatureInternal, setParentFeatureInternal, setPatchSolutionFlag, setPatchSurfaceFilename, setSurroundingPatchSurfaceFilename, showInternalParentFeatureForEdit, surroundingPatchSurfaceFilename, unsetParentFeatureInternal
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
LatticeBuilder.LatticeTypes latticeType() throws NXException, RemoteException
LatticeBuilder.LatticeTypes.UNIT_GRAPH
and LatticeBuilder.LatticeTypes.CONFORMAL_GRAPH
.
NXException
RemoteException
void setLatticeType(LatticeBuilder.LatticeTypes latticeType) throws NXException, RemoteException
latticeType
- NXException
RemoteException
SelectFaceList baseFace() throws NXException, RemoteException
NXException
RemoteException
boolean reverseFaceDirection() throws NXException, RemoteException
NXException
RemoteException
void setReverseFaceDirection(boolean reverseFaceDir) throws NXException, RemoteException
reverseFaceDir
- NXException
RemoteException
SelectBodyList boundaryBody() throws NXException, RemoteException
NXException
RemoteException
String cellTypeName() throws NXException, RemoteException
NXException
RemoteException
void setCellTypeName(String cellTypeName) throws NXException, RemoteException
cellTypeName
- NXException
RemoteException
boolean isUniformCube() throws NXException, RemoteException
NXException
RemoteException
void setUniformCube(boolean uniformCube) throws NXException, RemoteException
uniformCube
- NXException
RemoteException
Expression edgeLength() throws NXException, RemoteException
NXException
RemoteException
Expression sizeX() throws NXException, RemoteException
NXException
RemoteException
Expression sizeY() throws NXException, RemoteException
NXException
RemoteException
Expression sizeZ() throws NXException, RemoteException
NXException
RemoteException
Expression maxEdgeLength() throws NXException, RemoteException
NXException
RemoteException
boolean isRandom() throws NXException, RemoteException
maxDeviation()
.
NXException
RemoteException
void setRandom(boolean random) throws NXException, RemoteException
random
- NXException
RemoteException
Expression maxDeviation() throws NXException, RemoteException
NXException
RemoteException
int layers() throws NXException, RemoteException
NXException
RemoteException
void setLayers(int layers) throws NXException, RemoteException
layers
- NXException
RemoteException
Expression offset() throws NXException, RemoteException
NXException
RemoteException
Expression rodDiameter() throws NXException, RemoteException
NXException
RemoteException
double tessellationFactor() throws NXException, RemoteException
tessellationFactor()
and setTessellationFactor(double)
) X (rodDiameter()
)
NXException
RemoteException
void setTessellationFactor(double factor) throws NXException, RemoteException
factor
- NXException
RemoteException
Point3d origin() throws NXException, RemoteException
NXException
RemoteException
void setOrigin(Point3d origin) throws NXException, RemoteException
origin
- NXException
RemoteException
Matrix3x3 orientation() throws NXException, RemoteException
NXException
RemoteException
void setOrientation(Matrix3x3 orientMtx) throws NXException, RemoteException
orientMtx
- NXException
RemoteException
boolean removeDisconnectedRods() throws NXException, RemoteException
NXException
RemoteException
void setRemoveDisconnectedRods(boolean remove) throws NXException, RemoteException
remove
- NXException
RemoteException
boolean removeDanglingRods() throws NXException, RemoteException
filterToolFace()
)
NXException
RemoteException
void setRemoveDanglingRods(boolean remove) throws NXException, RemoteException
remove
- NXException
RemoteException
SelectFaceList filterToolFace() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.