PlanetGenerator a small utility for generate planets.

Here you find pointers to utilities that help you create addons for Celestia.
Avatar
Topic author
InfintySpace
Posts: 6
Joined: 18.07.2020
With us: 3 months 11 days

PlanetGenerator a small utility for generate planets.

Post #1by InfintySpace » 30.07.2020, 12:19

Hi all. I am new to the forum but I already knew celestia for a long time.

I publish the topic, because I have been working on a small tool for celestia called PlanetGenerator for some time. Basically what it does is generate whole planets, stars and even planetary system for Celestia, exporting .ssc and .stc files. Data from individual planets can be viewed before being exported. The program works by commands, to see the commands I could open the file README-.txt or open the program and type "help".

It took me time to do it as it is now, but I did it with the intention of facilitating and automating the addition of planetary systems to Celestia.

Hope you like.

Link:

Link: https://drive.google.com/file/d/1hXufM_h1so3U9kLBv1sY-lvRpzPy-Qjg/view?usp=sharing

Avatar
TheLostProbe
Posts: 97
Joined: 07.05.2020
Age: 13
With us: 5 months 22 days
Location: Melbourne, Victoria, The Land Down Under

Post #2by TheLostProbe » 30.07.2020, 22:43

Nice to see another generator
"If I die on Mars, I don't want it to be on impact"
- Elon Musk
"Astronomy compels the soul to look upwards and leads us from this world to another."
- Plato
Celestia version: 1.6.1
Discord username and tag: ₱ⱤⱠӾ | TheLostSovietProbe#6571
Current projects:
- CelWP contributions
- Hypothetical Objects (my version), or HypObjs
- Fictional Quenis System - Interstellar System - Recently discovered Sagittarius A* stars - NWP contributions - WW Celestia contributions - Fictional DIGSS catalog of intergalactic planets

Avatar
Topic author
InfintySpace
Posts: 6
Joined: 18.07.2020
With us: 3 months 11 days

Post #3by InfintySpace » 31.07.2020, 12:57

Thanks, here is this other version, I corrected a translation error.

Link: https://drive.google.com/file/d/1FvO4Vn9IH8FwtIBUsjj6MGpHDynJ_PAG/view?usp=sharing

Avatar
trappistplanets
Posts: 104
Joined: 11.06.2020
With us: 4 months 18 days

Post #4by trappistplanets » 31.07.2020, 16:28

how do i use it?

Added after 45 seconds:
your read me doent tell me how to use it

Avatar
jujuapapa
Banned
Posts: 346
Joined: 24.06.2018
With us: 2 years 4 months
Location: Western E.U.

Post #5by jujuapapa » 31.07.2020, 16:58

I tried without success... :eek: even after reading the help file. :fie:

I deleted it, not enough simple. :biggrin:
Soft: Celestia 1.6.2
PC : Intel Core i9-9900K (4 GHz) , Chipset Z390 Exp, RAM 32 Go DDR4 3000 Mhz, SSD M.2 512 Go + HDD 3 To, MSI GeForce RTX 2080 8Go - W10 64b

I lost my old user, so with us: since more 12 years
=> It is by doubting everything that everybody approaches the truth !

Avatar
Gurren Lagann
Posts: 282
Joined: 31.01.2018
Age: 14
With us: 2 years 8 months
Location: State of Rio de Janeiro, Brazil

Post #6by Gurren Lagann » 31.07.2020, 18:05

There are two READMEs per language, one with information about the generator, and another listing how to use and the list of commands.
Next time, please read both READMEs before complaining.

BTW, i did get the generator to work.
"The tomorrow we're trying to reach is not a tomorrow you had decided on!"
- Simon the Digger
"Nothing is impossible for me, as long I'm determinated to keep moving forward!"
"If other people aren't going to do it, I'm going to do it myself!"
- Me (Gurren)

Current major projects:
- Aur Cir
- Cel+
- Project Sisyphus
- Populating the Local Group
- An galaxy generator

Avatar
Topic author
InfintySpace
Posts: 6
Joined: 18.07.2020
With us: 3 months 11 days

Post #7by InfintySpace » 31.07.2020, 22:46

MMM OK. First try to generate a star by entering the following command: GenerateStar.

https://drive.google.com/file/d/1VJoyPs7kGvXd0MmYuoXZmHYmu98FLxEn/view?usp=sharing

Then try showing it on the screen: ShowStar.

https://drive.google.com/file/d/1xIcmuk1jYxlDqNWcsNNzfPro3vAyozl5/view?usp=sharing

https://drive.google.com/file/d/1j3Y6sOiWIhT2zEnT_fKkEYTwEtMmp14q/view?usp=sharing

Now generate a planet: GeneratePlanet or Generate a planet of specific type GenerateGiantPlanet.

https://drive.google.com/file/d/1GPz81Ex-Dv8i3OzGp3DFoRRHFDqOyo67/view?usp=sharing

And show it: ShowGiantPlanet.

https://drive.google.com/file/d/1FvzKC4GBkUZDGw5rpRQ5UMXCPc70wnfR/view?usp=sharing

https://drive.google.com/file/d/1MeNpYfNEbPooToHWMbOwYV8So6sF1Rck/view?usp=sharing


And finally with the command SetStarName and SetGiantName select the names for the star and the planet. And after this enter the s ExportStar and ExportGiantPlanet commands to export the data to the corresponding files.

And automatically the files will be written.

https://drive.google.com/file/d/1YJ2lhM5tQc1M3GNustu425L4irA_m-9B/view?usp=sharing

Lastly, a little trick, if you want to see everything that this program can do with just one command, type ExportStars, the program will automatically start generating 10 to 50 stars and generating its random systems. PlanetGenerator will automatically generate asteroid and comet belts around the star.

https://drive.google.com/file/d/1io9NCQWt7Y6d0K2vja3p92yD-63X3SzQ/view?usp=sharing

A sample to exploit everything PlanetGenerator can do.

They can still type "help" to see the available commands. I suggest you experiment with the commands. A useful tip is that, if they generate a star, and then generate the planets, they automatically belong to that star, due to which they take the data; if the star were to regenerate but the planets did not, they would retain the same data generated for the previous star.

Avatar
Gurren Lagann
Posts: 282
Joined: 31.01.2018
Age: 14
With us: 2 years 8 months
Location: State of Rio de Janeiro, Brazil

Post #8by Gurren Lagann » 01.08.2020, 15:48

Oh btw, here's a suggestion:

Could you make the generator generate systems around set stars (with set planets) as input, while keeping the planets in mind?
For example, if i make the generator generate systems around every single star with real exoplanets, the generator tries to keep the real exoplanets in the system in mind, so that they dont get disrupted.
"The tomorrow we're trying to reach is not a tomorrow you had decided on!"
- Simon the Digger
"Nothing is impossible for me, as long I'm determinated to keep moving forward!"
"If other people aren't going to do it, I'm going to do it myself!"
- Me (Gurren)

Current major projects:
- Aur Cir
- Cel+
- Project Sisyphus
- Populating the Local Group
- An galaxy generator

Avatar
Topic author
InfintySpace
Posts: 6
Joined: 18.07.2020
With us: 3 months 11 days

Post #9by InfintySpace » 01.08.2020, 23:54

Well that's a good suggestion, I'll consider it. For now what you could do is: Generate the star and replace all its data with that of the real star, in PlanetGenerator there are commands to replace all the data of the star; and then generate the planets one by one and modify the semi-major axis of each generated planet, there are also commands to modify some data of the planets such as semi-major axis, name and subclass.

Avatar
trappistplanets
Posts: 104
Joined: 11.06.2020
With us: 4 months 18 days

Post #10by trappistplanets » 03.08.2020, 17:49

where can i find the exported stc and ssc files?

Avatar
Gurren Lagann
Posts: 282
Joined: 31.01.2018
Age: 14
With us: 2 years 8 months
Location: State of Rio de Janeiro, Brazil

Post #11by Gurren Lagann » 03.08.2020, 17:51

They export in the same place as the generator.
"The tomorrow we're trying to reach is not a tomorrow you had decided on!"
- Simon the Digger
"Nothing is impossible for me, as long I'm determinated to keep moving forward!"
"If other people aren't going to do it, I'm going to do it myself!"
- Me (Gurren)

Current major projects:
- Aur Cir
- Cel+
- Project Sisyphus
- Populating the Local Group
- An galaxy generator

Avatar
trappistplanets
Posts: 104
Joined: 11.06.2020
With us: 4 months 18 days

Post #12by trappistplanets » 03.08.2020, 18:04

Gurren Lagann wrote:They export in the same place as the generator.
i am not seeing them
Attachments
unknown.png

Avatar
jujuapapa
Banned
Posts: 346
Joined: 24.06.2018
With us: 2 years 4 months
Location: Western E.U.

Post #13by jujuapapa » 04.08.2020, 06:05

LOL ! :biggrin:
Soft: Celestia 1.6.2
PC : Intel Core i9-9900K (4 GHz) , Chipset Z390 Exp, RAM 32 Go DDR4 3000 Mhz, SSD M.2 512 Go + HDD 3 To, MSI GeForce RTX 2080 8Go - W10 64b

I lost my old user, so with us: since more 12 years
=> It is by doubting everything that everybody approaches the truth !

Avatar
Topic author
InfintySpace
Posts: 6
Joined: 18.07.2020
With us: 3 months 11 days

Post #14by InfintySpace » 04.08.2020, 23:29

The exported files should be created in the same place as the generator, make sure you are typing the commands correctly. Try running it on both versions.

Avatar
trappistplanets
Posts: 104
Joined: 11.06.2020
With us: 4 months 18 days

Post #15by trappistplanets » 06.08.2020, 10:44

i only understand english

Avatar
TheLostProbe
Posts: 97
Joined: 07.05.2020
Age: 13
With us: 5 months 22 days
Location: Melbourne, Victoria, The Land Down Under

Post #16by TheLostProbe » 20.08.2020, 06:06

jujuapapa wrote:LOL ! :biggrin:
COULD YUO JUST SHUT UP PLEASE

THIS
ENDS
HERE

any mods delete this if yuo want or if it has to be
"If I die on Mars, I don't want it to be on impact"
- Elon Musk
"Astronomy compels the soul to look upwards and leads us from this world to another."
- Plato
Celestia version: 1.6.1
Discord username and tag: ₱ⱤⱠӾ | TheLostSovietProbe#6571
Current projects:
- CelWP contributions
- Hypothetical Objects (my version), or HypObjs
- Fictional Quenis System - Interstellar System - Recently discovered Sagittarius A* stars - NWP contributions - WW Celestia contributions - Fictional DIGSS catalog of intergalactic planets

Avatar
jujuapapa
Banned
Posts: 346
Joined: 24.06.2018
With us: 2 years 4 months
Location: Western E.U.

Post #17by jujuapapa » 20.08.2020, 06:15

TheLostProbe wrote:COULD YUO JUST SHUT UP PLEASE

THIS
ENDS
HERE

any mods delete this if yuo want or if it has to be

16 days after.... very pertinent, right ? :clap:
Soft: Celestia 1.6.2
PC : Intel Core i9-9900K (4 GHz) , Chipset Z390 Exp, RAM 32 Go DDR4 3000 Mhz, SSD M.2 512 Go + HDD 3 To, MSI GeForce RTX 2080 8Go - W10 64b

I lost my old user, so with us: since more 12 years
=> It is by doubting everything that everybody approaches the truth !

Avatar
TheLostProbe
Posts: 97
Joined: 07.05.2020
Age: 13
With us: 5 months 22 days
Location: Melbourne, Victoria, The Land Down Under

Post #18by TheLostProbe » 20.08.2020, 06:17

ok that's it

Added after 1 minute 12 seconds:
THE ONLY REASON IS BECAUSE I DON'T CONSTANTLY CHECK THE FORUMS FOR GOD SAKE
"If I die on Mars, I don't want it to be on impact"
- Elon Musk
"Astronomy compels the soul to look upwards and leads us from this world to another."
- Plato
Celestia version: 1.6.1
Discord username and tag: ₱ⱤⱠӾ | TheLostSovietProbe#6571
Current projects:
- CelWP contributions
- Hypothetical Objects (my version), or HypObjs
- Fictional Quenis System - Interstellar System - Recently discovered Sagittarius A* stars - NWP contributions - WW Celestia contributions - Fictional DIGSS catalog of intergalactic planets

Avatar
Anthony_B_Russo10
Moderator
Posts: 471
Joined: 03.07.2018
Age: 17
With us: 2 years 3 months
Location: Tallahassee, Florida, US

Post #19by Anthony_B_Russo10 » 20.08.2020, 07:00

Juapapa don't incite him.

And Lost Probe, please refrain from post messages like what you posted above.
Anthony B. Russo, I like Pluto. Mod of the Celestia subreddit: https://www.reddit.com/r/Celestiasoftware/
I have over 30 computers, trying to list them here would be a pain.

Avatar
TheLostProbe
Posts: 97
Joined: 07.05.2020
Age: 13
With us: 5 months 22 days
Location: Melbourne, Victoria, The Land Down Under

Post #20by TheLostProbe » 20.08.2020, 07:14

Anthony_B_Russo10 wrote:And Lost Probe, please refrain from post messages like what you posted above.
like I said in Trolligi's addon list, yuo're right
"If I die on Mars, I don't want it to be on impact"
- Elon Musk
"Astronomy compels the soul to look upwards and leads us from this world to another."
- Plato
Celestia version: 1.6.1
Discord username and tag: ₱ⱤⱠӾ | TheLostSovietProbe#6571
Current projects:
- CelWP contributions
- Hypothetical Objects (my version), or HypObjs
- Fictional Quenis System - Interstellar System - Recently discovered Sagittarius A* stars - NWP contributions - WW Celestia contributions - Fictional DIGSS catalog of intergalactic planets


Return to “Utilities”

Who is online