none
RTM Known issue: Windows.Graphics.Printing3D (Windows SDK and tools for Windows 10, version 1511) RRS feed

  • Question

  • The issues for Printing3D API:

    1. Printing3DComponent Class misses the default material group id/index functions.
    2. Printing3DModel Class misses the functions to store information for texture path and texture content type.
    3. Printing3DCompositeMaterial Class misses the functions to store the parent id.
    4. Printing3DModel always saves empty Metadata when using the API for save.
    5. VerifyAsync in Printing3DModel doesn't work.
    6. Transform doesn't follow the specification of 3MF: [m00 m01 m02 m10 m11 m12 m20 m21 m22 m30 m31 m32], the 4 x 4 matrix is as follows from API

     

    m00 m10 m20 m30

    m01 m11 m21 m31

    m02 m12 m22 m32

    0       0       0       1

    Friday, November 13, 2015 8:14 PM
    Moderator

All replies

  • Workaround:

    1. Printing3DComponent Class: in order to store default material group id and index, we hack “PartNumber”. For example, ParNumber = “1:0”, which means group id is 1 and group index is 0.
    2. Printing3DModel Class: if you want to store the information for texture path, please store them into Metadata, such as pair (“tex1”, “/3D/Texture/msLogo.png”). “tex1” means id for texture is 1. For content type, you need to get ModelPart and use XML parser to add it. This needs to be done if you are using the object model to create a 3mf file. After saving the package you need to reload the modelPart and update the xml to reflect the content type. Failing to do this leads to an invalid 3MF file when texture is specified.
    3. Printing3DCompositeMaterial Class: if you want to store the information for composite parent id, please also store them into Metadata, such as pair(“composite3”, “1”). “composite3” means id for composite group is 3 and it points to base material group id = 1.
    4. Printing3DModel Class: Store Metadata from ModelPart before using object model, when you want to save the model into 3mf, use XML parser again to save them back.
    5. Printing3DModel Class: set indexCount to 3 * indexCount and set vertexCount to 3 * vertextCount, now VerifyAsync will work.
    6. Follow the matrix order to store each element.

    Friday, November 13, 2015 8:16 PM
    Moderator