Sujet : Exécuter un script ... Nouveau | De Jean-René Le 26-10-2009 à 07:42 sta |
|
Bonjour,
Petite question informatique ...
Je m'intéresse aux logiciels d'astronomie et j'ai installé Celestia; pour certaines fonctions, il est demandé d'utiliser un script, dont voici un exemple édité avec le bloc-note :
"Apollo 11" "Sol/Earth/Moon"
{
Class "spacecraft"
Mesh "apollo.3ds"
Radius 0.010
Beginning 2440422.22361 # Lunar orbit insertion 17:22 UTC 19-Jul-1969
Ending 2440423.2972199 # Lunar module descent 19:08 UTC 20-Jul-1969
EllipticalOrbit
{
Period 0.0873
SemiMajorAxis 1922
Eccentricity 0.00078
Inclination 5
}
Albedo 0.10
}
"Apollo 11 Command Service Module" "Sol/Earth/Moon"
{
Class "spacecraft"
Mesh "apolloCSM.3ds"
Radius 0.0085
Beginning 2440423.29722 # Lunar Module descent 19:08 UTC 20-Jul-1969
Ending 2440424.2458399 # Ascent Docking 17:54:01 UTC 21-Jul-1969
EllipticalOrbit
{
Period 0.0873
SemiMajorAxis 1922
Eccentricity 0.00078
Inclination 5
}
Albedo 0.10
}
"Apollo 11 CSM & Ascent" "Sol/Earth/Moon"
{
Class "spacecraft"
Mesh "apolloCSM_ascent.3ds"
Radius 0.010
Beginning 2440424.24584 # Ascent Docking 17:54:01 UTC 21-Jul-1969
Ending 2440424.48681 # Ascent Jettison 23:41 UTC 21-Jul-1969
EllipticalOrbit
{
Period 0.0873
SemiMajorAxis 1922
Eccentricity 0.00078
Inclination 5
}
Albedo 0.10
}
"Apollo 11 CSM" "Sol/Earth/Moon"
{
Class "spacecraft"
Mesh "apolloCSM.3ds"
Radius 0.0085
Beginning 2440424.4868101 # Ascent Jettison 23:41 UTC 21-Jul-1969
Ending 2440424.70535 # Transearth Injection 04:55:42 UTC 22-Jul-1969
EllipticalOrbit
{
Period 0.0873
SemiMajorAxis 1922
Eccentricity 0.00078
Inclination 5
}
Albedo 0.10
}
Comment rendre ces instructions éxécutables ???
Celestia
Merci
|
|
Sujet : Exécuter un script ... Nouveau | De Jean-René Le 26-10-2009 à 07:45 sta |
|
D'après le fichier texte cela parait simple, mais ...
"INSTRUCTIONS FOR INSTALLATION INTO CELESTIA
The three models used in this package have been taken from the original 3ds model created by Shrox in 2002.
I have improved the dish antennas so they can be viewed in Celestia.
The original is still available at;
http://www.shatters.net/celestia/files/shroxapollo.zip
The models (with the help of the .ssc file) will show the 4 different phases of the orbiting apollo 11 spacecraft "Columbia" during the historic first moon landing of July 1969.
To install this add-on into Celestia 1.3.1 pre 6 or later, you can simply unzip the "Apollo_11" file directly into your "extras" file.
To install this add-on into an older version of Celestia (before 1.3.1 pre6), or if you still use the traditional method;
Place the three .3ds files into your "models" folder.
Place the "apollo 11.ssc" file into your "extras" folder.
Enjoy!
TERRIER
7th July 2004."
Bonne journée à tous,
Jean-René
|
|
Sujet : Exécuter un script ... Nouveau | De Jacques (webmestre) Le 26-10-2009 à 10:18 sta |
|
D'après ce que je comprend, il faut sauvegarder ce fichier sous le nom "apollo 11.ssc" dans le dossier extras, en supposant que les fichiers .3ds existent déjà dans models.
|
|
|