The International Simutrans Forum

Community => Simutrans Help Center => Topic started by: Václav on December 07, 2012, 08:41:02 PM

Title: Length of vehicles - where are basic diagonal lines?
Post by: Václav on December 07, 2012, 08:41:02 PM
I would like to know where are basic lines for diagonal directions that are used to count length.
I have already created only few trains - and currently I am creating trams - and I found that my supposition that they are based on axis of track was wrong.

In the case of trains I additionaly extended length with method of trial and error - and it is very incomfortable (and causing creation takes more time) for future.
Title: Re: Length of vehicles - where are basic diagonal lines?
Post by: prissi on December 07, 2012, 08:42:52 PM
There was once written an alignment tool. But I do this also by hand.
Title: Re: Length of vehicles - where are basic diagonal lines?
Post by: Václav on December 07, 2012, 09:10:51 PM
Alignment is no problem - problem is in length. I found I created it shorter than it should be.
I asked for basic diagonal lines for their length.
Title: Re: Length of vehicles - where are basic diagonal lines?
Post by: Fabio on December 07, 2012, 09:51:43 PM
It should be long approximately 1.5 times the normal length.
Title: Re: Length of vehicles - where are basic diagonal lines?
Post by: Václav on December 07, 2012, 10:20:40 PM
1,5 may be for horizontal diagonal - but not for vertical (when vertical direction is the shortest one). For this I ask for from which line is counted length in diagonal directions.

I began suppose that basic lines (and lengths in that way) are lines that are between opposite corners of basic tile (it means that in pak96.comic basic length in horizontal direction is 96). Am I right in this thought?
Title: Re: Length of vehicles - where are basic diagonal lines?
Post by: prissi on December 08, 2012, 12:02:16 AM
Sorry I had problems to understand your question.

It is not 1.5, it is 2^1/2=1.41.. (square root) and half of it (0.707...) for the vertical length. For 16 vehicles this is 22.5 (either 22 with gaps or 23 with overlaps) and 11 for the vertical.
Title: Re: Length of vehicles - where are basic diagonal lines?
Post by: yoshi on December 08, 2012, 04:34:41 AM
Pak96 vehicle length on diagonal lines

Length Horizontal Vertical
1   4.2   2.1
2   8.5   4.2
3  12.7   6.4
4  17.0   8.5
5  21.2  10.6
6  25.5  12.7
7  29.7  14.8
8  33.9  17.0
9  38.2  19.1
10  42.4  21.2
11  46.7  23.3
12  50.9  25.5
13  55.2  27.6
14  59.4  29.7
15  63.6  31.8
16  67.9  33.9
Title: Re: Length of vehicles - where are basic diagonal lines?
Post by: Václav on December 08, 2012, 05:25:27 PM
Quote from: yoshi on December 08, 2012, 04:34:41 AM
Pak96 vehicle length on diagonal lines

Length Horizontal Vertical
8  33.9  17.0
12  50.9  25.5
Thanks.

Quote from: prissi on December 08, 2012, 12:02:16 AM
2^1/2=1.41.. (square root)

and half of it (0.707...) for the vertical length.

For 16 vehicles this is 22.5 (either 22 with gaps or 23 with overlaps) and 11 for the vertical.
... and it is need to multiply this with length of tile.

xy (x^y) is not square root
xy (x^y) is power

what a wonderful mistake that may cause terrible results

21/2 = 1,41..
(0,5)√2 = 4

You probably call this
(http://graphics.simutrans.com/albums/userpics/10003/geometry.png)

but is is a bit chaotic - and not well descripting.
Title: Re: Length of vehicles - where are basic diagonal lines?
Post by: yoshi on December 09, 2012, 12:31:35 AM
21/2 = √2 = 1.4142...
Title: Re: Length of vehicles - where are basic diagonal lines?
Post by: Václav on December 09, 2012, 07:54:23 PM
Yea, yea ... minor misinterpretation of what prissi wrote.

I understood
Quote from: prissi on December 08, 2012, 12:02:16 AM
2^1/2=1.41.. (square root)
like
0,5√2

And finally:
lengths are based on ellipse inscribed to basic tile

This is what I needed, not any numbers - but those numbers helped me to find this.