Free planetarium

 
User avatar
SpaceEngineer
Author of SpaceEngine
Author of SpaceEngine
Topic Author
Posts: 401
Joined: 17 May 2016
Location: Saint-Petersburg
Contact:

COMMUNITY ADDON - binary/multiple stars fixes for SE

24 Nov 2016 09:56

By analogy with the binary asteroids thread, this is a thread for the scripts for the binary/multiple stars, which are still represented as solitary star in default SE catalogs. Use the url=http://new.spaceengine.org/manual/making-addons/creating-a-star/]creating a star[/url] manual for this.

Also, feel free to post a request for a binary/multiple star here, if you are not skilled in SE scripts, but want to see this star in SE. Someone could make the script for you.

Each new version of SpaceEngine will collect all scripts from this thread to make an updated version of default catalogs.
 
User avatar
JackDole
Pioneer
Pioneer
Posts: 429
Joined: 02 Nov 2016
Location: Terra

COMMUNITY ADDON - binary/multiple stars fixes for SE

25 Jan 2017 09:16

54 Piscium with a brown dwarf as companion.

So far not so in SpaceEngine
// -*- coding: utf-8 -*-
// Name: 54_Psc.sc
// JackDole 2017.01.25 15:42:08

// Put this script in 'addons\catalogs\stars'

//------------------------------------------------------------------------------
//https://en.wikipedia.org/wiki/54_Piscium
//------------------------------------------------------------------------------

StarBarycenter    "54 Psc/HD 3651/HIP 3093"
{
    RA      00 39 21.80589
    Dec     21 15 01.7081
    Dist    11.6
    
    Mass    0.811
    AppMagn 5.88
}

//------------------------------------------------------------------------------

// -*- coding: utf-8 -*-
// Name: 54_PscSys.sc
// JackDole 2017.01.25 15:55:12

// Put this script in 'addons\catalogs\planets'

//------------------------------------------------------------------------------
//https://en.wikipedia.org/wiki/54_Piscium
//------------------------------------------------------------------------------

Star "54 Psc A/HD 3651 A/HIP 3093 A"
{
    ParentBody  "54 Psc"
    Class       "K0V"
    
    MassSol     0.76
    RadSol      0.944
    
    RotationPeriod  964.8
    
    Lum         0.52
    Teff        5062
    FeH         -0.15
    Age         6.4
    
    Orbit
    {
        SemiMajorAxis   29.93341554
        Eccentricity    0.0         // Not known
        Inclination     0.0         // Not known
        AscendingNode   0.0         // Not known
        ArgOfPericenter 0.0         // Not known
        MeanAnomaly     0.0         // Not known
    }
}

Star "54 Psc B/HD 3651 B/HIP 3093 B"
{
    ParentBody  "54 Psc"
    Class       "T7.5 V"
    
    MassSol     0.051
    RadSol      0.082
    
    Teff        810
    
    Orbit
    {
        SemiMajorAxis   446.06658446
        Eccentricity    0.0         // Not known
        Inclination     0.0         // Not known
        AscendingNode   0.0         // Not known
        ArgOfPericenter 180.0       // Not known
        MeanAnomaly     0.0         // Not known
    }
}

//------------------------------------------------------------------------------

Remove  "HD 3651 b" {ParentBody "HD 3651"}
Remove  "HD 3651 c" {ParentBody "HD 3651"}

Planet "HD 3651 b"
{
    ParentBody     "HD 3651 A"
    Msini           72.8678
    DiscMethod     "RadVel"
    DiscDate       "2003"
    
    Orbit
    {
        Epoch           2453932.6
        Period          0.1703472428
        SemiMajorAxis   0.295
        Eccentricity    0.596
        Inclination     83
        ArgOfPericen    242.5
    }
}

Planet "HD 3651 c"
{
    ParentBody     "HD 3651 A"
    Mass            28.638
    DiscMethod     "RadVel"
    DiscDate       "2013"
    
    Orbit
    {
        Period          0.08487518929
        SemiMajorAxis   0.186
        Eccentricity    0.04
        ArgOfPericen    55
    }
}

//------------------------------------------------------------------------------

Put this script in 'addons\catalogs\stars':
54_Psc.sc
(588 Bytes) Downloaded 89 times

and this in 'addons\catalogs\planets':
54_PscSys.sc
(2.31 KiB) Downloaded 80 times
 
User avatar
Roswell
Space Pilot
Space Pilot
Posts: 112
Joined: 05 Nov 2016

COMMUNITY ADDON - binary/multiple stars fixes for SE

29 Jan 2017 22:22

wow that nice :O I love those two brown gazeous planets :D
 
User avatar
nadiawendt
Observer
Observer
Posts: 3
Joined: 04 Feb 2017
Contact:

COMMUNITY ADDON - binary/multiple stars fixes for SE

04 Feb 2017 18:43

I have a binary solar system called Alina AB, and I was hoping to use SE to help me visualize certain things, but I am having trouble building the system on my own. Since, at the top of this thread, it says to feel free to submit requests, I figured there is no harm in asking if anyone would be willing to create it in their spare time.

Information on the solar system can be found here: link

I will continue trying to make it work myself, but I would be very grateful if someone with more knowledge than myself would be willing to create an add-on of this system.
 
User avatar
XBrain130
Explorer
Explorer
Posts: 172
Joined: 26 Nov 2016
Location: Italy
Contact:

COMMUNITY ADDON - binary/multiple stars fixes for SE

04 Feb 2017 19:26

nadiawendt wrote:
I have a binary solar system called Alina AB, and I was hoping to use SE to help me visualize certain things, but I am having trouble building the system on my own. Since, at the top of this thread, it says to feel free to submit requests, I figured there is no harm in asking if anyone would be willing to create it in their spare time.

Information on the solar system can be found here: link

I will continue trying to make it work myself, but I would be very grateful if someone with more knowledge than myself would be willing to create an add-on of this system.

I think you misunderstood. This thread is for real life binary stars. You should post that in this thread instead: viewtopic.php?f=3&t=175
SpaceEngine's Italian Discord server: https://discord.gg/NhQbEbC
 
User avatar
nadiawendt
Observer
Observer
Posts: 3
Joined: 04 Feb 2017
Contact:

COMMUNITY ADDON - binary/multiple stars fixes for SE

04 Feb 2017 19:53

@XBrain130
Thank you for telling me
 
User avatar
Simon
Observer
Observer
Posts: 6
Joined: 06 May 2017
Location: Chicago

COMMUNITY ADDON - binary/multiple stars fixes for SE

06 May 2017 04:50

Sorry for late response, and I know it's a lot to ask, but if someone could do these things it would be greatly appreciated.

The OGLE-2013-BLG-0341 system is only represented as one star. If someone could mod that in, it would be greag.

Who is online

Users browsing this forum: No registered users and 2 guests