Printing3D3MFPackage Printing3D3MFPackage Printing3D3MFPackage Printing3D3MFPackage Printing3D3MFPackage Class

Definition

Represents a 3D Manufacturing Format (3MF) package.

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

Windows 10 requirements

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

Remarks

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

Version history

Windows version SDK version Value added
1709 16299 Compression

Constructors

Printing3D3MFPackage() Printing3D3MFPackage() Printing3D3MFPackage() Printing3D3MFPackage() Printing3D3MFPackage()

Creates a Printing3D3MFPackage object.

Properties

Compression Compression Compression Compression Compression

Gets and sets the intended file compression level for this 3MF package. This is taken into account when the Printing3D3MFPackage instance is converted to a 3MF file.

ModelPart ModelPart ModelPart ModelPart ModelPart

Gets or sets an XML stream to the 3D model in the 3D Manufacturing Format (3MF) package.

PrintTicket PrintTicket PrintTicket PrintTicket PrintTicket

Gets or sets a stream to the print ticket in the 3D Manufacturing Format (3MF) package.

Textures Textures Textures Textures Textures

Gets or sets the textures in the 3D Manufacturing Format (3MF) package.

Thumbnail Thumbnail Thumbnail Thumbnail Thumbnail

Gets or sets a thumbnail image that represents the contents of the 3D Manufacturing Format (3MF) package.

Methods

LoadAsync(IRandomAccessStream) LoadAsync(IRandomAccessStream) LoadAsync(IRandomAccessStream) LoadAsync(IRandomAccessStream) LoadAsync(IRandomAccessStream)

Creates a Printing3D3MFPackage object from a 3D Manufacturing Format (3MF) file stream.

LoadModelFromPackageAsync(IRandomAccessStream) LoadModelFromPackageAsync(IRandomAccessStream) LoadModelFromPackageAsync(IRandomAccessStream) LoadModelFromPackageAsync(IRandomAccessStream) LoadModelFromPackageAsync(IRandomAccessStream)

Creates a Printing3DModel object from a 3D Manufacturing Format (3MF) file stream.

SaveAsync() SaveAsync() SaveAsync() SaveAsync() SaveAsync()

Saves the Printing3D3MFPackage object to a 3D Manufacturing Format (3MF) file stream.

SaveModelToPackageAsync(Printing3DModel) SaveModelToPackageAsync(Printing3DModel) SaveModelToPackageAsync(Printing3DModel) SaveModelToPackageAsync(Printing3DModel) SaveModelToPackageAsync(Printing3DModel)

Saves the specified 3D model to the 3D Manufacturing Format (3MF) package.

See also