add docfx samples.

This commit is contained in:
2025-04-13 00:19:07 +08:00
parent fc4063516d
commit 1cb5f05ba4
10 changed files with 147 additions and 30 deletions
+2 -1
View File
@@ -22,12 +22,13 @@ using System.IO;
namespace Sample.Machining
{
/// <summary>
/// This example demonstrates how to create a complete machining project from scratch using HiAPI. It shows the step-by-step process of building all necessary components, including defining custom milling cutters with specific parameters (helix angle, rake angle, etc.), configuring tool holders, setting up a machining tool house with multiple tools, defining the fixture and workpiece geometry, and configuring the machine chain. The sample also demonstrates how to set workpiece material properties and generate the final project XML file. This example is particularly valuable for developers who need to programmatically create complete machining projects without using the HiNC GUI.
/// </summary>
/// <remarks>
/// ### Source Code
///
/// [!code-csharp[SampleCode](~/../Hi.Sample/Machining/DemoBuildMachiningProject.cs)]
/// </remarks>
public static class DemoBuildMachiningProject