Moving & Rotating modules in Rocview

Moderator: Moderators

Moving & Rotating modules in Rocview

Postby rjversluis » 18.07.2008, 14:43

As from svn3208 it is possible to move and rotate modules in the Rocview.
Next step will be inserting and removing modules.
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby rjversluis » 18.07.2008, 21:01

BTW: On all connected clients the moves and rotations are real time observationally.
The 10ms sleep between the object rotations will add a animated look and feel.

But who cares any way.
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby cwichmann » 19.07.2008, 06:05

Hey Rob,

great work. I didn't try it until yet but it seems to be great :-)
cwichmann
 

Postby rjversluis » 19.07.2008, 13:22

Thanks Christian!

Today the next issue is also implemented:

**Inserting and removing modules.**

svn3218
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby dadolphs » 19.07.2008, 22:08

Rob,

great job! Rocail is becoming more and more unique in terms of overall functionality!

And I will use this functionality for sure, as soon as my 'module' Buchrain is built, to add the other planned modules to my layout.

Best regards,
Dirk
H0 - IB - LocoBuffer (MGV) - Ubuntu (Server) - Vista (Client) - iRoc - andRoc - Fredi

http://blog.moba-keller.de/
dadolphs
 

Postby sunbeamtech » 20.07.2008, 10:57

Great! Where cna i download svn3218? :D
sunbeamtech
 

Postby cwichmann » 20.07.2008, 11:08

Hi,

either you compile the sources yourself ( http://wiki.rocrail.net/doku.php?id=develop-corner-en#compile_rocrail ) or wait until the next nightly build or the next snapshot.
cwichmann
 

Postby sunbeamtech » 20.07.2008, 11:15

I will wait! :wink:
sunbeamtech
 

Postby sunbeamtech » 20.07.2008, 14:16

I see that there's a new nightly build, so I can now make modular layouts? Can you tell me the basic steps how to?

Thanks! :D :beer:
sunbeamtech
 

Postby rjversluis » 20.07.2008, 14:41

Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby rjversluis » 20.07.2008, 20:44

Or have a look at the MGV Club Layout:

http://wiki.rocrail.net/doku.php?id=mgv:mgv-modules
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby rjversluis » 24.07.2008, 06:16

The major part of coding is done regarding the two dialogs for the ModulePlan en the Module:

http://wiki.rocrail.net/doku.php?id=modular-setup-en

Next step is to reorg the Wiki page on how to setup and maintain a Modular layout.

Anyone who takes time to do some testing is welcome to comment on the code so far.

P.S.: The Windows Rocgui version does not look so good when rendering in the **-modview** mode.
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby cwichmann » 24.07.2008, 08:05

Morning Rob,

another great step in handling modular layouts.
Congratulations!
I tried it with my Kofferbahn (split in a northern and a southern module) It's quite easy to handle :-) But it would be nice to put some more info's and examples in the wiki. I know: everyone is welcome ;-)
cwichmann
 

Postby rjversluis » 24.07.2008, 08:19

Hi Christian,

it is good to know that you do a little testing too! :-)

But I must slow down with coding because my right hand hurts; I already swapped my mouse for left hand use...

Yes, the Wiki should be extended and modified.
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Re: Moving & Rotating modules in Rocgui

Postby ElMatao » 14.09.2015, 17:46

Hi All.

I'm a newbie with Rocrail, and I'm trying to understand it.

My main interest (today, tomorrow, who knows :D ) is modular layouts, as I don't have space for a personal railroad, I've joined a modular club, and two or three times a year we meet in different places of Spain or Portugal with Iberian themes (Mostly Renfe and CP, but also older companies as MZA, Andaluces, Norte, SM, etc.)

My problem arises whit a small "end of line" module with a turntable, two tracks in one side to connect to other modules (directly or using an adapter for a single track layout) and one small track for a locotractor.

If I turn the module 180º in RockGUI, the turntable with it's three tracks not. I think it's a sthetic problem, as my turntable is not DCC controlled (it has a decoder and act as a loco :) but the tracks are not indexed)
The RocRail version is 2.0.999-9837

Another question, We have a module wigh is a bifurcation, it has a double track end at the east side, a double track in the west side and ... a single track also at the west side (south west, but facing west) . is it possible to connect to two west modules.

Another one (sorry, newbie) when I connect two modules (east form west module to west of east module) it should appear anything in the RockGUI?

Yours

Turntable module:
Code: Select all
<plan rocrailversion="2.0.999-9837" rocrailpwd="E:\Users\Gerrdo\Dropbox\CimH0\2015-10 Jaca\rocrail">
  <zlevel title="PGG1" z="3"/>
  <tklist>
    <tk type="straight" id="tk20150910123331430" x="4" y="1" z="3" prev_x="4" prev_y="1" prev_ori="west" ori="west"/>
    <tk type="straight" id="tk20150910123333967" x="4" y="2" z="3" prev_x="4" prev_y="2" prev_ori="west" ori="west"/>
    <tk type="buffer" id="tk20150910123501966" x="4" y="0" z="3" prev_x="4" prev_y="0" prev_ori="west" ori="west"/>
  </tklist>
  <txlist>
    <tx id="PGG1-Nombre" text="Puente Giratorio (G1)" x="0" y="4" z="3" prev_id="PGG1-Nombre" desc="" pointsize="0" bold="true" underlined="false" border="false" italic="false" transparent="true" manualinput="false" reset="false" clock="false" ori="west" iid="" bus="0" addr="0" display="1" cx="5" cy="1" cmd="move" prev_x="0" prev_y="4" prev_ori="west" block=""/>
  </txlist>
  <ttlist>
    <tt id="PG-G1" x="0" y="0" z="3" bridgepos="0" state1="false" state2="false" stateMid="false" state="open" pending="false" pos="0" prev_id="PG-G1" desc="" manager="false" embeddedblock="false" traverser="false" move4opp="true" randomrate="10" symbolsize="4" iid="" bus="0" uidname="" addr="0" diraddr="0" poladdr="0" type="locdec" V="75" delay="0" pause="0" actfn="0" lightsfn="1" motoroffdelay="1000" inv="false" prot="D" s1="" s2="" sMid="" sMid2="" psen="" swaprotation="false" addr0="0" addr1="0" addr2="0" addr3="0" addr4="0" addr5="0" addr6="0" port0="0" port1="0" port2="0" port3="0" port4="0" port5="0" port6="0" invpos="false" invnew="false" singlegatepos="false" singlegatenew="false" resetaddr="0" resetport="0" bit0cmd="0" bit1cmd="0" bit2cmd="0" bit3cmd="0" bit4cmd="0" bit5cmd="0" resetbitcmd="0" controlcode="" prev_x="0" prev_y="0" prev_ori="west" ori="west">
      <track nr="2" decnr="-1" oppositetrack="-1" desc="" posfb="" polarization="false" show="true" bkid="" state="false"/>
      <track nr="6" decnr="-1" oppositetrack="-1" desc="" posfb="" polarization="false" show="true" bkid="" state="false"/>
      <track nr="46" decnr="-1" oppositetrack="-1" desc="" posfb="" polarization="false" show="true" bkid="" state="false"/>
    </tt>
  </ttlist>

</plan>

Bifurcation modules
Code: Select all
<plan rocrailversion="2.0.999-9837" rocrailpwd="E:\Users\Gerrdo\Dropbox\CimH0\2015-10 Jaca\rocrail">
  <zlevel title="Bifurcacion Banalizada" z="6"/>
  <tklist>
    <tk type="straight" id="tk20150910165322763" x="0" y="0" z="6" prev_x="0" prev_y="0" prev_ori="west" ori="west"/>
    <tk type="straight" id="tk20150910165356267" x="0" y="1" z="6" prev_x="0" prev_y="1" prev_ori="west" ori="west"/>
    <tk type="straight" id="tk20150910165410307" x="2" y="1" z="6" prev_x="2" prev_y="1" prev_ori="west" ori="west"/>
    <tk type="straight" id="tk20150910165420755" x="2" y="0" z="6" prev_x="2" prev_y="0" prev_ori="west" ori="west"/>
    <tk type="straight" id="tk20150910165422810" x="3" y="0" z="6" prev_x="3" prev_y="0" prev_ori="west" ori="west"/>
    <tk type="straight" id="tk20150910165425450" x="4" y="0" z="6" prev_x="4" prev_y="0" prev_ori="west" ori="west"/>
    <tk type="straight" id="tk20150910165427499" x="4" y="1" z="6" prev_x="4" prev_y="1" prev_ori="west" ori="west"/>
    <tk type="straight" id="tk20150910165430250" x="4" y="2" z="6" prev_x="4" prev_y="2" prev_ori="west" ori="west"/>
    <tk type="curve" id="tk20150910165433747" x="3" y="2" z="6" ori="east" prev_x="3" prev_y="2" prev_ori="east"/>
  </tklist>
  <swlist>
    <sw type="right" id="sw20150910165329479" x="1" y="0" z="6" switched="0" testing="false" prev_x="1" prev_y="0" prev_ori="west" ori="west"/>
    <sw type="right" ori="east" id="sw20150910165338968" x="1" y="1" z="6" switched="0" testing="false" prev_x="1" prev_y="1" prev_ori="east"/>
    <sw type="right" id="sw20150910165416047" x="3" y="1" z="6" switched="0" testing="false" prev_x="3" prev_y="1" prev_ori="west" ori="west"/>
  </swlist>
  <txlist>
    <tx id="BB-Nombre" text="Bifurcación Banalizada" x="0" y="3" z="6" prev_id="BB-Nombre" desc="" pointsize="0" bold="true" underlined="false" border="false" italic="false" transparent="true" manualinput="false" reset="false" clock="false" ori="west" iid="" bus="0" addr="0" display="1" cx="5" cy="1" prev_x="0" prev_y="3" prev_ori="west" block=""/>
  </txlist>

</plan>

Gerardo Izquierdo.
:rr_for_ever:
ElMatao
 

Next

Return to Modular Layout Support