Scripts (for 0.10.0+)

(Difference between revisions)
Jump to: navigation, search
(Scripts)
(From the Stellarium repository)
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOTOC__
+
==Introduction==
 +
As of version 0.10.1, Stellarium has a new scripting engine.  This is currently in development (2012-03-19).  It is possible to test the new scripting engine if you build the latest bzr Stellarium, although please bear in mind it is not yet complete and the API will most certainly change as development continues.
  
===Introduction===
+
==API Documentaion==
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 [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]
+
{{Package|url=http://bazaar.launchpad.net/~stellarium/stellarium/trunk/view/head:/scripts/lunar_partial.ssc|name=Partial Lunar Eclipse|author=Matthew Gates|license=Public Domain|compat=0.10+|description=Script to demonstrate a partial lunar eclipse.}}
*[http://stellarium.svn.sourceforge.net/viewvc/stellarium/trunk/stellarium/scripts/lunar_partial.ssc Partial lunar eclipse]
+
 
*[http://stellarium.svn.sourceforge.net/viewvc/stellarium/trunk/stellarium/scripts/lunar_total.ssc Total lunar eclipse]
+
{{Package|url=http://bazaar.launchpad.net/~stellarium/stellarium/trunk/view/head:/scripts/lunar_total.ssc|name=Total Lunar Eclipse|author=Matthew Gates|license=Public Domain|compat=0.10+|description=Script to demonstrate a total lunar eclipse.}}
*[http://stellarium.svn.sourceforge.net/viewvc/stellarium/trunk/stellarium/scripts/solar_eclipse.ssc Solar eclipse, 2009]
+
 
 +
{{Package|url=http://bazaar.launchpad.net/~stellarium/stellarium/trunk/view/head:/scripts/solar_eclipse.ssc|name=Solar Eclipse 2009|author=Matthew Gates|license=Public Domain|compat=0.10+|description=Script to demonstrate a total solar eclipse which has happened in 2009 (location=Rangpur, Bangladesh).}}
 +
 
 +
{{Package|url=http://bazaar.launchpad.net/~stellarium/stellarium/trunk/view/head:/scripts/landscapes.ssc|name=Landscape Tour|author=Matthew Gates|license=Public Domain|compat=0.10+|description=Look around each installed landscape.}}
 +
 
 +
{{Package|url=http://bazaar.launchpad.net/~stellarium/stellarium/trunk/view/head:/scripts/zodiac.ssc|name=Zodiac|author=Matthew Gates|license=Public Domain|compat=0.10+|description=This script displays the constellations of the Zodiac. That means the constellations which lie along the line which the Sun traces across the celestial sphere over the course of a year.}}
 +
 
 +
{{Package|url=http://bazaar.launchpad.net/~stellarium/stellarium/trunk/view/head:/scripts/screensaver.ssc|name=Screensaver|author=Matthew Gates|license=Public Domain|compat=0.10+|description=A slow, infinite tour of the sky, looking at random objects.}}
 +
 
 +
{{Package|url=http://bazaar.launchpad.net/~stellarium/stellarium/trunk/view/head:/scripts/constellations_tour.ssc|name=Constellations Tour|author=Alexander Wolf|license=Public Domain|compat=0.10+|description=A tour via western constellations.}}
  
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
Line 22: Line 29:
 
[[Category:Scripting]][[Category:Customization]][[Category:Development]]
 
[[Category:Scripting]][[Category:Customization]][[Category:Development]]
 
*[http://www.lowerwolfjaw.com/astro/Stellarium/oppos.htm Opposition Scripts] 11 Scripts in all. Scripts show oppositions of Mars, Jupiter, Saturn, Uranus, Neptune and Pluto. By Qam1
 
*[http://www.lowerwolfjaw.com/astro/Stellarium/oppos.htm Opposition Scripts] 11 Scripts in all. Scripts show oppositions of Mars, Jupiter, Saturn, Uranus, Neptune and Pluto. By Qam1
*[http://www.lowerwolfjaw.com/astro/Stellarium/sss.htm Solar System Event Screen Saver] Script does a slide show of various past, present and future events in the solar system such as notable oppositions, conjunctions, planet groupings, eclipses, transits, occultations, etc. 154 Events in all!!!!  I am constantly adding more so check back often. By Qam1
+
*[http://www.lowerwolfjaw.com/astro/Stellarium/sss.htm Solar System Event Screen Saver] Script does a slide show of various past, present and future events in the solar system such as notable oppositions, conjunctions, planet groupings, eclipses, transits, occultations, etc. 171 Events in all!!!!  I am constantly adding more so check back often. By Qam1
 
*[http://www.lowerwolfjaw.com/astro/Stellarium/mclose.htm Mars Closest Approaches] Script displays Mars' closest approaches to Earth from 1561 to 3218. By Qam1
 
*[http://www.lowerwolfjaw.com/astro/Stellarium/mclose.htm Mars Closest Approaches] Script displays Mars' closest approaches to Earth from 1561 to 3218. By Qam1
 
*[http://www.lowerwolfjaw.com/astro/Stellarium/ge.htm Mercury and Venus Greatest Elongations] Script displays Mercury and Venus' Greatest Elongations as seen from Earth. Includes Venus' Greatest Brilliancy dates. Now Version 3. By Qam1
 
*[http://www.lowerwolfjaw.com/astro/Stellarium/ge.htm Mercury and Venus Greatest Elongations] Script displays Mercury and Venus' Greatest Elongations as seen from Earth. Includes Venus' Greatest Brilliancy dates. Now Version 3. By Qam1
*[http://www.lowerwolfjaw.com/astro/Stellarium/efo.htm Earth from Other Planets] Scripts showing what Earth will look like from other planets in the solar system. 5 Scripts in all. Now version 3. By Qam1
+
*[http://www.lowerwolfjaw.com/astro/Stellarium/efo.htm Earth from Other Planets] Scripts showing what Earth will look like from other planets in the solar system. 6 Scripts in all. Now version 4.0 By Qam1
 
*[http://www.lowerwolfjaw.com/astro/Stellarium/mersun.htm Mercury: Triple Sunrise and Sunset all in one solar day] Due to the quirks in Mercury's orbit and rotation at certain spots the sun will rise & set 3 different times in one Mercury day. By Qam1
 
*[http://www.lowerwolfjaw.com/astro/Stellarium/mersun.htm Mercury: Triple Sunrise and Sunset all in one solar day] Due to the quirks in Mercury's orbit and rotation at certain spots the sun will rise & set 3 different times in one Mercury day. By Qam1
 
*[http://lamacchia.us/astro/stellarium/stell_main.html What's out tonight] Shows information about selected objects, used as looped introduction at public observing events. Right now just for October 2010.
 
*[http://lamacchia.us/astro/stellarium/stell_main.html What's out tonight] Shows information about selected objects, used as looped introduction at public observing events. Right now just for October 2010.
Line 33: Line 40:
  
 
* [http://www.lowerwolfjaw.com/astro/Stellarium/pe.htm 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
 
* [http://www.lowerwolfjaw.com/astro/Stellarium/pe.htm 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
* [http://www.lowerwolfjaw.com/astro/Stellarium/rise.htm 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
+
* [http://www.lowerwolfjaw.com/astro/Stellarium/rise.htm 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. Version 3.0 By Qam1
 
* [https://sites.google.com/site/tdsmub/Home/AllinOne1-4.ssc All-in-one] [https://sites.google.com/site/tdsmub/Home/helpAllinOne.txt help]: Display Messier, Urban, Caldwell, Double and Carbon stars lists. By Edouardo
 
* [https://sites.google.com/site/tdsmub/Home/AllinOne1-4.ssc All-in-one] [https://sites.google.com/site/tdsmub/Home/helpAllinOne.txt help]: Display Messier, Urban, Caldwell, Double and Carbon stars lists. By Edouardo

Revision as of 13:34, 30 July 2012

Contents

Introduction

As of version 0.10.1, Stellarium has a new scripting engine. This is currently in development (2012-03-19). It is possible to test the new scripting engine if you build the latest bzr 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

Screenshot not available Partial Lunar Eclipse Matthew Gates Public Domain 0.10+ English
Script to demonstrate a partial lunar eclipse.
Screenshot not available Total Lunar Eclipse Matthew Gates Public Domain 0.10+ English
Script to demonstrate a total lunar eclipse.
Screenshot not available Solar Eclipse 2009 Matthew Gates Public Domain 0.10+ English
Script to demonstrate a total solar eclipse which has happened in 2009 (location=Rangpur, Bangladesh).
Screenshot not available Landscape Tour Matthew Gates Public Domain 0.10+ English
Look around each installed landscape.
Screenshot not available Zodiac Matthew Gates Public Domain 0.10+ English
This script displays the constellations of the Zodiac. That means the constellations which lie along the line which the Sun traces across the celestial sphere over the course of a year.
Screenshot not available Screensaver Matthew Gates Public Domain 0.10+ English
A slow, infinite tour of the sky, looking at random objects.
Screenshot not available Constellations Tour Alexander Wolf Public Domain 0.10+ English
A tour via western constellations.

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. Version 3.0 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