Example project how to use MACS3 SDK for stability and stress calculations and DG segregation checks.
This sample requires the NuGet package Macs3.Sdk
. This package is currently not available via a public NuGet-Feed and hence the package restore operation will fail. Please reach out to api.macs3@navis.com to get the NuGet package manually.
It is recommended to use a local feed to make the package available for the restore process. Please find details to set up a local source here.
In order to use the SDK, you need a product key to enable a license and to fetch vessel profile descriptions to perform the calculations and checks. Reach out to api.macs3@navis.com to get started.
- Microsoft .NET Framework 4.8
- Visual C++ 2019 redistributable
- Make sure the package
Macs3.Sdk
is available via a local package source. - Make sure you have a valid product key to activate the SDK.
- Clone this repository.
- Open a terminal and navigate to
Src\Macs3.Sdk.Sample
. - Build the project with
dotnet build
. - Start the program
Src\Macs3.Sdk.Sample\bin\Debug\net48\win-x64\Macs3.Sdk.Licensing.exe
to activate your license using the product key. During the registration process you have to provide some details. - Run the sample with
dotnet run --no-build
.