Skip to content
On this page

Simplygon API

The Simplygon API files are located in the Simplygon installation directory.

C++ API

Header and library files

The Simplygon interface is defined in the header file Simplygon.h. Any source file that uses the API should include this file.

For ease of use in C++, the SimplygonLoader.cpp source file is included. This file implements example loading and initialization, and should be compiled into the application which is using the Simplygon API. The SimplygonLoader.cpp source may be customized to the users specific needs, such as locating the shared library using different registry settings, or environment variables of the user application.

The header file SimplygonLoader.h defines the interface of the loader, and also includes the Simplygon.h header file by default.

C# API

Interface and library files

The C# wrapper for Simplygon is implemented in SimplygonDotNetWrapper.dll as .NET Standard 2.0 library.

For ease of use in C#, SimplygonLoader.cs located in the DotNet folder in the Simplygon installation directory can be use to load and initialize Simplygon.

Python API

Extension and module files

For Python, the interface is defined in Simplygon.py, and adds extensions through a .pyd file, which is located in the same folder, but is named differently for different versions of Python (according to Python version convensions). The actual code of the Simplygon API is implemented as a shared dynamic link library (.dll), and has to be loaded at run time. This file is shared between all the interface implementations.

Python versions supported

Simplygon 10 currently supports the following versions of Python:

  • Python 2.7 (built with VS2015)
  • Python 3.6
  • Python 3.7
  • Python 3.7 (build with VS2015)
  • Python 3.8
  • Python 3.9

Dependencies

See the Dependencies section of the installation instructions.