Paolo Angeli
 Personal Website

Celestia Feature requests: Group 6

FR37 Multiview scripts

Home

My Celestia

Feature requests

 Group 6

  FR33 In place editing

  FR34 Script Recording

  FR35 URL thru scripts

  FR36 Interactive scripts

  FR37 Multiview scripts

 

Multiview script commands

Is requested the capability of running CEL or CELX commands for multiview support.

 

Description:

I was thinking about the current multiview and script capabilities of Celestia and some ideas came in my mind.

 

Some new script commands should be useful like:
 

 SelectPane {ID n}

   #n=number

 SplitHorizontal {ID n Size p}

   #p = percentage of the higher resulting  pane

 SplitVertical {ID n Size p}

   #p = percentage of the left resulting pane

 CallScript {name "na"}

   #na = name

 SetPath {name "na"}

   #na = name

 SwitchPane {p1 n1 p2 n2}

   #p1,P2 = Pane IDs

 DeletePane {ID n}

   #n=number

 

So the final script should be something like this:

 

#Split the main view. The higher resulting pane conserves its ID (1) pane and has the 30% of the initial pane height.

SplitHorizontal {ID 1 Size 0.33}

#make other splits

Splitvertical {ID 1 Size 0,67}
SplitVertical {ID 1 Size 0.5
SplitHorizontal {ID 2 Size 0,67}
SplitHorizontal {ID 2 Size 0,5}

 

The current result should be

#+-------------+------------+-----------+
#|1            |4           |2          |
#|             |            |           |
#|             |            |           |
#|             |            |           |
#|             |            |           |
#+-------------+------------+-----------+
#|3                         |6          |
#|                          |           |
#|                          |           |
#|                          |           |
#|                          |           |
#|                          +-----------+
#|                          |5          |
#|                          |           |
#|                          |           |
#|                          |           |
#|                          |           |
#+--------------------------+-----------+

 

#reorder panes

Switchpane { p1 3 p2 1}
Switchpane { p1 3 p2 2}
Switchpane { p1 4 p2 3}
Switchpane { p1 6 p2 5}
 

The final result should be

#+-------------+------------+-----------+
#|2            |3           |4          |
#|             |            |           |
#|             |            |           |
#|             |            |           |
#|             |            |           |
#+-------------+------------+-----------+
#|1                         |5          |
#|                          |           |
#|                          |           |
#|                          |           |
#|                          |           |
#|                          +-----------+
#|                          |6          |
#|                          |           |
#|                          |           |
#|                          |           |
#|                          |           |
#+--------------------------+-----------+

 

The porting of these cel script commands in celx Lua script format should be surely easy.

 

These commands should be very useful for the implementation of the FR26.

 

Required/Suggested:

  FR34 Script recording.

 

Further related improvements:

  (...)

 

Related Newsgroup Threads:

  URL through Scripts

 

Reference Celestia Version:

  1.3.0

 

Status:

  (19-09-03) Submitted to forum attention.

  (19-09-03) Waiting.

 

Subscribers (Subscribe this item)

  Paolo Angeli.

 

Back to Group 6.
Back to Feature requests.
Back to
My Celestia.

 

Last update: 19-09-03