Printing3DFaceReductionOptions Printing3DFaceReductionOptions Printing3DFaceReductionOptions Printing3DFaceReductionOptions Class

Definition

Provides additional information for the TryReduceFacesAsync method in the Printing3DModel class

public : sealed class Printing3DFaceReductionOptions : IPrinting3DFaceReductionOptionspublic sealed class Printing3DFaceReductionOptions : IPrinting3DFaceReductionOptionsPublic NotInheritable Class Printing3DFaceReductionOptions Implements IPrinting3DFaceReductionOptions// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Graphics.Printing3D.Printing3DContract (introduced v3)

Remarks

This API is designed for use with 3D Manufacturing Format (3MF) packages. For more info about 3MF, see the 3MF Specification.

Constructors

Printing3DFaceReductionOptions() Printing3DFaceReductionOptions() Printing3DFaceReductionOptions() Printing3DFaceReductionOptions()

Creates an instance of the Printing3DFaceReductionOptions class.

public : Printing3DFaceReductionOptions()public Printing3DFaceReductionOptions()Public Sub New()// You can use this method in JavaScript.

Properties

MaxEdgeLength MaxEdgeLength MaxEdgeLength MaxEdgeLength

Sets the maximum length of an edge for which the triangles that share said edge can be merged via the TryReduceFacesAsync method. If set to zero, a built-in default value is used.

public : double MaxEdgeLength { get; set; }public double MaxEdgeLength { get; set; }Public ReadWrite Property MaxEdgeLength As double// You can use this property in JavaScript.
Value
double double double double

Maximum length of an edge for which the triangles that share said edge can be merged.

Remarks

The units of length are derived from the Unit property in the Printing3DModel object from which TryReduceFacesAsync is called.

MaxReductionArea MaxReductionArea MaxReductionArea MaxReductionArea

Sets the area of a triangle above which said triangle cannot be merged via the TryReduceFacesAsync method. If set to zero, a built-in default value is used.

public : double MaxReductionArea { get; set; }public double MaxReductionArea { get; set; }Public ReadWrite Property MaxReductionArea As double// You can use this property in JavaScript.
Value
double double double double

Maximum area at which a triangle can be merged.

Remarks

The units of area are derived from the Unit property in the Printing3DModel object from which TryReduceFacesAsync is called.

TargetTriangleCount TargetTriangleCount TargetTriangleCount TargetTriangleCount

Sets the desired number of triangles on a mesh. The TryReduceFacesAsync method will stop merging faces if the triangle count is less than or equal to this number. If set to zero, the algorithm will run until the number of triangles is reduced by half.

public : unsigned int TargetTriangleCount { get; set; }public uint TargetTriangleCount { get; set; }Public ReadWrite Property TargetTriangleCount As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

Desired number of triangles on a mesh.