diff --git a/README.md b/README.md index ca448d5ac4..d65ba29934 100644 --- a/README.md +++ b/README.md @@ -141,58 +141,61 @@ For additional Windows samples, see [Windows on GitHub](http://microsoft.github. + - + - + - + - + - + - + - + - + - + - + + +
3D Printing 3D Printing from Unity AutoSuggestBox migrationClipboard
Clipboard Commanding Context menuContext menu (XAML)
Context menu (XAML) Data virtualization Disabling selectionDisplay orientation
Display orientation Downloadable fonts (DirectWrite) Downloadable fonts (XAML)Drag and drop
Drag and drop Focus visuals Full screen modeLine spacing (DirectWrite)
Line spacing (DirectWrite) ListView and GridView Lock screen appsMessage dialog
Message dialog Multiple views OCRPrinting
Printing Pull-to-refresh Responsiveness techniquesScaling according to DPI
Scaling according to DPI Splash screen State triggersTailored multiple views
Tailored multiple views Title bar UI basics (XAML)User interaction mode
User interaction mode WebView control (HTML) WebView control (XAML)
Window resizing
@@ -394,15 +397,16 @@ For additional Windows samples, see [Windows on GitHub](http://microsoft.github. + - + - + @@ -461,27 +465,26 @@ For additional Windows samples, see [Windows on GitHub](http://microsoft.github. - + - + - + - + -
Credential lockerClient Device Information Credential pickerDevice lockdown with Azure login
Device lockdown with Azure login Disabling screen capture Enterprise data protectionKeyCredentialManager
KeyCredentialManager Lock screen personalization Microsoft Passport and Windows Hello Smart cardsDatagramSocket
Exchange Active Sync (EAS) HttpClient JSONMobile broadband
Mobile broadband Radios RSS reader end-to-end (JavaScript)Socket activity trigger stream socket
Socket activity trigger stream socket StreamSocket SyndicationUSSD protocol
USSD protocol WebSocket Wi-Fi DirectWi-Fi Direct services
Wi-Fi Direct services Wi-Fi scanning
diff --git a/Samples/3DPrinting/README.md b/Samples/3DPrinting/README.md new file mode 100644 index 0000000000..c77f7cc563 --- /dev/null +++ b/Samples/3DPrinting/README.md @@ -0,0 +1,36 @@ + + +# 3D Printing Sample + +This sample demonstrates a number of different tasks associated with 3D printing and editing the 3MF file type. + +- Create a 3MF printing package programmatically +- Create a .3mf file from XML data +- Load a 3MF printing package from a .3mf file +- Repair a model to make it printable +- Save a 3MF printing package to a .3mf file +- Launch the 3D print dialog +- Open a file in the 3D Builder app + +System requirements +------------------- + +*Client*: Windows 10 Version 1511 + +*Phone*: Windows 10 Version 1511 + +Build the sample +---------------- + +1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build. +2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**. +3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file. +4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**. + +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**. diff --git a/Samples/3DPrinting/cs/3DPrinting.csproj b/Samples/3DPrinting/cs/3DPrinting.csproj new file mode 100644 index 0000000000..df1bba9fd5 --- /dev/null +++ b/Samples/3DPrinting/cs/3DPrinting.csproj @@ -0,0 +1,181 @@ + + + + + Debug + x86 + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B} + AppContainerExe + Properties + SDKTemplate + SDKTemplate + en-US + UAP + 10.0.10586.0 + 10.0.10586.0 + 14 + 512 + {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + + + true + bin\x86\Debug\ + DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + ;2008 + full + x86 + false + prompt + true + + + bin\x86\Release\ + TRACE;NETFX_CORE;WINDOWS_UWP + true + ;2008 + pdbonly + x86 + false + prompt + true + true + + + true + bin\ARM\Debug\ + DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + ;2008 + full + ARM + false + prompt + true + + + bin\ARM\Release\ + TRACE;NETFX_CORE;WINDOWS_UWP + true + ;2008 + pdbonly + ARM + false + prompt + true + true + + + true + bin\x64\Debug\ + DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + ;2008 + full + x64 + false + prompt + true + + + bin\x64\Release\ + TRACE;NETFX_CORE;WINDOWS_UWP + true + ;2008 + pdbonly + x64 + false + prompt + true + true + + + + + + + + App.xaml.cs + App.xaml + + + MainPage.xaml.cs + MainPage.xaml + + + Properties\AssemblyInfo.cs + + + + Scenario1_Print.xaml + + + Scenario2_Launch.xaml + + + + + Designer + + + + + App.xaml + MSBuild:Compile + Designer + + + MainPage.xaml + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + + + Styles\Styles.xaml + MSBuild:Compile + Designer + + + + + Properties\Default.rd.xml + + + Assets\microsoft-sdk.png + + + Assets\smallTile-sdk.png + + + Assets\splash-sdk.png + + + Assets\squareTile-sdk.png + + + Assets\storeLogo-sdk.png + + + Assets\tile-sdk.png + + + Assets\windows-sdk.png + + + + + 14.0 + + + + \ No newline at end of file diff --git a/Samples/3DPrinting/cs/3DPrinting.sln b/Samples/3DPrinting/cs/3DPrinting.sln new file mode 100644 index 0000000000..cd32484126 --- /dev/null +++ b/Samples/3DPrinting/cs/3DPrinting.sln @@ -0,0 +1,40 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.24720.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3DPrinting", "3DPrinting.csproj", "{027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|ARM = Debug|ARM + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|ARM = Release|ARM + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}.Debug|ARM.ActiveCfg = Debug|ARM + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}.Debug|ARM.Build.0 = Debug|ARM + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}.Debug|ARM.Deploy.0 = Debug|ARM + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}.Debug|x64.ActiveCfg = Debug|x64 + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}.Debug|x64.Build.0 = Debug|x64 + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}.Debug|x64.Deploy.0 = Debug|x64 + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}.Debug|x86.ActiveCfg = Debug|x86 + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}.Debug|x86.Build.0 = Debug|x86 + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}.Debug|x86.Deploy.0 = Debug|x86 + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}.Release|ARM.ActiveCfg = Release|ARM + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}.Release|ARM.Build.0 = Release|ARM + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}.Release|ARM.Deploy.0 = Release|ARM + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}.Release|x64.ActiveCfg = Release|x64 + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}.Release|x64.Build.0 = Release|x64 + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}.Release|x64.Deploy.0 = Release|x64 + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}.Release|x86.ActiveCfg = Release|x86 + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}.Release|x86.Build.0 = Release|x86 + {027AB530-3B0B-4D5D-91C6-3DBEE2492E7B}.Release|x86.Deploy.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Samples/3DPrinting/cs/Assets/msLogo.png b/Samples/3DPrinting/cs/Assets/msLogo.png new file mode 100644 index 0000000000..e10a05e16e Binary files /dev/null and b/Samples/3DPrinting/cs/Assets/msLogo.png differ diff --git a/Samples/3DPrinting/cs/Package.appxmanifest b/Samples/3DPrinting/cs/Package.appxmanifest new file mode 100644 index 0000000000..c52f1eb1e7 --- /dev/null +++ b/Samples/3DPrinting/cs/Package.appxmanifest @@ -0,0 +1,39 @@ + + + + + + 3D Printing C# Sample + Microsoft Corporation + Assets\StoreLogo-sdk.png + + + + + + + + + + + + + + + + + + + + diff --git a/Samples/3DPrinting/cs/SampleConfiguration.cs b/Samples/3DPrinting/cs/SampleConfiguration.cs new file mode 100644 index 0000000000..26ea4d7e21 --- /dev/null +++ b/Samples/3DPrinting/cs/SampleConfiguration.cs @@ -0,0 +1,34 @@ +//********************************************************* +// +// Copyright (c) Microsoft. All rights reserved. +// This code is licensed under the MIT License (MIT). +// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF +// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY +// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR +// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. +// +//********************************************************* + +using System; +using System.Collections.Generic; +using Windows.UI.Xaml.Controls; + +namespace SDKTemplate +{ + public partial class MainPage : Page + { + public const string FEATURE_NAME = "3D Printing C# Sample"; + + List scenarios = new List + { + new Scenario() { Title="Print a model", ClassType=typeof(Scenario1_Print)}, + new Scenario() { Title="Launch 3D Builder", ClassType=typeof(Scenario2_Launch)}, + }; + } + + public class Scenario + { + public string Title { get; set; } + public Type ClassType { get; set; } + } +} diff --git a/Samples/3DPrinting/cs/Scenario1_Print.xaml b/Samples/3DPrinting/cs/Scenario1_Print.xaml new file mode 100644 index 0000000000..9f17181ed2 --- /dev/null +++ b/Samples/3DPrinting/cs/Scenario1_Print.xaml @@ -0,0 +1,43 @@ + + + + + + + + + First, create or load a model. + +