Struct OptimizeMeshParameters
Specifies the behavior of Optimize(OptimizeMeshParameters, ProgressNotification)
Namespace: ABB.Robotics.RobotStudio.Stations
Assembly: ABB.Robotics.RobotStudio.Stations.dll
Syntax
public struct OptimizeMeshParameters
Fields
ExactMaterial
Specifies if Material must match exactly when merging face primitives.
Declaration
public bool ExactMaterial
Field Value
Type | Description |
---|---|
Boolean |
MaxFaceSize
Specifies the maximum face size (in meters) when merging face primitives.
Declaration
public double MaxFaceSize
Field Value
Type | Description |
---|---|
Double |
MaxVerticesPerFace
Maximum number of vertices on each generated face.
Declaration
public int MaxVerticesPerFace
Field Value
Type | Description |
---|---|
Int32 |
MergeBodies
Merge body primitives.
Declaration
public bool MergeBodies
Field Value
Type | Description |
---|---|
Boolean |
Remarks
Face primitives (MeshFace) with the same color and other properties are always merged. Set this to true to discard existing body primitives (MeshBody) and merge them too.
MergeVertices
Merge vertices with the similar position and normal (see VertexTolerance and NormalTolerance).
Declaration
public bool MergeVertices
Field Value
Type | Description |
---|---|
Boolean |
NormalTolerance
Maximum angle between normals for two vertices to be considered normal.
Declaration
public double NormalTolerance
Field Value
Type | Description |
---|---|
Double |
PreserveSnapPoints
Preserve snap points.
Declaration
public bool PreserveSnapPoints
Field Value
Type | Description |
---|---|
Boolean |
PreserveTextureCoordinates
Preserve texture coordinates.
Declaration
public bool PreserveTextureCoordinates
Field Value
Type | Description |
---|---|
Boolean |
PreserveWireframe
Preserve the edge wireframe on surfaces.
Declaration
public bool PreserveWireframe
Field Value
Type | Description |
---|---|
Boolean |
VertexCoherence
Number of vertices to search for an equal vertex. Affects performance.
Declaration
public int VertexCoherence
Field Value
Type | Description |
---|---|
Int32 |
VertexTolerance
Maximum distance between positions for two vertices to be considered equal.
Declaration
public double VertexTolerance
Field Value
Type | Description |
---|---|
Double |
Properties
Default
Default parameters.
Declaration
public static readonly OptimizeMeshParameters Default { get; }
Property Value
Type | Description |
---|---|
OptimizeMeshParameters |