Hey everyone! I've been working on this for a while now and I have finally gotten it into a usable state!
It converts Two-Line-Elements (Also known as TLE's) to Space Engine .pak's for addons. It only supports 1 set at a time, I will try and get it to allow adding in bulk sometime.
Two-Line-Element's are the orbital properties of satellites in orbit around Earth, for example: If you wanted to get the orbit of the ISS then you get the Two-Line-Element of the ISS and put it into a .txt file and put it into the directory you extracted SpaceEngineTLE.zip to.
You can get the TLE's from: https://celestrak.com/NORAD/elements/!
You can download the tool from here: https://git.io/vxHvXhttps://git.io/vxHvX (GitHub) Included are example files.
To run it you run the .py file with Python (Downloadable here: https://www.python.org/ )
It will ask for you to enter the name of the file that has the Two-Line-Element (TLE) (For example type in "input" without quotes), then it will ask for the name of the .sc file you wanted to be added to the .pak (For example if you want the directory inside the .pak to be "catalogs\planets\ISS.sc" you just type in "ISS"). It will then ask you what to name the .pak file (For example, if you want it to be called "ISS.pak" you just type in "Iridium")
I'll add the .zip here just for ease of download
How to use: Run the .py file, type in the name of the stuff you want etc, just put it in (Space Engine directory)/Addons and you're all set!
Source is available here: https://github.com/RepublicofTexas/Space-Engine-TLE-ConverterPy
Credits to: Watsisname - Helped with a bit of code and a bunch of help for equations!, Phunnie - for pointing out my error in converting Mean Motion to orbital period!, DoctorOfSpace - Cool Guy, SpaceEngineer - Developer of Space Engine.
Bugs to fix: None so far
Requirements: Python 3 or newer
If you have any questions let me know! Matlab version below I suggest everyone that not know what to do with python should use this one!
I'm proud to announce that a fellow member Irolokirt has re created this in Matlab! It requires the matlab runtime which is 1 GB and can be found here if you want to install it manually. Though the installer should automatically install it if you don't have it!
DOWNLOAD: https://drive.google.com/open?id=1s0OKB8q4r_CZ26w4I9VDqAaPzxX3xueC
tutorial: https://www.youtube.com/watch?v=06ABBlvghMI
Many thanks to Irolokirt!
New features:
Multiple TLE support! Just put the number of TLE's in the file.
Now a standalone executable with installer
Along with standalone executable is has a GUI so it's easier to use!
Eliminated the necessity to insert the .sc name