Script autozoomin Function

Asked by MrEndorphine

When I use StelMovementMgr.autoZoomIn is the screen then correctly alinged (i.e. the top of the screen points to north (or polaris), the bottom to the south , ... ?
If not is there a script option to make stellarium behave that way?

Question information

Language:
English Edit question
Status:
Solved
For:
Stellarium Edit question
Assignee:
No assignee Edit question
Solved by:
MrEndorphine
Solved:
Last query:
Last reply:
Revision history for this message
Khalid AlAjaji (kajaji) said :
#1

I think the direction will be towards your zoomed in object. If it is at Azimuth 104 degrees for example you will be looking 14 degrees south of east.

Note that your object may be below the horizon and you have to hide the landscape to have it visible:

LandscapeMgr.setFlagLandscape(false);

If you want Stellarium to have north up, you may need to Zoom out and set the direction of view:

StelMovementMgr.zoomTo(180,1); //fov = 180
core.moveToAltAzi(89,180, 1); // alt almost to zenith and direction south

but this will not center your object in the screen.

Revision history for this message
MrEndorphine (bastian-brand) said :
#2

Oh, I already git the solution.
One just needs to press CTRL+M. End then you have equatorial orientation, which is what I was looking for. :)