Table of Contents

HiAPI Overview

HiAPI is a C# software development kit for machining simulation. It provides libraries for NC motion simulation, collision detection, geometry removal simulation, milling force simulation, optimization, and more.

Nuget Packages

The HiAPI is applied by the form of Nuget Packages. You have to apply HiNc nuget package and its dependencies. They include all the functionality of the HiNC software, but do not include the GUI components.

The packages can be downloaded and installed from the HiAPI NuGet Server. The server URL is:

https://superhightech-gitea.webredirect.org/api/packages/HiAPI/nuget/index.json

Note
  • Authentication is required to access the server (username and password)
  • Direct browser access to the URL will not show meaningful content. Since the server is designed for Visual Studio NuGet package management. For more information about NuGet, visit NuGet.org

Package Dependencies

The HiNc package has the following dependency chain:

graph LR
    HiGeom --> HiDisp
    HiDisp --> HiCbtr
    HiCbtr --> HiMech
    HiMech --> HiUniNc
    HiUniNc --> HiNc

    HiDisp --> Hi.WinForm
    HiDisp --> Hi.Wpf
        
    style HiNc fill:#d3d,stroke:#333,stroke-width:2px

UI Framework Support

If you need to develop Windows desktop applications:

  • For Windows Forms applications, use the Hi.WinForm package
  • For WPF applications, use the Hi.Wpf package
Note

See Building Your Own Rendering Canvas to build the rendering canvas cross-platform.

HiAPI Sample Code

See Sample Code or download the repositories to get more samples. The following sample repository demonstrate various aspects of using HiAPI for machining simulation:

  • The Hi.Sample Repository contains a collection of sample projects showcasing different features and capabilities of HiAPI with no platform constrain.
  • The Hi.Sample.Wpf Repository repository contains samples specifically designed for Windows Presentation Foundation applications.