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 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.

Authors

Institutions

Publication Details

Journal
Programming and Computer Software
Published
2024-12-01
DOI
https://doi.org/10.1134/s0361768824700245
Primary Topic
Computational Physics and Python Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Object-Oriented Approach to Script Support in Optical CAD Systems

Mikhail Sergeevich Kopylov, N. B. Deryabin, Evgeny Yurievich Denisov
Programming and Computer Software
Computational Physics and Python Applications
article

Object-Oriented Approach to Script Support in Optical CAD Systems

Mikhail Sergeevich Kopylov, N. B. Deryabin, Evgeny Yurievich Denisov
article en

Abstract

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.

Programming and Computer SoftwareVol. 50(7)
Keldysh Institute of Applied Mathematics (RU)
Openalex Percentile: Top 80%
Computational Physics and Python Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.