News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

Length of vehicles - where are basic diagonal lines?

Started by Václav, December 07, 2012, 08:41:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Václav

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.

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

prissi

There was once written an alignment tool. But I do this also by hand.

Václav

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.

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

Fabio

It should be long approximately 1.5 times the normal length.

Václav

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?

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

prissi

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.

yoshi

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

Václav

#7
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


but is is a bit chaotic - and not well descripting.

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

yoshi


Václav

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.

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní