Wednesday, September 27, 2023

Stellarium scripting discussion

Copy-pasting one of my private replies sparked by the interesting discussion at
https://github.com/Stellarium/stellarium/discussions/3424

The internals of stellarium are such that you can't use Spacebar to control a script - you can use keys like

=, -, ] or [ or L or J

That is, those keys which are mapped to some functions already in

More information about this limitation is at
and

So, if using another key is acceptable to you, we can go ahead with that.

Request for diurnal motion and annual motion specifically for Stellarium v0.19.3 - 

As far as I know, there is not much difference between 0.19.3 and the latest version, as far as this particular script goes.


Diurnal motion - just hitting (lower case L) "speeds up time" , so you can see the stars/planets/sun/moon go around faster.

Annual motion - I suppose you would want the night sky as seen at Bristol at 12 midnight over the course of one year to be shown in 36.5 seconds?
This can be done using something like this script

Stellarium has a remote control plugin, which allows you to run scripts using a different computer / tablet / phone.
If that is useful for you, you can enable it using
(F2) Configuration Window -> Plugins tab -> Remote control -
choose enable at startup
Then close and open stellarium
Then go back to
(F2) Configuration Window -> Plugins tab -> Remote control
choose the configure button, and check the "Server enabled" box.
(Also check the "Enable automatically on startup" if you want it permanently enabled every time.)

 

No comments:

Post a Comment