Graphical interface Lua Universal Tools v5.0 beta - RELEASE ! (new edition 14.12.2017)

All Lua-tools for Celestia in one forum.
Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Graphical interface Lua Universal Tools v5.0 beta - RELEASE ! (new edition 14.12.2017)

Post #1by Croc » 03.12.2017, 08:43

.
Image

Application Name: Lua Universal Tools v5.0 beta (2013-2017)
Characteristic: Upgraded graphical interface to Celestia 1.6.1.
Feature: Lua Universal Tools - intuitive interface.

Size Application - 106,4 Mb (zipped), including:
  • LUT-5_basic - 43,5 Mb
  • LUT-5_additions - 62,9 Mb, including:
    • images_galaxy
    • images_cluster
    • images_nebula
    • images_other
    • 24 addons

    The minimum dimensions of monitor 700 x 900 pixels.
    User age 7-70+
    The authors of the upgrade v5.0: Gennady Lygin (aka Croc) and Patrick Ziegler (aka Gironde)

    Sources:

    Graphical interface - Lua Edu Tools v1.2 beta 8 by Vincent Giangiulio (aka Vincent)
    Maneuvering tools - CockPits v3D-1, protractor - Angular separation by Joёl (aka Jogad)
    Lagrange Points Tool v1.1 by Phil Batchelor (aka chuft-captain)
    Space Lift by Thomas Guilpain
    Graphical interface - Lua Universal Tools v4.0 (2013-2016) by Gennady Lygin(aka Croc)

    Applications Languages: English (en), Russian (ru), French (fr) when changing font sans10.txf.

    License agreement:
    Use and distribution of this software is authorized according to the license Creative Commons (CC BY-NC-ND) v4.0.
    The text of the license: in this place

    New tools:
    Autopilot, function "orbital flight" (with the programmer):

    Image

    RenderLocs - Panel Planetary nomenclature: 80 types of locations (individual visualization of each type of location):

    Image

    For more information, see User work guide with the graphical interface Lua Universal Tools v5.0 viewtopic.php?p=137340#p137340

    Parameters Graphical interface LUA EDU TOOLS and LUA Universal TOOLS.

    Comparisons between LET and LUT-5:
    Total controls = 129.
    LET replaces 50 controls, that's ~ 40%.
    LUT-5 replaces 112 controls ~ 90% !!!
    In addition:
    in LET there are 35 tools and features.
    LUT-5 has 96 tools and functions
    it's ~ 3 times more !!!

    (For more information, see Parameters LET and LUT-4/5, viewtopic.php?p=137430#p137430)

    In this form, Celestia will be more accessible to astronomy enthusiasts from 7 years old to 70 years old and up !

    Preparing to Install:

    1. Remove from Celestia folder:
    • "Lua_edu_tools" folder with all content (if there's)
    • asterisms.dat file (from "data" folder)

    2. Edit celestia.cfg file:
    • Add line:

      Code: Select all

      LuaHook "luahookinit.lua"
    • Edit line:

      Code: Select all

      ExtrasDirectories ["lua-applications" "extras" "extras-standard"]

    LUT-5_basic.zip installation to Celestia 1.6.1:
    1. Extract LUT-5_basic.zip file into "Celestia" folder and confirm file replacement
    2. Run Celestia

    LUT-5_additions.zip installation (if necessary)
    1. Extract LUT-5_additions.zip file into "Celestia" folder and confirm file replacement
    2. Run Celestia


    Note. For the correct operation of the graphical interface in French, you need to replace the font sans10.txf (from 18.11.2012 67Kb)
    to the font sans10.txf (from 16.08.2009 70Kb). To do this, you need to edit the extensions of these files.

    Note. The GUI has its own configuration file. By default, language = "en"
    It can be changed in the section "Define the language of the Lua Universal Tools' Graphical Interface."

    Note. When installing the GUI, the standard databases will not be loaded:
    • asteroids.ssc
    • comets.ssc
    • outersys.ssc

    Note. When installing the GUI, solarsys.ssc will be loaded without Pluto-Charon.

    Note. Correction of errors see message # 4.

    Alternative bases of dwarf planets, asteroids and comets in the following folders will be activated instead:
    • lua-applications/data/asteroids
    • lua-applications/data/comets
    • lua-applications/data/dwarfplanets

    Note. When installing the GUI, all the regular * locs files will not be loaded.
    Instead, alternative locations and comets will be activated in the following folders:
    • lua-applications/data/Locks
    • lua-applications/data/asteroids
    • lua-applications/data/comets
    • lua-applications/data/dwarf-planets

Note. The Space exploration and Other sections will not work without spacecraft bases that are not included in the LUT-5 package.

Testing the installation:
Start Celestia in the window ~ 700 x 900.
Wait for the end script "Start.cel" (until disappears greeting "Welcome to Celestia!")
Open your window to full screen.
Check in the bottom left corner of the screen the message "speed (3190 km / s)." It shall be red.
If the color is white, the LUT-5 is not installed correctly!
Click button PULT (en)/Pupitre(fr). Check the graphic interface LUT-5 with screenshot.

Image

If in the top right corner are revealed distortions in geometry, LUT-5 is established wrong!
Try the again restart Celestia.
Check Celestia for the presence of brakes on the Earth's rotation example.
On panel "Time Machine" increase the speed of rotation ~ 1000x.
If the Earth rotates smoothly without jerks, launch Celestia was normal.
If the Earth rotates jerky, try restarting Celestia.

Image

You can download archive in parts:
Attachments
LUT-5_basic.zip
(43.5 MiB) Downloaded 886 times
LUT-5_additions.zip
(62.95 MiB) Downloaded 796 times
Last edited by Alexell on 14.12.2017, 12:42, edited 2 times in total.
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
gironde M
Posts: 850
Joined: 16.12.2016
Age: 72
With us: 7 years 11 months
Location: Montigny-Les-Metz, France

Post #2by gironde » 06.12.2017, 15:21

Hello everyone,

I think I echo Croc asking you to give us your first impressions.
Tell us if you have any problems, or ask us the questions that bother you.

Gironde

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #3by Croc » 10.12.2017, 10:03

The accompanying text of the release (see message # 1) is amended as of 11.12.2017.

This is due to the partitioning of the archive into logical modules.
As a result, when the LUT-5_basic_module is loaded, the graphical interface becomes functional.
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #4by Croc » 05.03.2018, 08:14

Error correction:

1. New edition locale_cockpits_en.lua and locale_cockpits_fr.lua.
Unpack locale_cockpits_en + fr.zip.
Copy the files to the folder lua-applications/cockpits/locale.
Give permission to replace files.

2. Add file ru.lua.
Unpack ru.zip.
Copy the file to the folder lua-applications/lua_universal_tools_v5/locale/ru.
Attachments
locale_cockpits_en+fr.zip
(1.45 KiB) Downloaded 630 times
ru.zip
(35.06 KiB) Downloaded 593 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #5by Croc » 13.03.2018, 18:02

Update LUT-5 beta:
Change the format of the rotation angles, see screenshot:

Image

Installation:
  • unpack the enclosed archive cockpitsBox_13-03-2018.zip
  • replace the file cockpitsBox.lua
Attachments
cockpitsBox_13-03-2018.zip
(15.39 KiB) Downloaded 617 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #6by Croc » 11.08.2018, 16:12

Upgrading the AUTOPILOT tool.

Autopilot11-08-2018.jpg
Autopilot11-08-2018.jpg (37.41 KiB) Viewed 35047 times


Added buttons [<<], [>>].
These buttons increase or decrease the s/round value by 20%.
Algorithm of the button [>>]:

Code: Select all

         function()
         if orbit_duration >360 then
            orbit_duration = orbit_duration*1.2
            end

Algorithm of the button [<<]:

Code: Select all

         function()
         if orbit_duration >432 then
            orbit_duration = orbit_duration/1.2
            end

===========
Stored algorithms for the buttons [<], [>]:
The button [>] increases the value by 10 units, if the initial value >25.
The button [<] decreases the value by 10 units if the original value >35.
----------------
The button [>] increases the value by 5 units, if the initial value >=0.
The button [<] decreases the value by 5 units if the original value >=10.
=============
Update:
1. Copy and unzip the file compassBox.zip
2. Place the compassBox.lua file in the folder ..lua-applications\lua_universal_tools_v5\tools
3. Restart Celestia
Attachments
compassBox.zip
(10.29 KiB) Downloaded 572 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #7by Croc » 18.08.2018, 16:53

Update the tool "Time Machine" (see Panel 7 of the control panel).

Novation - the mode of the clock with an accuracy of 1/100 second.
Purpose - a step-by-step preview of the movement of the object with an interval of 1/100 second.
The author of the idea is Croc.
Programming - Gironde.

TM_OldNew.jpg


Example of work:
Fall Impact on Comet Tempel 1.
Centiseconds is the 6th and 7th decimal digit in JDate. In the first screenshot it's ..... 06, in the second ..... 07. Difference = 1 centisecond.

centisec_06.jpg


centisec_07.jpg


In the Pause mode, the mouse displays the [centisecond] window.
Next, the mouse is pressed with the mouse [<] or [>].

Update the tool "Time Machine"

1. Copy and unzip the file panel7Box.zip
2. Place the panel7Box.lua file in the folder ..lua-applications\lua_universal_tools_v5\tools
3. Restart Celestia
Attachments
panel7Box.zip
(9.19 KiB) Downloaded 560 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #8by Croc » 26.08.2018, 08:29

The layout of the GUI menu is changed, located in the upper right corner of the screen to place the new tool.
The menu width is increased to 200 pixels. Less will be abbreviated names.

The name of the buttons changes:
  • [Set Render] to [View Options]
  • [Set Addon Vis.] to [Set Addon]
  • [ViDiBa] tn [Vi. Di. Ba.]
  • [Lift] to [Lift Space]
  • [Kepler Param.] to [Kepler Parameters]
  • [Lagrange Points] to [Lagrange]
  • [Separation angles] to [Protractor]

A new tool will take its place !!!

NewTool.jpg
NewTool.jpg (24.5 KiB) Viewed 34848 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #9by Croc » 28.08.2018, 12:50

New tool - ObjectVisibilityButton.lua for asteroids and comets managed by Vi. Di. Ba.
by P. Ziegler aka Gironde 16-08-2018
Integration into Lua Universal Tools by Lygin Gennady a.k.a. Croc 27.08.2018

Obj.Text-green.jpg


A detailed description with illustrations can be found in: https://celestia.space/forum/viewtopic.php?p=139863#p139863

Update:
1. Copy and unzip menuLine1-7Box.zip
2. Copy the unpacked archive to the folder ..\lua-applications\lua_universal_tools_v5\menus\
3. Restart Celestia

Note. In menuLine1-7Box.zip includes the updated files for the new menu layout for the LUT-5. See the previous message.
Attachments
menuLine1-7Box.zip
(8.31 KiB) Downloaded 576 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #10by Croc » 29.08.2018, 18:13

Changed the coordinates of the "View Options" panel, the panel is moved 12 pixels to the left:

Code: Select all

renderFrame.Customdraw =
.......................................
        if newwidth ~= width or newheight ~= height then
            newwidth, newheight = width, height;         
            renderFrame:attach(screenBox, width-renderFrameWidth-205-12, height-renderFrameHeight-10, 205+12, 10);       
        end

12pic.jpg
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Diigg M
Posts: 54
Joined: 09.02.2011
With us: 13 years 9 months

Post #11by Diigg » 04.09.2018, 12:41

Hello, is there any way to disable the options that we do not want to be activated by default?
For example, I do not like to start the program with the checked marks or the names of the locations. When I start the program they are activated, I deactivate them, but when I start again they are activated again by default.
Where can I change this?
a greeting

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #12by Croc » 04.09.2018, 19:17

Hello, is there any way to disable the options that we do not want to be activated by default?
For example, I do not like to start the program with the checked marks or the names of the locations. When I start the program they are activated, I deactivate them, but when I start again they are activated again by default.
Where can I change this?

Hi, Diigg!

The main viewing parameters in the GUI are set in the settings panel, which is turned on with the [Set Options] button (in the screenshot the new name is View Options):

View_1.jpg


In this case, check-boxes are included (there is a tick):
  • Stars
  • Objects of the Solar System (all classes)
  • Planet names
  • Atmospheres
  • Cloud Maps
  • Cloud Shadows
  • Eclipse Shadows
  • Night Maps

If you exit Celestia and restart it, Celestia will set the parameters that were before exiting:

View_2.jpg


Please note that the selected check-boxes are included. However, there is still a tick in the check-box [Markers].
I do not know where this team comes from. If it is not needed, you can disable it manually.

Note. Graphic the interface does not take part in saving the selected parameters and in restoring from at startup.
===========================
If you want to set the selected set of options, save them using Menu / Bookmarks.
For details, see the Celestia User Guide.
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #13by Croc » 08.09.2018, 17:49

The screenshot shows that the date and time line is shifted to the left outside the LUT menu.
This function is controlled by Celestia and does not refer to the LUT.

Time_error.jpg
Time_error.jpg (24.05 KiB) Viewed 34564 times


Modification of the menu provides:
  • transfer the control function of the date and time line from Celestia to LUT.
  • adding a time management line, duplicating this function available in Panel7
  • Adding the "Pause" button - [ II ].
  • design change.

Time.jpg


Note:

This modification of the LUT menu requires the modification of all Guides:
  • shift left 12 pixels.
  • shift down 36 pixels..

Without this, it is premature to install a new modification! :fie:

Compare:

Time_error-2.jpg
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #14by Croc » 09.09.2018, 03:06

New edition panel Guides:

NewPanelGuides.jpg
Attachments
guidesBox.zip
(1.66 KiB) Downloaded 475 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #15by Croc » 20.09.2018, 19:44

#13by Croc » 08.09.2018, 20:49

Note:

This modification of the LUT menu requires the modification of all Guides:
shift left 12 pixels.
shift down 36 pixels...

In the attachment Guides with updated coordinates.
In the attachment, the updated config.lua

UPDATE:

1. Copy and Unpack guides.zip
2. Delete the folder ... \ lua-applications \ lua_universal_tools_v5 \ guides "
3. Move the guidess folder to a folder ..\lua-applications\lua_universal_tools_v5\
4. Copy and Unpack config.zip
5. Replace in the folder ..\lua-applications\lua_universal_tools_v5 file config.lua
6. Restart Celestia
Attachments
config.zip
(8.99 KiB) Downloaded 484 times
guides.zip
(286.04 KiB) Downloaded 486 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
CM1215 M
Posts: 221
Joined: 30.08.2017
Age: 22
With us: 7 years 2 months
Location: Ohio, U. S. A.

Post #16by CM1215 » 20.09.2018, 20:50

Just out of curiosity, how did you get the stars to look so good in the first pic on your first post in this thread?
CM1215: Celestial master in learning.

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #17by Croc » 20.09.2018, 21:37

Just out of curiosity, how did you get the stars to look so good in the first pic on your first post in this thread?

About this effect, read viewtopic.php?p=135660#p135660

This effect should be implemented in celestia 1.7.0

Screenshot in the message # 1 is made on the experimental version 1.7.0.
I have not worked with the prototype version 1.7.0 for more than a year.
Try installing Celestia dev. binaries
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #18by Croc » 21.09.2018, 09:47

#13by Croc » 08.09.2018, 20:49
...........................
Modification of the menu provides:
transfer the control function of the date and time line from Celestia to LUT.
adding a time management line, duplicating this function available in Panel7
Adding the "Pause" button - [ II ].
design change.

Last Updated on Thursday, September 21, 2018 at 18:40

In the LUT-5 menu, the Date + Time display and 7 buttons for time management are inserted. The display and buttons are controlled by a graphical interface, they
identical to the display and 7 buttons in the Panel 7 (Time Machine).

Messages on the displays are changed:

MenusTime_21-09-2018.jpg


Update:
1. Copy and unzip the file panel7Box_21-09-2018.zip
2. Place thepanel7 Box.lua file in the folder ..\lua-applications\lua_universal_tools_v5\tools
3. Copy and unzip the file menu_21-09-2018.zip
4. Place the unpacked files in a folder ..\lua-applications\lua_universal_tools_v5\menus
5. Restart Celestia
Attachments
panel7Box_21-09-2018.zip
(9.36 KiB) Downloaded 486 times
menus_21-09-2018.zip
(12.88 KiB) Downloaded 447 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Diigg M
Posts: 54
Joined: 09.02.2011
With us: 13 years 9 months

Post #19by Diigg » 27.09.2018, 19:53

Is there a way (or shortcut) to show and hide the panels?

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #20by Croc » 27.09.2018, 20:52

Is there a way (or shortcut) to show and hide the panels?

1. When you start Celestia the GUI menu (upper right corner of the screen) is enabled:

Menus.jpg
Menus.jpg (29.51 KiB) Viewed 34155 times


To disable the GUI menu, you must use the keyboard command [Shift + I]:

MenusNo.jpg
MenusNo.jpg (8.9 KiB) Viewed 34155 times


2. Pressing any button (in 4, 5, 6, 7, 8 row) opens / closes the panel of the corresponding instrument. For example, the [View Options] button opens the View Options panel:

MenusViewOptiops.jpg


3. When the buttons (1, 2, 3, 4, 5, 6, 7) are pressed in the 9th row of the GUI menu, the corresponding panels (1, 2, 3, 4, 5, 6, 7) of the Control Panel are switched on / off. When the [PULT] button is pressed, all panels of the Control Panel are turned on / off:

MenusPult.jpg


4. Each panel can be moved to any place on the screen with the mouse, hooking the panel behind the header of the panel:

MenusPult-2.jpg


5. For more information, see User work guide with the graphical interface Lua Universal Tools v5.0
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019


Return to “Lua-Tools”