An object-oriented approach to scenario support in optics CAD systems


An object-oriented approach to scenario support in optics CAD systems

Mikhail Sergeevich KOPYLOV, Nikolai Borisovich DERYABIN, Evgeniy Yuryevich DENISOV

Abstract

This article discusses the problems of supporting Python scripts in an actively developing interactive graphics system. Such support is a time-consuming task, which is difficult to automate in the general case. As a solution to this problem, we propose an approach that allows developers to combine the creation of new system components with the simultaneous embedding of scripting support without writing redundant additional code. The result is a user-friendly object-oriented API that describes all aspects of interaction between the system and scripts. Scripts using this API can be used to modeling automation as well as to extend the system with custom extension classes. The latter is especially important as it leaves the ability for ordinary users to extend closed-source systems on their own.

Keywords

modeling automation, extensibility, script language, graphical interface

Edition

Proceedings of the Institute for System Programming, vol. 35, issue 2, 2023, 169-180

ISSN 2220-6426 (Online), ISSN 2079-8156 (Print).

DOI: 10.15514/ISPRAS-2023-35(2)-12

For citation

Mikhail Sergeevich KOPYLOV, Nikolai Borisovich DERYABIN, Evgeniy Yuryevich DENISOV An object-oriented approach to scenario support in optics CAD systems. Proceedings of the Institute for System Programming, vol. 35, issue 2, 2023, 169-180 DOI: 10.15514/ISPRAS-2023-35(2)-12.

Full text of the paper in pdf (in Russian) Back to the contents of the volume