Create new theme/symbol ... (help)

Post Reply
Blackpixel83
Posts: 131
Joined: 21.02.2013, 15:43
Location: Montreal
Contact:

Create new theme/symbol ... (help)

Post by Blackpixel83 » 10.04.2015, 19:19

Hi guys, I have a pb :)

I have modified the turnout :

<svg width="32" height="32">
<g>
<!-- Track -->
<path stroke="rgb(0,0,0)" fill="rgb(0,0,0)" d="M 0,12 L 31,12 L 31,19 L 0,19 z " />
<!-- Ausleuchtung gelb -->
<path stroke="rgb(255,255,0)" fill="rgb(255,255,0)" d="M 1,13 L 30,13 L 30,18 L 1,18 z " />
<!-- Abzweig unten rechts -->
<path stroke="rgb(0,0,0)" fill="rgb(0,0,0)" d="M 0,19 L 7,19 L 19,31 L 15,31 L 11,31 L 0,20 z " />
<!-- Ausleuchtung Abzweig unten rechts grau -->
<path stroke="rgb(192,192,192)" fill="rgb(192,192,192)" d="M 2,21 L 8,21 L 17,30 L 11,30 z " />
</g>
</svg>

and the strait :

<svg width="32" height="32">
<g>
<!-- Track -->
<path stroke="rgb(0,0,0)" fill="rgb(0,0,0)" d="M 0,12 L 31,12 L 31,19 L 0,19 z " />
<!-- Ausleuchtung grau -->
<path stroke="rgb(192,192,192)" fill="rgb(192,192,192)" d="M 1,13 L 30,13 L 30,18 L 1,18 z " />
</g>
</svg>

put the file turnoutright.svg and straight.svg in Pixel folder.

I set path for svg :
1 - C:\Program Files (x86)\Rocrail\svg\themes\Pixel
2 - C:\Program Files (x86)\Rocrail\svg\themes\SpDrS60
Reopen rocview ! straight is correct but not the turnout, I still see the default one !

I set path for svg :
1 - C:\Program Files (x86)\Rocrail\svg\themes\Pixel
2 -
Reopen rocview ! All is correct.

I copy all missing simbols from SpDrS60 to Pixel
Reopen rocview ! The turnout is the default not mine !

I copy my symbols from pixel to SpDrS60.
Still the same !

Why the default always display even if the file is not here ?
How ca I create my own ?
Or what I'have missed ?

smitt48
Moderator
Posts: 6114
Joined: 04.04.2014, 01:07
Location: Kralendijk, Bonaire - Dutch Caribbean

Re: Create new theme/symbol ... (help)

Post by smitt48 » 10.04.2015, 19:55

Hi,

Try placing it in"user", which was created for this purpose.
user.PNG
Greetings Tom
You do not have the required permissions to view the files attached to this post.

Blackpixel83
Posts: 131
Joined: 21.02.2013, 15:43
Location: Montreal
Contact:

Re: Create new theme/symbol ... (help)

Post by Blackpixel83 » 10.04.2015, 20:06

No go ! :(

I continue to investigate !
:coding:

smitt48
Moderator
Posts: 6114
Joined: 04.04.2014, 01:07
Location: Kralendijk, Bonaire - Dutch Caribbean

Re: Create new theme/symbol ... (help)

Post by smitt48 » 10.04.2015, 20:12

You have to use the same name. Once it finds it "user" it will ignore the default.

greetings Tom

Blackpixel83
Posts: 131
Joined: 21.02.2013, 15:43
Location: Montreal
Contact:

Re: Create new theme/symbol ... (help)

Post by Blackpixel83 » 10.04.2015, 20:22

It work for straight.svg and curve.svg but not for turnoutright.svg !

I copy the default file in user and then i edit it.
So the name is correct !

smitt48
Moderator
Posts: 6114
Joined: 04.04.2014, 01:07
Location: Kralendijk, Bonaire - Dutch Caribbean

Re: Create new theme/symbol ... (help)

Post by smitt48 » 10.04.2015, 20:32


Blackpixel83
Posts: 131
Joined: 21.02.2013, 15:43
Location: Montreal
Contact:

Re: Create new theme/symbol ... (help)

Post by Blackpixel83 » 10.04.2015, 20:35

Hum, something is wrong perhaps the istall.
If I chose DB thème as first one the turnout are those from default !

I have uninstall and reinstall on another path ! Same result :(

smitt48
Moderator
Posts: 6114
Joined: 04.04.2014, 01:07
Location: Kralendijk, Bonaire - Dutch Caribbean

Re: Create new theme/symbol ... (help)

Post by smitt48 » 10.04.2015, 21:42

Do you have this?
user2.PNG
You do not have the required permissions to view the files attached to this post.

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

Re: Create new theme/symbol ... (help)

Post by rjversluis » 10.04.2015, 21:44


Blackpixel83
Posts: 131
Joined: 21.02.2013, 15:43
Location: Montreal
Contact:

Re: Create new theme/symbol ... (help)

Post by Blackpixel83 » 11.04.2015, 03:58

ok we have to have all states drawn.
turnoutleft -t and -occ otherwise it take the default.

Other question. Is there a way to have 2 aspects for tracks ? So i could have differrent representation for mainlines and for yards.

Tanks.

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

Re: Create new theme/symbol ... (help)

Post by rjversluis » 11.04.2015, 05:50

Blackpixel83 wrote:ok we have to have all states drawn.
turnoutleft -t and -occ otherwise it take the default.

Other question. Is there a way to have 2 aspects for tracks ? So i could have differrent representation for mainlines and for yards.

Tanks.
http://wiki.rocrail.net/doku.php?id=tra ... -en#number

Blackpixel83
Posts: 131
Joined: 21.02.2013, 15:43
Location: Montreal
Contact:

Re: Create new theme/symbol ... (help)

Post by Blackpixel83 » 11.04.2015, 17:38

Grrr did not saw this one !
Thank you rob.

Blackpixel83
Posts: 131
Joined: 21.02.2013, 15:43
Location: Montreal
Contact:

Re: Create new theme/symbol ... (help)

Post by Blackpixel83 » 14.04.2015, 00:08

One more thing. (or two :) )

Is it ok to define curve with tracknr (as it seams to be done for strait) ?
And how do I name an accessory for external symbols in androc.

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

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

Re: Create new theme/symbol ... (help)

Post by rjversluis » 14.04.2015, 12:18

Hi,
Blackpixel83 wrote:Is it ok to define curve with tracknr (as it seams to be done for strait) ?
I did add the curvenr type today.

Post Reply

Return to “SVG Themes”