Deleted the old Orbit.
[Orbitizer.git] /
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/python3

from Body import Body
from Orbit import Orbit
from math import pi

Kerbol = Body("Kerbol", 1.7565670e28, 261.6e6)
Moho = Body("Moho", 2.5263617e21, 250e3, Orbit(Kerbol, 5263138304, 0.2, 7. * pi / 180., 70. * pi / 180., 15. * pi / 180., pi))
Eve = Body("Eve", 1.2244127e23, 700e3, Orbit(Kerbol, 9832684544, 0.01, 2.1 * pi / 180., 15. * pi / 180., 0, pi))
Gilly = Body("Gilly", 1.2420512e17, 13e3, Orbit(Eve, 31.5e6, 0.55, 12. * pi / 180., 80. * pi / 180., 10. * pi / 180., 0.9))
Kerbin = Body("Kerbin", 5.2915793e22, 600e3, Orbit(Kerbol, 13599840256, 0, 0, 0, 0, pi))
Mun = Body("Mün", 9.7600236e20, 200e3, Orbit(Kerbin, 12e6, 0, 0, 0, 0, 0.9))
Minmus = Body("Minmus", 2.6457897e19, 60e3, Orbit(Kerbin, 47e6, 0, 6. * pi / 180., 78. * pi / 180., 38. * pi / 180., 1.7))
Duna = Body("Duna", 4.5154812e21, 320e3, Orbit(Kerbol, 20726155264, 0.05, 0.06 * pi / 180., 135.5 * pi / 180., 0, pi))
Ike = Body("Ike", 2.7821949e20, 130e3, Orbit(Duna, 3.2e6, 0.03, 0.2 * pi / 180., 0, 0, 1.7))
Dres = Body("Dres", 3.2191322e20, 138e3, Orbit(Kerbol, 40839348203, 0.14, 5. * pi / 180., 280. * pi / 180., pi / 2., pi))
Jool = Body("Jool", 4.2332635e24, 6e6, Orbit(Kerbol, 68773560320, 0.05, 1.304 * pi / 180., 52. * pi / 180., 0, 0.1))
Laythe = Body("Laythe", 2.9397663e22, 500e3, Orbit(Jool, 27.184e6, 0, 0, 0, 0, pi))
Vall = Body("Vall", 3.1088028e21, 300e3, Orbit(Jool, 43.152e6, 0, 0, 0, 0, 0.9))
Tylo = Body("Tylo", 4.2332635e22, 600e3, Orbit(Jool, 68.5e6, 0, 0.025 * pi / 180., 0, 0, pi))
Bop = Body("Bop", 3.7261536e19, 65e3, Orbit(Jool, 128.5e6, 0.24, 15. * pi / 180., 10. * pi / 180., 25. * pi / 180., 0.9))
Pol = Body("Pol", 1.0813636e19, 44e3, Orbit(Jool, 179.89e6, 0.17, 4.25 * pi / 180., 2. * pi / 180., 15. * pi / 180., 0.9))
Eeloo = Body("Eeloo", 1.1149358e21, 210e3, Orbit(Kerbol, 90118820000, 0.26, 6.15 * pi / 180., 50. * pi / 180., 260. * pi / 180., pi))