Ultimate space simulation software

 
LucasAstro
Space Tourist
Space Tourist
Topic Author
Posts: 32
Joined: 15 Sep 2017 04:32

Two-Line-Element to Space Engine Addon

01 Mar 2018 14:21

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
Attachments
SpaceEngineTLE.zip
(1.3 KiB) Downloaded 336 times
Last edited by LucasAstro on 12 Apr 2018 14:22, edited 11 times in total.
 
LucasAstro
Space Tourist
Space Tourist
Topic Author
Posts: 32
Joined: 15 Sep 2017 04:32

Two-Line-Element to Space Engine Addon

03 Mar 2018 14:50

Made an update to the program above (Ver 1.1.1 now):
No longer crashes when getting close
More options (Name of .sc file to generate in the .pak, name of the .pak to output)
A bit more accurate now
 
LucasAstro
Space Tourist
Space Tourist
Topic Author
Posts: 32
Joined: 15 Sep 2017 04:32

Two-Line-Element to Space Engine Addon

04 Mar 2018 12:03

Update 1.1.2:
Fixed major inaccuracy. ~24-hour orbital period was only ~6 minutes, I encourage everyone who has downloaded to redownload the update, my apologies for the inaccurate orbital period!
 
LucasAstro
Space Tourist
Space Tourist
Topic Author
Posts: 32
Joined: 15 Sep 2017 04:32

Two-Line-Element to Space Engine Addon

04 Mar 2018 14:08

Update 1.2.3! Ease of access release, now an .EXE so you don't need Python anymore! I suggest downloading this one if you don't care about the source code (If you don't know what that is you don't need to download the python one and should download this one!)
You have to download from here https://git.io/vAHrl due to me uploading to the forum the file being too large (360 kb too much)
Here is the Python version: https://git.io/vxvtZhttps://git.io/vAHiJ
EDIT: I've broken it, keep to this now https://github.com/RepublicofTexas/Space-Engine-TLE-ConverterPy/releases/download/1.1.2/SpaceEngineTLE.zip, can't fix right now, sorry!
Attachments
SpaceEngineTLE.zip
(1.57 KiB) Downloaded 318 times
Last edited by LucasAstro on 30 Mar 2018 19:52, edited 3 times in total.
 
dixitarjun
Observer
Observer
Posts: 2
Joined: 10 Mar 2018 15:23

Two-Line-Element to Space Engine Addon

10 Mar 2018 15:24

SpaceEngine version 0.9.8.0 is constantly crashing after I've completed some pending system and driver updates. Since I can replicate the error I've managed to save the error logs where do I send them?
Arjun Dixit
 
dixitarjun
Observer
Observer
Posts: 2
Joined: 10 Mar 2018 15:23

Two-Line-Element to Space Engine Addon

10 Mar 2018 15:31

Okay a quick update. Now as I've uninstalled and reinstalled the software it seem to be working normally again. I will let you guys know if i encounter any problem. 

[color=#555555][size=85]Arjun Dixit[/size][/color]
[size=85][url=https://getappvalley.com/][color=#555555]App Valley[/color][/url] [url=https://tutuappx.com/][color=#555555]Tutu App[/color][/url] [url=https://tweakbox.mobi/][color=#555555]Tweak Box[/color][/url][/size]
Arjun Dixit
 
LucasAstro
Space Tourist
Space Tourist
Topic Author
Posts: 32
Joined: 15 Sep 2017 04:32

Two-Line-Element to Space Engine Addon

11 Mar 2018 23:42

Everyone download this one, I fixed the it not outputting at all error!
Github download: https://git.io/vxodc
Please forgive the long time it took to fix, I couldn't get to developing it for a while.
Attachments
SpaceEngineTLE.zip
(1.3 KiB) Downloaded 289 times
Last edited by LucasAstro on 06 Apr 2018 15:18, edited 3 times in total.
 
LucasAstro
Space Tourist
Space Tourist
Topic Author
Posts: 32
Joined: 15 Sep 2017 04:32

Two-Line-Element to Space Engine Addon

14 Mar 2018 05:07

Taking feature suggestions, anyone got any?
 
LucasAstro
Space Tourist
Space Tourist
Topic Author
Posts: 32
Joined: 15 Sep 2017 04:32

Two-Line-Element to Space Engine Addon

30 Mar 2018 19:46

Fixed error: Used Period / 365 when I should've used Period / 24 / 60. Everyone who has downloaded should download this update or else your periods would be on a scale of days! Really should've noticed this before sorry. (Ver. 1.1.6)
Github download: [url=https://git.io/vxHvX]https://git.io/vxHvX[/url]
Attachments
SpaceEngineTLE.zip
(1.3 KiB) Downloaded 308 times
Last edited by LucasAstro on 06 Apr 2018 15:13, edited 1 time in total.
 
User avatar
Irolokirt
Astronaut
Astronaut
Posts: 42
Joined: 21 Feb 2017 08:38
Location: toscana italia

Two-Line-Element to Space Engine Addon

04 Apr 2018 14:56

i've downloaded the stand alone version, but it seems doesn't work or i wrong somethings...i didn't understand very well how it work
can you give me some examples?
thanks
 
LucasAstro
Space Tourist
Space Tourist
Topic Author
Posts: 32
Joined: 15 Sep 2017 04:32

Two-Line-Element to Space Engine Addon

05 Apr 2018 08:25

It should have an example, type the .txt with a single 2 line element (From the name onwards, do not include a 2nd element!)
For example is the name with the TLE is "example.txt" then you first type "example"
Then you can type the name of the file you want to generate and the name of the .sc file to be generated and put in there.
Please tell me what you are doing for me to be able to help you any more
 
User avatar
Irolokirt
Astronaut
Astronaut
Posts: 42
Joined: 21 Feb 2017 08:38
Location: toscana italia

Two-Line-Element to Space Engine Addon

06 Apr 2018 11:10

i didn't understand this thing "Then you can type the name of the file you want to generate and the name of the .sc file to be generated and put in there."
i suppose that you should have a pre-existent .sc file for example i have use an asteroid then i've insert the .sc file in the TLEprogram directory. in the command line i have typed this ...
this is the TLE
► Show Spoiler
 
LucasAstro
Space Tourist
Space Tourist
Topic Author
Posts: 32
Joined: 15 Sep 2017 04:32

Two-Line-Element to Space Engine Addon

06 Apr 2018 13:25

Oh, you don't need to add an .sc. It automatically generates a .sc with the parameters in the TLE and puts it in the file. Put the TLE inside the "input.txt" file and then run that again, you should have a .pak outputted and then you just put it in the Space Engine Addons folder.
 
LucasAstro
Space Tourist
Space Tourist
Topic Author
Posts: 32
Joined: 15 Sep 2017 04:32

Two-Line-Element to Space Engine Addon

06 Apr 2018 13:44

Please note that the EXE is no longer supported
Update 1.3.1:
Fixed not right time
No longer leaves files in directory
Moves files straight to Space Engine addon directory (C:\SpaceEngine\Addons)
Download (Github); https://git.io/vxHvX
Attachments
SpaceEngineTLE.zip
(1.3 KiB) Downloaded 306 times
 
LucasAstro
Space Tourist
Space Tourist
Topic Author
Posts: 32
Joined: 15 Sep 2017 04:32

Two-Line-Element to Space Engine Addon

06 Apr 2018 15:15

Everyone redownload, I used wrong way to convert from Mean Motion to orbital period the entire time and hadn't noticed it. I am very sorry! (Just download from the post above, I have edited it)

Who is online

Users browsing this forum: No registered users and 29 guests