This script is a very good idea. It allows to view easily a complicated concept.
Unfortunately, I do not have the script and it is difficult to say whether or not it may pose problems.
Choosing the keys to use is always a problem because they are also used by Celestia. And for other reasons too...
I think if we have to use the keyboard it is best to give default keys and let the user choose with a configuration file.
I guess it is not a script for lua_plugins or lua_edu tool. (In effect on your screenshot I don't see the button for this addon).
It's unfortunate for three reasons in order of increasing importance
The first and least is that we could have a much prettier and less intrusive control pane than this text menu.
Only my personnal taste though...
Secondly, the problem of key names would not arise since we have just to click on it.
The choice of the correct key depends in fact on the next point. Using the mouse instead of the keyboard should avoid this complicated problem.
The third and most important is that lua_edu_tools can easily localize a program for any language. (With lua_plugins it is not impossible but it is a bit more tricky ).
In fact it is almost essential for a program with a great educational interest like this to be translated into the language of those to whom it is addressed.
If you decide to consider my remarks I am at your disposal for the French translation.
I have also a remark (and a suggestion) about your menu which seems a bit complicated to me.
For example you have markers with labels and you add markers. The consequence is to delete the labels. And no markers are added since they were already here. That is a bit confusing.
We have to notice that if we have a label, we have also a marker. In the same way if we have not a marker we cannot have a label.
This allow to use only 2 keys (or 2 buttons) instead of 4 (V, +, -, and u):
-
a button for the markers: if we have no markers, they are created. If there are markers they are deleted (with the label if required)
-
a button for the labels: if we have no labels they are created (with the associated markers). If we have labels they are deleted (and the associated markers remain)
-
the subordinate button is a switch. If it is OFF, the previous actions are applied only to the selected body otherwise they are also applied to the associated bodies.
What do you think about all this?
Cheers