Object-Oriented Approach to Script Support in Optical CAD Systems
Features of the Python script support in an actively developing interactive graphics system are discussed. Such a support is a labor-intensive task, which is difficult to automate in the general case. As a solution to this problem, an approach that allows developers to combine the creation of new sy...
Gespeichert in:
Veröffentlicht in: | Programming and computer software 2024-12, Vol.50 (7), p.524-531 |
---|---|
Hauptverfasser: | , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Features of the Python script support in an actively developing interactive graphics system are discussed. Such a support is a labor-intensive task, which is difficult to automate in the general case. As a solution to this problem, an approach that allows developers to combine the creation of new system components with simultaneously embedding scripting support without writing redundant additional code is proposed. 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 for modeling automation as well as for extending the system with custom script classes. This is especially important as it provides the opportunity for ordinary users to independently extend closed-source systems. |
---|---|
ISSN: | 0361-7688 1608-3261 |
DOI: | 10.1134/S0361768824700245 |