Printing3DModel Printing3DModel Printing3DModel Printing3DModel Printing3DModel Class

Definition

Represents the 3D model in a 3D Manufacturing Format (3MF) package.

public : sealed class Printing3DModel
struct winrt::Windows::Graphics::Printing3D::Printing3DModel
public sealed class Printing3DModel
Public NotInheritable Class Printing3DModel
var printing3dModel = new printing3dModel();
Attributes

Windows 10 requirements

Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Graphics.Printing3D.Printing3DContract (introduced v1)

Remarks

The Printing3DModel class corresponds to the <model> element in the 3D Manufacturing Format (3MF) specification. For more info, see the 3MF Specification.

Version history

Windows version SDK version Value added
1607 14393 RepairWithProgressAsync
1607 14393 TryPartialRepairAsync
1607 14393 TryPartialRepairAsync(TimeSpan)
1607 14393 TryReduceFacesAsync
1607 14393 TryReduceFacesAsync(Printing3DFaceReductionOptions)
1607 14393 TryReduceFacesAsync(Printing3DFaceReductionOptions,TimeSpan)

Constructors

Printing3DModel() Printing3DModel() Printing3DModel() Printing3DModel() Printing3DModel()

Creates an instance of the Printing3DModel class.

Properties

Build Build Build Build Build

Gets or sets the root 3D Manufacturing Format (3MF) component. It represents the build plate on a 3D printer and defines what will be printed.

Components Components Components Components Components

Gets all 3D Manufacturing Format (3MF) components used in the 3D model.

Material Material Material Material Material

Gets or sets the root material container for the 3D model.

Meshes Meshes Meshes Meshes Meshes

Gets all meshes used in the 3D model.

Metadata Metadata Metadata Metadata Metadata

Gets the metadata for the 3D Manufacturing Format (3MF) package.

RequiredExtensions RequiredExtensions RequiredExtensions RequiredExtensions RequiredExtensions

Gets a list of the extensions required by the 3D Manufacturing Format (3MF) package.

Textures Textures Textures Textures Textures

Gets all textures used in the 3D model.

Unit Unit Unit Unit Unit

Gets or sets the units of measure used in the 3D model.

Version Version Version Version Version

Gets or sets the version of the 3D Manufacturing Format (3MF) package.

Methods

Clone() Clone() Clone() Clone() Clone()

Gets a copy of the current 3D model.

RepairAsync() RepairAsync() RepairAsync() RepairAsync() RepairAsync()

Executes the 3D model repair algorithm on the model.

RepairWithProgressAsync() RepairWithProgressAsync() RepairWithProgressAsync() RepairWithProgressAsync() RepairWithProgressAsync()

Executes the 3D model repair algorithm, with the ability to report the progress of the operation.

TryPartialRepairAsync() TryPartialRepairAsync() TryPartialRepairAsync() TryPartialRepairAsync() TryPartialRepairAsync()

Executes the 3D model repair algorithm until complete or an exception is thrown.

TryPartialRepairAsync(TimeSpan) TryPartialRepairAsync(TimeSpan) TryPartialRepairAsync(TimeSpan) TryPartialRepairAsync(TimeSpan) TryPartialRepairAsync(TimeSpan)

Begins the 3D model repair algorithm, but exits if the time limit is reached.

TryReduceFacesAsync() TryReduceFacesAsync() TryReduceFacesAsync() TryReduceFacesAsync() TryReduceFacesAsync()

Runs an algorithm that reduces the number of triangle faces in all of the meshes within the Printing3DModel by merging nearby vertices. Stops when the total number of triangles is reduced by half.

TryReduceFacesAsync(Printing3DFaceReductionOptions) TryReduceFacesAsync(Printing3DFaceReductionOptions) TryReduceFacesAsync(Printing3DFaceReductionOptions) TryReduceFacesAsync(Printing3DFaceReductionOptions) TryReduceFacesAsync(Printing3DFaceReductionOptions)

Runs an algorithm that reduces the number of triangle faces in all of the meshes within the Printing3DModel by merging nearby vertices. Stops according to the specified options.

TryReduceFacesAsync(Printing3DFaceReductionOptions, TimeSpan) TryReduceFacesAsync(Printing3DFaceReductionOptions, TimeSpan) TryReduceFacesAsync(Printing3DFaceReductionOptions, TimeSpan) TryReduceFacesAsync(Printing3DFaceReductionOptions, TimeSpan) TryReduceFacesAsync(Printing3DFaceReductionOptions, TimeSpan)

Runs an algorithm that reduces the number of triangle faces in all of the meshes within the Printing3DModel by merging nearby vertices. Stops according to the specified options or when the maxWait time is reached.