Scripts (for 0.10.0+)

(Difference between revisions)
Jump to: navigation, search
(Scripts)
Line 1: Line 1:
__NOTOC__
+
==Introduction==
 
+
===Introduction===
+
 
As of version 0.10.1, Stellarium has a new scripting engine.  This is currently in development  (2009-04-04).  It is possible to test the new scripting engine if you build the latest SVN Stellarium, although please bear in mind it is not yet complete and the API will most certainly change as development continues.
 
As of version 0.10.1, Stellarium has a new scripting engine.  This is currently in development  (2009-04-04).  It is possible to test the new scripting engine if you build the latest SVN Stellarium, although please bear in mind it is not yet complete and the API will most certainly change as development continues.
  
===API Documentaion===
+
==API Documentaion==
 
After building Stellarium itself from the SVN code, do "make apidoc" (you need Doxygen installed).  This will create a directory: .../stellarium/builds/doc/html which contains the API documentation in HTML format or you follow this link [http://www.stellarium.org/doc/head/index.html Doxygen-API]
 
After building Stellarium itself from the SVN code, do "make apidoc" (you need Doxygen installed).  This will create a directory: .../stellarium/builds/doc/html which contains the API documentation in HTML format or you follow this link [http://www.stellarium.org/doc/head/index.html Doxygen-API]
  
===Scripts===
+
==Scripts==
From the Stellarium SVN repository:
+
===From the Stellarium repository===
*[http://stellarium.svn.sourceforge.net/viewvc/stellarium/trunk/stellarium/scripts/labels.ssc?revision=3885 Demonstration of the custom labels scripting feature]
+
*[http://bazaar.launchpad.net/~stellarium/stellarium/trunk/view/head:/scripts/lunar_partial.ssc Partial lunar eclipse]
*[http://stellarium.svn.sourceforge.net/viewvc/stellarium/trunk/stellarium/scripts/lunar_partial.ssc Partial lunar eclipse]
+
*[http://bazaar.launchpad.net/~stellarium/stellarium/trunk/view/head:/scripts/lunar_total.ssc Total lunar eclipse]
*[http://stellarium.svn.sourceforge.net/viewvc/stellarium/trunk/stellarium/scripts/lunar_total.ssc Total lunar eclipse]
+
*[http://bazaar.launchpad.net/~stellarium/stellarium/trunk/view/head:/scripts/solar_eclipse.ssc Solar eclipse, 2009]
*[http://stellarium.svn.sourceforge.net/viewvc/stellarium/trunk/stellarium/scripts/solar_eclipse.ssc Solar eclipse, 2009]
+
*[http://bazaar.launchpad.net/~stellarium/stellarium/trunk/view/head:/scripts/landscapes.ssc Landscapes Tour]
 +
*[http://bazaar.launchpad.net/~stellarium/stellarium/trunk/view/head:/scripts/zodiac.ssc Zodiac]
  
User contributed:
+
===User contributed===
 
*[http://www.datafilehost.com/download-30ffab11.html Adam Fenley's solar eclipse, 2017]
 
*[http://www.datafilehost.com/download-30ffab11.html Adam Fenley's solar eclipse, 2017]
 
*[http://www.buschhardt.de/hr-diagram.zip TBuschhardt's Hertzsprung-Russel-Diagramm] - extract all 3 files into the script folder
 
*[http://www.buschhardt.de/hr-diagram.zip TBuschhardt's Hertzsprung-Russel-Diagramm] - extract all 3 files into the script folder

Revision as of 14:32, 19 March 2012

Contents

Introduction

As of version 0.10.1, Stellarium has a new scripting engine. This is currently in development (2009-04-04). It is possible to test the new scripting engine if you build the latest SVN Stellarium, although please bear in mind it is not yet complete and the API will most certainly change as development continues.

API Documentaion

After building Stellarium itself from the SVN code, do "make apidoc" (you need Doxygen installed). This will create a directory: .../stellarium/builds/doc/html which contains the API documentation in HTML format or you follow this link Doxygen-API

Scripts

From the Stellarium repository

User contributed

  • Planet Ephemeris Script will go to the best time to view selected planet and give more ephemeris like RA and Dec from Sun, phase, rise, set, transit times, ring angle for Saturn, magnitudes and earth shine and more!! By Qam1
  • Rise and Set times The script will display Rise, transit, set, up length times and Right Ascension from the sun for 49 different bodies (Stars, planets, asteroids). This script will also display Civil Twilight, Nautical Twilight and Astronomical twilight times. By Qam1
  • All-in-one help: Display Messier, Urban, Caldwell, Double and Carbon stars lists. By Edouardo
Personal tools
Namespaces
Variants
Actions
in this wiki
other languages
Toolbox