Stellarium 0.8.4d Scripting Command Reference

Similar documents
Touring the Universe through Binoculars Atlas Help File

STELLARIUM INSTRUCTION MANUAL

Astromechanics. 12. Satellite Look Angle

ACE Desktop: Dome, Telescope, Instruments

( ) Derivation of Polar Reduction Formula for a Calculator Robert Bernecky April, 2018 ( )

SunCast - User Guide. IES Virtual Environment 2013

ASTRO-PHYSICS GTO GERMAN EQUATORIAL MOUNTS RS-232 COMMAND LANGUAGE. GTOCP1 and GTOCP2 Servo Control Boxes

User's Guide to WdsPick

Begin Reading Smiley Users Manual

IADS Terrain Installation User Guide. January 2013 SYMVIONICS Document SSD-IADS SYMVIONICS, Inc. All rights reserved.

Natural Light in Design: IAP 2009

Version 1.0. July 4th, 2014

ioptron ieq45 RS-232 COMMAND LANGUAGE

The Nautical Almanac's Concise Sight Reduction Tables

LECTURE TWO Representations, Projections and Coordinates

Table of Contents

TELESCOPE TRACER 2000 PEGASUS 21 For TAKAHASHI TEMMA TAKAHASHI 1

A Comprehensive Look at Foxtrot s Action Library

GSN SunShot Procedures Using Internet Solar Position Calculator

Solar Panel Irradiation Exposure efficiency of solar panels with shadow

Version 1.4. September 22nd, 2013

Orbiter Base Maker Manual

Controlling the Drawing Display

Keys for selecting tools

FM CHAPTER 6 DIRECTION

6-1. METHODS OF EXPRESSING DIRECTION

Camera Parameters Estimation from Hand-labelled Sun Sositions in Image Sequences

10.1 Conversions. Grid to Geodetic

3. Map Overlay and Digitizing

Create ruler guides. Create a ruler guide

Let s Make a Front Panel using FrontCAD

Copyright 2015 Integrated Environmental Solutions Limited. All rights reserved.

Adobe After Effects CC

DMT S IMAGE VIEWER. Replay and Analyze Automated Snapshots from DMT s Capture Image Function

Terrain rendering (part 1) Due: Monday, March 10, 10pm

Smart GIS Course. Developed By. Mohamed Elsayed Elshayal. Elshayal Smart GIS Map Editor and Surface Analysis. First Arabian GIS Software

SBMT SMALL BODY MAPPING TOOL USER MANUAL. Updated 20 March 2018

HP-35s Calculator Program Closure 7A

CHANGING VIEWS AND SCREEN MODES

Navigating the ArcGIS Application Welcome to WebMap HELP

VirMuF Manual V 0.5 1

SaVi - satellite constellation visualization INTRODUCTION AND INSTRUCTIONS FOR USE

Chapter 5. Creating Special Effects Delmar, Cengage Learning

FRAQCEL USER GUIDE

BCC Comet Generator Source XY Source Z Destination XY Destination Z Completion Time

Map Tools: A Transformative Experience

ossimplanet Users Manual

GOSAT Tools Installation and Operation Manual

AY120A,B CHEAT-SHEET FOR SPHERICAL COORDINATE TRANSFORMATION

4 TRANSFORMING OBJECTS

The Department of Construction Management and Civil Engineering Technology CMCE-1110 Construction Drawings 1 Lecture Introduction to AutoCAD What is

Tutorial 17: Using Visual Image

Rotated earth or when your fantasy world goes up side down

ezimagex2 User s Guide Version 1.0

OSKAR Settings Files Revision: 8

Starry Night College Activities (Erin O Connor, Department of Earth & Planetary Sciences, Santa Barbara City College)

3D Body. Modified by Jason Howie on 8-Oct Parent page: PCB Dialogs. Other Related Resources 3D Body (Object)

GEO 154 CARTOGRAPHY II- PLOTTING USING AUTOCAD- ASSIGMENT HELP

CFU RASTER FORMAT SPECIFICATION

State Plane Coordinates and Computations using them GISC Spring 2013

START>PROGRAMS>ARCGIS>

Commander NVR. NuClient User Manual. Ver

Mapping Photoperiod as a Variable in Vegetation Distribution Analysis. Photoperiod is defined as the duration of time for which an organism receives

A Novel Algorithm for Solar Potential Estimation in Complex Urban Scenes

3D Programming. 3D Programming Concepts. Outline. 3D Concepts. 3D Concepts -- Coordinate Systems. 3D Concepts Displaying 3D Models

Keynote 08 Basics Website:

English MineSimU Tutorial

The following content has been imported from Legacy Help systems and is in the process of being checked for accuracy.

Introduction to Solo Forest

Overview: Printing MFworks Documents

OSKAR-2: Simulating data from the SKA

Usage guidelines and procedures for SharpCap

Avigilon Control Center Player User Guide. Version 5.10

Release Notes for cswing 2004 Release 2 [Preliminary]

XnView Image Viewer. a ZOOMERS guide

Using Director MX 2004 behaviors

Geographic Information Systems. using QGIS

Google Earth Maps. Creating an Outdoor Location Using Google Earth. Understanding Geographical Coordinates for Google Earth CHAPTER

2010 by Microtek International, Inc. All rights reserved.

ENVI Classic Tutorial: 3D SurfaceView and Fly- Through

The Vizard IDE: Inspector

move object resize object create a sphere create light source camera left view camera view animation tracks

Module 4. Stereographic projection: concept and application. Lecture 4. Stereographic projection: concept and application

StickFont Editor v1.01 User Manual. Copyright 2012 NCPlot Software LLC

User manual. TopoL Mobile 3.0. TopoL Software, s.r.o.

User Manual Version 1.1 January 2015

Toon Boom Harmony Essentials 16.0

User manual Horus Movie Player 1

Mathematics in Orbit

Camera & Imaging. Capturing Image, Recording Video & Editing Camera Using Display as Viewfinder...7-9

PVRTexTool. User Manual

User Manual Applied Vision 4 Software

9 Using Appearance Attributes, Styles, and Effects

3.1 Units. Angle Unit. Direction Reference

SI-100 Digital Microscope. User Manual

The simulation requires several input parameters that may be categorized as following:

LAB # 2 3D Modeling, Properties Commands & Attributes

1 Tutorials About the Tutorial Exercises

Workshop on Census Data Processing. TELEform Designer User Manual

COMPLETE LIGHTROOM KEYBOARD SHORTCUTS CHEAT SHEET F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12. Colour Label > RED YELLOW GREEN BLUE & * ( )

Transcription:

Stellarium 0.8.4d Scripting Command Reference Version 1.6 September 27, 2007 Robert Spearman Digitalis Education Solutions, Inc. This document outlines commands supported by Stellarium 0.8.4d for script use. Command format basics: The command format consists of a command name followed by an optional list of arguments in the form of name/value pairs. Whitespace is used as a delimiter. Argument values requiring included whitespace can be enclosed in double quotes ("This is a value with spaces."). Commands and argument names are case insensitive, however argument values are typically case sensitive. Argument pairs can be arranged in any order. COMMAND ARGUMENT_NAME1 ARGUMENT_VALUE1 ARGUMENT_NAME2 ARGUMENT_VALUE2... Example Commands: select planet Jupiter flag atmosphere on date utc 1999-08-11T12:00:00 wait duration 2.31 moveto lat 45.7 lon -122 duration 5 landscape name english_garden action load type spherical maptex egarden.png set home_planet "Solar System Observer" Below is a complete list of valid commands, along with their supported argument names and values. Lowercase values are literal, uppercase values are explanatory (i.e. replace SECONDS with the number of seconds desired). Please note that a few features that work on a Digitarium system will not work on the Windows version, notably the external_viewer command and time zone or daylight savings related commands or features. Due to formatting issues, if a command name cell is empty below, the command is the same as the previous command listed in the table. Stellarium 0.8.4d Scripting Command Reference 1 / 11

action drop pause play sync drop halts playback and drops the track from memory. audio filename loop AUDIO_FILENAME on off Used with "play" action. Format support depends on your binary. Ogg Vorbis format is recommended. WAV format should work but is discouraged because in this case the audio track will not adjust if the script is fast forwarded. [This is a current limitation of the SDL_Mixer library.] Used with "play" action. Default is off output_rate SAMPLES_PER_SECOND For example, 44100 is CD quality audio. volume decrement increment VOLUME_LEVEL VOLUME_LEVEL is between 0 and 1, inclusive. clear state natural Turn off fog and all labels, lines, and art. Turn planet, star, and nebula rendering on. Deselect any selected objects. Return to initial fov and viewing direction. If state is natural, ground and atmosphere will be turned on, otherwise these will be turned off. Currently disabled. configuration action load reload Stellarium 0.8.4d Scripting Command Reference 2 / 11

local [[-]YYYY-MM- DD]Thh:mm:ss Set time to a specified date and/or time using current timezone. 'T' is literal. utc [-]YYYY-MM- DDThh:mm:ss Set time to a specified date and time in UTC time. 'T' is literal. date relative DAYS Change date and time by DAYS (can be fractional). sidereal SIDEREAL_DAYS Change date and time by SIDEREAL_DAYS (can be fractional) based on the planet or moon you are on. load current Set date to current date. With no arguments, deselects current object selection, including any constellation selection. See select command. deselect constellation CONSTELLATION With a 3 character constellation abbreviation specified, will only deselect that constellation. See the constellation_names.eng.fab files for abbreviations in the data/sky_culture directories. external_viewer action pause play resume stop Run a media viewer external to Stellarium. Use action play and filename together to start a video. The video will hide stellarium from view. Typically you will want the script to then wait for some duration and then call this command again with an action stop to stop the video. Note that fast forwarding the script will not affect the media viewer. Stellarium and the media viewer can not both have open audio tracks at the same time on Digitarium Alpha 2 systems. filename FILENAME The media file to display, relative to the script. Stellarium 0.8.4d Scripting Command Reference 3 / 11

atmosphere on 1 off 0 toggle Draw atmospheric effects azimuthal_grid on, 1, off, 0, toggle Draw azimuthal grid bright_nebulae on, 1, off, 0, toggle Select bright nebulae mode (draw at texture intensity rather than visual magnitude) cardinal_points on, 1, off, 0, toggle Draw cardinal points constellation_art on, 1, off, 0, toggle Draw constellation artwork flag constellation_boundaries on, 1, off, 0, toggle Draw contellation boundaries constellation_drawing on, 1, off, 0, toggle Draw constellation line drawings constellation_names on, 1, off, 0, toggle Draw constellation labels constellation_pick on, 1, off, 0, toggle Select constellation pick mode (whether to only draw selected constellations) ecliptic_line on, 1, off, 0, toggle Draw ecliptic line equator_line on, 1, off, 0, toggle Draw equator line equatorial_grid on, 1, off, 0, toggle Draw equatorial grid fog on, 1, off, 0, toggle Draw fog along the horizon (support depends on landscape) Stellarium 0.8.4d Scripting Command Reference 4 / 11

moon_scaled on, 1, off, 0, toggle Draw the moon scaled landscape on, 1, off, 0, toggle Draw the landscape manual_zoom on, 1, off, 0, toggle Select manual zoom mode meridian_line on, 1, off, 0, toggle Draw the meridian line milky_way on, 1, off, 0, toggle Draw the Milky Way nebulae on, 1, off, 0, toggle Draw nebulae nebula_names on, 1, off, 0, toggle Draw nebula labels object_trails on, 1, off, 0, toggle Draw motion trails for planets and moons planets on, 1, off, 0, toggle Draw planets and moons planet_names on, 1, off, 0, toggle Draw planet labels planet_orbits on, 1, off, 0, toggle Draw planet orbits point_star on, 1, off, 0, toggle Draw stars and planets as single pixels regardless of magnitude script_gui_debug on, 1, off, 0, toggle If on, will print script errors to the screen. Good for debugging. show_tui_datetime on, 1, off, 0, toggle Draw the date and time show_tui_short_obj_info on, 1, off, 0, toggle Draw information about the selected object Stellarium 0.8.4d Scripting Command Reference 5 / 11

star_names on, 1, off, 0, toggle Draw star labels star_twinkle on, 1, off, 0, toggle Draw stars twinkling stars on, 1, off, 0, toggle Draw stars track_object on, 1, off, 0, toggle Center view on currently selected object action load drop Drop images when no longer needed to improve performance. altitude ALTITUDE_DEGREES For positioning the center of the image in horizontal coordinates. Zero is at the horizon, 90 is at the zenith. azimuth AZIMUTH_DEGREES For positioning the center of the image in horizontal coordinates. Zero is North, 90 is East. image coordinate_system viewport horizontal equatorial j2000 What coordinate system to use to position the image. Must be defined at image load. Can not be changed later. Default is viewport. duration SECONDS How long to take to complete the command. filename IMAGE_FILENAME Path must be relative to script. Stellarium 0.8.4d Scripting Command Reference 6 / 11

name IMAGE_NAME Used to refer to the image in later calls to manipulate the image. Images must be in PNG format. If images do not have dimensions that are powers of 2 (128, 256, etc.) they are resized when loaded to meet this requirement. alpha ALPHA 0 is transparent (default), 1 is opaque. ALPHA can be fractional. Note that images are drawn in the order they were loaded. scale SCALE How large to draw the image. In viewport coordinates, at 1 the image is scaled to fit maximized in the viewport. In horizontal coordinates, this defines the maximum angular width of the image in degrees. rotation DEGREES Absolute rotation, positive is clockwise. xpos X_POSITION Where to draw center of image. Viewport coordinates: 0 is center of viewport, 1 is right edge of viewport. Horizontal coordinates: The altitude angle in degrees above the horizon Equatorial coordinates: The declination angle in degrees J2000 coordinates: The declination angle in degrees ypos Y_POSITION Where to draw center of image. Viewport coordinates: 0 is center of viewport, 1 is top edge of viewport. Horizontal coordinates: The azimuth angle in degrees (from North, 90 is East) Equatorial coordinates: The right ascension angle in degrees J2000 coordinates: The right ascension angle in degrees landscape Load a landscape. Arguments have same names and possible values as in landscapes.ini file except that texture file names need to be specified in full including the path relative to the script. Also add argument "action load" meteors zhr ZENITH_HOURLY_RATE Stellarium 0.8.4d Scripting Command Reference 7 / 11

lat default LATITUDE South is negative. Value of default will reload value from configuration file. moveto lon default LONGITUDE West is negative. Value of default will reload value from configuration file. alt default ALTITUDE In meters. Value of default will reload value from configuration file. duration SECONDS How long to take to effect this change. action play end pause resume Note that pause toggles playback. If a script plays another script, the first will terminate. script filename SCRIPT_FILENAME If no arguments are supplied, deselects current object. (Leaves constellation selection alone.) See deselect command. select constellation CONSTELLATION_SHOR T_NAME 3 character abbreviation from constellation_names.eng.fab in the data/sky_cultures directories, case insensitive. Stellarium 0.8.4d Scripting Command Reference 8 / 11

hp HP_NUMBER nebula NEBULA_NAME Name as defined in data/nebula_textures.fab planet PLANET_NAME Name as defined in data/ssystem.ini pointer on 1 off 0 Whether to draw the highlighting pointer around the selected object. Default is on. atmosphere_fade_duration SECONDS auto_move_duration SECONDS used for auto zoom constellation_art_fade_duratio n SECONDS set constellation_art_intensity 0-1 landscape_name from landscapes.ini light_pollution_luminance measured in Cd/m^2 max_mag_nebula_name only label nebulas brighter than this max_mag_star_name only label stars brighter than this Stellarium 0.8.4d Scripting Command Reference 9 / 11

moon_scale 1 is real size home_planet Change viewing location, case sensitive sky_culture Culture directory name in the data/sky_cultures directory sky_locale locale code: fr, zh_hk, etc. star_limiting_mag Default is 6.5. Simply does not draw stars dimmer than this value at a full sky view. Might be removed in future releases. star_mag_scale star_scale star_twinkle_amount 0 is no twinkling time_zone System dependent timerate rate SECONDS_PER_SECOND Set simulation time rate. Only useful in scripts. SECONDS can be fractional. wait duration SECONDS Stellarium 0.8.4d Scripting Command Reference 10 / 11

auto in initial out "initial" returns to configured initial fov and viewing direction zoom fov FIELD_OF_VIEW in degrees delta_fov DELTA_DEGREES duration SECONDS Not used with delta_fov Stellarium 0.8.4d Scripting Command Reference 11 / 11