[Feature request- Solution] Modular layout Control views/locations Topic is solved

LDG
Site Admin
Posts: 2701
Joined: 18.10.2010, 00:03
Location: near Karlsruhe/Germany

Re: [Feature request] Modular layout Control views/locations

Post by LDG » 02.11.2018, 18:19

Hi Robert,

you should have received an email with a first prototype and instructions for necessary php installation.
It is still work in progress and needs additional coding to cover all kinds of "special designs" :coding:

It should work for all kinds of layouts possible in Rocrail:
  • modular layouts: Rocview also when using -tabview or -tabviewrotated
  • "standard" layouts: also using different levels of different dimensions
I will show it to other users tommorow on user day in Speyer.

Lothar

rjversluis
Site Admin
Posts: 42309
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: [Feature request] Modular layout Control views/locations

Post by rjversluis » 02.11.2018, 18:27

Hi Lothar,

I do not understand why your solution is soo mysteriously presented... :?
Breaks all rules? Massive Rocview rewriting? Would be better to communicate...

LDG
Site Admin
Posts: 2701
Joined: 18.10.2010, 00:03
Location: near Karlsruhe/Germany

Re: [Feature request] Modular layout Control views/locations

Post by LDG » 02.11.2018, 19:14

Hi Rob,

no changes to Rocrail server an no changes to Rocview needed by now.

It is only a PHP based tool that is "injected" between server and client(s). It does XML-rewriting of the data packets in both directions "on the fly".

Rocrail server and Rocview do not recognice it (until now).

Lothar

rvooyen
Posts: 979
Joined: 08.12.2012, 11:31
Location: Netherlands (Hilversum)

Re: [Feature request] Modular layout Control views/locations

Post by rvooyen » 07.11.2018, 11:22

Further this feature from Lothar, I have been testing it with a layout the M-Track Group will be showing at the "Houten Digitaal" expo on 10th Dec next. This will be the first public showing of an M-track modular layout using PC control (Rocrail).

Modular layouts are usually long and narrow and so it is important to be able to view displays of the layout from either side of the layout, which is why this feature is being developed. This allows two PC's te run together from two sides of a layout.

I attach two displays using the current test phase of the development. It seems to be working nicely. If you wish to know more or wish to try a test version, please contact Lothar (LDG) directly by PM.

Here are the two displays from either side of the layout:
0deg_view.jpg
and the view from the otherside:
180deg_view.jpg
This seems to be a very useful "add on" to Rocrail, specifically for modular=long narrow layouts.

Robert
You do not have the required permissions to view the files attached to this post.

rvooyen
Posts: 979
Joined: 08.12.2012, 11:31
Location: Netherlands (Hilversum)

Re: [Feature request] Modular layout Control views/locations

Post by rvooyen » 11.12.2018, 13:53

To LOTHAR

At a show this weekend we used, the upside down feature you developed and it worked great!

We had three PC's around the layout two of which had upside down views - all worked great!!!

Start line is: php.exe -s IP(server) -C IP(server) as I mentioned. Run on server only.

Thank you so much for developing this tool for viewing Rocrail plans from two sides of a long narrow layout.
:beer: :thumb_up: :thumb_up: :thumb_up:

Robert

LDG
Site Admin
Posts: 2701
Joined: 18.10.2010, 00:03
Location: near Karlsruhe/Germany

Re: [Feature request- Solution] Modular layout Control views/locations

Post by LDG » 11.12.2018, 17:34

Hi Robert,

good news :)
Thank you for testing in "production environment".


Unfortunately I did not find yet a solution for the connection/termination problems that appear frequently when closing Rocview.

Last night I started accepting "user input" to change/"tune" some parameters (like debug level) without a restart. Also pressing q<enter> will terminate the script (like a Rocrail server). You'll receive another prerelease version to test within some days.

Lothar

rjversluis
Site Admin
Posts: 42309
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: [Feature request- Solution] Modular layout Control views/locations

Post by rjversluis » 21.12.2018, 09:00

Hi Robert and Lothar,

in the meantime I have developed an alternative solution:
viewtopic.php?f=44&t=16948 (German)

But I still have to document it in the Wiki.
https://wiki.rocrail.net/doku.php?id=rocview:aui-en

rvooyen
Posts: 979
Joined: 08.12.2012, 11:31
Location: Netherlands (Hilversum)

Re: [Issue] Modular layout Control views/locations

Post by rvooyen » 05.02.2019, 17:10

I have loaded 14923.

For normal plans I see the option to rotate the view.

I do not see this option for Modular layouts (combined plan). So still need to use the Lothar php version? Correct?

The whole point of the rotated view was for modular = long narrow layouts with Rocviews on either side.

Robert


rjversluis
Site Admin
Posts: 42309
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: [Feature request- Solution] Modular layout Control views/locations

Post by rjversluis » 05.02.2019, 17:55

Hi Robert,

just checked it with a modular plan: Works.
You can rotate and move modules in all directions.

rvooyen
Posts: 979
Joined: 08.12.2012, 11:31
Location: Netherlands (Hilversum)

Re: [Feature request- Solution] Modular layout Control views/locations

Post by rvooyen » 05.02.2019, 20:04

OK so you have to use the AUI and rotate all modules individually. This is rather cumbersome with 10 or more modules.
The PHP method does it in one go.

A small error on sizing:

Plan 0:
Plan 0.jpg
This is the plan with three modules in 0degree view. The connections are correct and the locs can move as required. The sizings are also correct. But the bar at the top will make vertical connections not look great.

Plan 180:
Plan 180.jpg
Same modules but on rotating the column calculation is not correct - columns added on left.
Plan still works correctly.

Now a more complex and real example of a recent layout we ran with 8 modules.
BigPlan 0.jpg
I think most will agree that this does not look great.
Rotating and replacing all the modules is also a lot of work.

So for a monolithic plan the function is fine. Perhaps for modules not yet. The PHP does everything in one go and keeps all sizes correct and without tab tops etc.

If you can remove the top tab bar at least the vertical connections will look better.

Just trying to help on this!

Robert
You do not have the required permissions to view the files attached to this post.

rjversluis
Site Admin
Posts: 42309
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: [Feature request- Solution] Modular layout Control views/locations

Post by rjversluis » 05.02.2019, 20:09

Robert,

you can save the perspective for reusing it, so you only have to invest time just once for every module arrangement.
I will try optimise the module support.

rvooyen
Posts: 979
Joined: 08.12.2012, 11:31
Location: Netherlands (Hilversum)

Re: [Feature request- Solution] Modular layout Control views/locations

Post by rvooyen » 05.02.2019, 20:17

Here the Bigplan rotated 180.
After some work the plan is correct and the locs move correctly.
But plan does not look great.
BigPlan 180.jpg
On saving - is this per client? So you can save locally on each client otherwise you have to make each time?

FYI.

Robert
You do not have the required permissions to view the files attached to this post.

rvooyen
Posts: 979
Joined: 08.12.2012, 11:31
Location: Netherlands (Hilversum)

Re: [Feature request- Solution] Modular layout Control views/locations

Post by rvooyen » 05.02.2019, 20:28

The plan was saved and then rocrail restarted.
Looks like some modules were not saved in rotated form.
SavedBigPlan 180.jpg
So save function needs some work looks like.

Sorry :(

Robert
You do not have the required permissions to view the files attached to this post.

RainerK
Moderator
Posts: 4077
Joined: 29.04.2009, 09:31
Location: Sprockhövel (zwischen BO u. W)
Contact:

Re: [Feature request- Solution] Modular layout Control views/locations

Post by RainerK » 05.02.2019, 23:49

Hi together,

I'm sorry, but I lack any understanding why a Module plan should necessarily be presented in AUI view with separate windows for every module.

The not really docked and not borderfree AUI windows will never be able to show a satisfying stable presentation of the Module transitions. :roll:

In the classic view, misleading called "notebook", the Module plan representation has been proven for years
and has none of the problems that are chewed mindlessly in this topic.

IMHO it should be possible to display and rotate the Module plan in just one window.
Whether the rotation of the module plan is done in the notebook view or in the AUI view does not matter.
So the problem in this theme will then be final fixed.

Post Reply

Return to “Modular Layout Support”