Demonstrates 3D printing in a Windows 8.1 app.
This sample builds on the Direct3D Tutorial Sample to show how to integrate 3D printing into your Windows Store app using DirectX with C++ or desktop app. This sample builds a 3D print payload and sends it to the print pipeline, using the new IXpsDocumentPackageTarget3D and IXpsOMPackageWriter3D interfaces. It adds 3D printing options to the print UI to allow users to select printer job settings, and it sends those job settings along with the 3D model to the 3D printer.
To walk through the sample:
- 1. Launch the sample app.
- 2. Invoke the Devices charm.
- 3. Select Print, and choose a previously installed 3D printer.
- 4. Click the Print button.
To use the sample, you need:
- A printer installed.
- Windows 8.1
- Microsoft Visual Studio 2013
To obtain an evaluation copy of Windows 8.1, go to Windows 8.1.
To obtain an evaluation copy of Visual Studio 2013, go to Visual Studio 2013.
Operating system requirements
Build the sample
- Start Visual Studio 2013 and select File > Open > Project/Solution.
- Go to the directory in which you unzipped the sample. Go to the directory named for the sample, and double-click the Visual Studio 2013 Solution (.sln) file.
- Press F7 or use Build > Build Solution to build the sample.
Run the sample
To debug the app and then run it, press F5 or use Debug > Start Debugging. To run the app without debugging, press Ctrl+F5 or use Debug > Start Without Debugging.