Skip to content

Introduction

Description

This documentation describes the Program Interface (API) for writing scripts in the application MotorXP-AFM for parameter-based construction of a motor geometry. It includes detailed information about global variables, global functions, built-in objects, object types, materials, constants, and UI elements (widgets).

Information

The engine of the application MotorXP-AFM is implemented based on the Qt framework's JavaScript engine - QJSEngine. For writing scripts, a programming language called JavaScript with specification ECMAScript 6 (ES2015) is used.

Hint

For fast script writing, it is recommended to set up code completion.

Official Website

Visit our website: motorxp.com

Contacts

If you discover any errors or inaccuracies in the documentation, please notify us by email: nika_homework@mail.ru, info@motorxp.com.

Last update: 7 August 2025, 13:38