Skip to content

Commit

Permalink
Updated script 'Partial Lunar Eclipse'
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-w committed Jul 23, 2018
1 parent a139dff commit 35cf8db
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
6 changes: 6 additions & 0 deletions plugins/RemoteControl/webroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,9 @@ <h3><?= tr("Display objects from catalogs")?></h3>
<label title='<?= tr("The Strasbourg-ESO Catalogue of Galactic Planetary Nebulae (Acker+, 1992)")?>'>
<input type="checkbox" value="0x40000" />PN G
</label>
<label title='<?= tr("Abell Catalog of Planetary Nebulae (Abell, 1966)")?>'>
<input type="checkbox" value="0x400000" />Abell
</label>
</div>
<div class="inline-block blocklabel">
<label title='<?= tr("Caldwell Catalogue")?>'>
Expand All @@ -382,6 +385,9 @@ <h3><?= tr("Display objects from catalogs")?></h3>
<label title='<?= tr("A catalogue of Galactic supernova remnants (Green, 2014)")?>'>
<input type="checkbox" value="0x80000" />SNR G
</label>
<label title='<?= tr("Hickson Compact Group (Hickson+, 1982)")?>'>
<input type="checkbox" value="0x200000" />HCG
</label>
</div>
<div class="inline-block blocklabel">
<label title='<?= tr("New General Catalogue of Nebulae and Clusters of Stars")?>'>
Expand Down
6 changes: 6 additions & 0 deletions plugins/RemoteControl/webroot/tablet7in.html
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,9 @@ <h3><?= tr("Display objects from catalogs")?></h3>
<label title='<?= tr("The Strasbourg-ESO Catalogue of Galactic Planetary Nebulae (Acker+, 1992)")?>'>
<input type="checkbox" value="0x40000" />PN G
</label>
<label title='<?= tr("Abell Catalog of Planetary Nebulae (Abell, 1966)")?>'>
<input type="checkbox" value="0x400000" />Abell
</label>
</div>
<div class="inline-block blocklabel">
<label title='<?= tr("Caldwell Catalogue")?>'>
Expand All @@ -546,6 +549,9 @@ <h3><?= tr("Display objects from catalogs")?></h3>
<label title='<?= tr("A catalogue of Galactic supernova remnants (Green, 2014)")?>'>
<input type="checkbox" value="0x80000" />SNR G
</label>
<label title='<?= tr("Hickson Compact Group (Hickson+, 1982)")?>'>
<input type="checkbox" value="0x200000" />HCG
</label>
</div>
<div class="inline-block blocklabel">
<label title='<?= tr("New General Catalogue of Nebulae and Clusters of Stars")?>'>
Expand Down
5 changes: 3 additions & 2 deletions scripts/lunar_partial.ssc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Name: Partial Lunar Eclipse
// License: Public Domain
// Author: Matthew Gates
// Version: 1.0
// Version: 1.1
// Description: Script to demonstrate a partial lunar eclipse.
//

Expand All @@ -12,7 +12,8 @@ LandscapeMgr.setFlagLandscape(false);
LandscapeMgr.setFlagAtmosphere(false);
LandscapeMgr.setFlagFog(false);
core.wait(1);
core.setDate("2006:03:14T21:21:32");
core.setObserverLocation(53.349, 83.7674, 219, 0, "Barnaul, Russia");
core.setDate("2012:06:04T10:00:00");
core.selectObjectByName("Moon", false);
StelMovementMgr.setFlagTracking(true);
core.wait(2);
Expand Down

0 comments on commit 35cf8db

Please sign in to comment.