2,932
44
598
Доброго времени суток Земляне и Чужие!
Сегодня у меня случилась такая ситуация: Я делал в программе MrCrayfish's Model Creator (Так себе программа... Она даже не может воспринимать в своих значениях сотые числа, то есть она переводит допустим 5,55 в 5,5) модель:
JSON:
{
    "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
    "textures": {
        "0": "blocks/treatedWood"
    },
    "elements": [
        {
            "name": "Spalk1",
            "from": [ 0.0, 0.0, 1.0 ],
            "to": [ 16.0, 1.0, 3.0 ],
            "faces": {
                "north": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                "east": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
                "south": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                "west": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 5.0 ] },
                "down": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 2.0 ] }
            }
        },
        {
            "name": "Spalk2",
            "from": [ 0.0, 0.0, 5.0 ],
            "to": [ 16.0, 1.0, 7.0 ],
            "faces": {
                "north": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                "east": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
                "south": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                "west": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
                "up": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 2.0 ] },
                "down": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 2.0 ] }
            }
        },
        {
            "name": "Spalk3",
            "from": [ 0.0, 0.0, 9.0 ],
            "to": [ 16.0, 1.0, 11.0 ],
            "faces": {
                "north": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                "east": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
                "south": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                "west": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
                "up": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 2.0 ] },
                "down": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 2.0 ] }
            }
        },
        {
            "name": "Spalk4",
            "from": [ 0.0, 0.0, 13.0 ],
            "to": [ 16.0, 1.0, 15.0 ],
            "faces": {
                "north": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                "east": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
                "south": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                "west": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
                "up": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 2.0 ] },
                "down": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 2.0 ] }
            }
        },
        {
            "name": "ReilWest_west",
            "from": [ 5.0, -2.0, 0.0 ],
            "to": [ 6.0, 0.0, 16.0 ],
            "rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "z", "angle": -22.5 },
            "faces": {
                "north": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
                "east": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 2.0 ] },
                "south": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
                "west": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 2.0 ] },
                "up": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 16.0 ] },
                "down": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 16.0 ] }
            }
        },
        {
            "name": "ReilWest_center",
            "from": [ 0.8, 1.9, 0.0 ],
            "to": [ 1.8, 3.9, 16.0 ],
            "rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "z", "angle": 22.5 },
            "faces": {
                "north": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
                "east": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 2.0 ] },
                "south": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
                "west": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 2.0 ] },
                "up": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 16.0 ] },
                "down": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 16.0 ] }
            }
        },
        {
            "name": "ReilWest_east",
            "from": [ 2.21, -0.2, 0.0 ],
            "to": [ 3.71, 1.8, 16.0 ],
            "faces": {
                "north": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.5, 2.0 ] },
                "east": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 2.0 ] },
                "south": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.5, 2.0 ] },
                "west": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 2.0 ] },
                "up": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.5, 16.0 ] },
                "down": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.5, 16.0 ] }
            }
        }
    ]
}
Как видите модель немного кривая:
1530117215790.png
Мне надо что бы элементы/боксы ReilWest_west и ReilWest_east были расположены как на моей фотографий ниже:

Reil.png
Красные прямоугольники - ReilWest_west и ReilWest_east
Зелёное это - ReilWest_center

Помогите пожалуйста разместить эти элементы/боксы как на фотографий. Я с этими поворотами не как не могу разобраться...
~~~
И не спрашивайте почему "Reil" а не "Rail", так надо...
 
Последнее редактирование:
2,932
44
598
Больше помощь не нужна! )Можете закрывать если хотите, во избежания срача/оффтопа/флуда/ и всего такого прочего...)
Мне помог один участник группы MinecraftMain.Ru Александр Жулев огромное за это ему человеческое спасибо !
Модель:
1530133464322.png
JSON:
{
    "credit": "Made by CommandMasterYT",
    "textures": {
        "0": "blocks/treatedWood"
    },
    "elements": [
        {
            "name": "Spalk1",
            "from": [0, 0, 1],
            "to": [16, 1, 3],
            "faces": {
                "north": {"uv": [0, 0, 16, 1], "texture": "#-1"},
                "east": {"uv": [0, 0, 2, 1], "texture": "#-1"},
                "south": {"uv": [0, 0, 16, 1], "texture": "#-1"},
                "west": {"uv": [0, 0, 2, 1], "texture": "#-1"},
                "up": {"uv": [0, 0, 16, 5], "texture": "#0"},
                "down": {"uv": [0, 0, 16, 2], "texture": "#-1"}
            }
        },
        {
            "name": "Spalk2",
            "from": [0, 0, 5],
            "to": [16, 1, 7],
            "faces": {
                "north": {"uv": [0, 0, 16, 1], "texture": "#-1"},
                "east": {"uv": [0, 0, 2, 1], "texture": "#-1"},
                "south": {"uv": [0, 0, 16, 1], "texture": "#-1"},
                "west": {"uv": [0, 0, 2, 1], "texture": "#-1"},
                "up": {"uv": [0, 0, 16, 2], "texture": "#-1"},
                "down": {"uv": [0, 0, 16, 2], "texture": "#-1"}
            }
        },
        {
            "name": "Spalk3",
            "from": [0, 0, 9],
            "to": [16, 1, 11],
            "faces": {
                "north": {"uv": [0, 0, 16, 1], "texture": "#-1"},
                "east": {"uv": [0, 0, 2, 1], "texture": "#-1"},
                "south": {"uv": [0, 0, 16, 1], "texture": "#-1"},
                "west": {"uv": [0, 0, 2, 1], "texture": "#-1"},
                "up": {"uv": [0, 0, 16, 2], "texture": "#-1"},
                "down": {"uv": [0, 0, 16, 2], "texture": "#-1"}
            }
        },
        {
            "name": "Spalk4",
            "from": [0, 0, 13],
            "to": [16, 1, 15],
            "faces": {
                "north": {"uv": [0, 0, 16, 1], "texture": "#-1"},
                "east": {"uv": [0, 0, 2, 1], "texture": "#-1"},
                "south": {"uv": [0, 0, 16, 1], "texture": "#-1"},
                "west": {"uv": [0, 0, 2, 1], "texture": "#-1"},
                "up": {"uv": [0, 0, 16, 2], "texture": "#-1"},
                "down": {"uv": [0, 0, 16, 2], "texture": "#-1"}
            }
        },
        {
            "name": "ReilWest_west",
            "from": [5.115, -1.776, 0],
            "to": [6.115, 0.024, 16],
            "rotation": {"angle": -22.5, "axis": "z", "origin": [8.12, 8.22, 8]},
            "faces": {
                "north": {"uv": [0, 0, 1, 2], "texture": "#0"},
                "east": {"uv": [0, 0, 16, 2], "texture": "#0"},
                "south": {"uv": [0, 0, 1, 2], "texture": "#0"},
                "west": {"uv": [0, 0, 16, 2], "texture": "#0"},
                "up": {"uv": [0, 0, 1, 16], "texture": "#0"},
                "down": {"uv": [0, 0, 1, 16], "texture": "#0"}
            }
        },
        {
            "name": "ReilWest_center",
            "from": [0.667, 2.112, 0],
            "to": [1.667, 3.912, 16],
            "rotation": {"angle": 22.5, "axis": "z", "origin": [8, 8, 8]},
            "faces": {
                "north": {"uv": [0, 0, 1, 2], "texture": "#0"},
                "east": {"uv": [0, 0, 16, 2], "texture": "#0"},
                "south": {"uv": [0, 0, 1, 2], "texture": "#0"},
                "west": {"uv": [0, 0, 16, 2], "texture": "#0"},
                "up": {"uv": [0, 0, 1, 16], "texture": "#0"},
                "down": {"uv": [0, 0, 1, 16], "texture": "#0"}
            }
        },
        {
            "name": "ReilWest_east",
            "from": [2.21, -0.2, 0],
            "to": [3.71, 1.8, 16],
            "faces": {
                "north": {"uv": [0, 0, 1.5, 2], "texture": "#0"},
                "east": {"uv": [0, 0, 16, 2], "texture": "#0"},
                "south": {"uv": [0, 0, 1.5, 2], "texture": "#0"},
                "west": {"uv": [0, 0, 16, 2], "texture": "#0"},
                "up": {"uv": [0, 0, 1.5, 16], "texture": "#0"},
                "down": {"uv": [0, 0, 1.5, 16], "texture": "#0"}
            }
        }
    ]
}
 
Сверху