LastStudio Wiki

#Позиции

Всё о позициях в плагине

#Синтаксис

yaml
positions:
  shape: <...>
  points:
    - '<...>'

#Shape

yaml
shape: cuboid # or cylinder/cyl, polygon/poly, ellipsoid

Тип фигуры для автошахт

#Points

yaml
points:
  - '<...>'

Список координат формы шахты.

#Cuboid

yaml
positions:
  shape: cuboid # or cube/box
  points:
    - '0;100;0'    # x1;y1;z1
    - '5;105;5'    # x2;y2;z2

Фигура коробки (обычная автошахта)

#Cylinder

yaml
positions:
  shape: cylinder # or cyl
  points:
    - '100;70;200'    # центр: x;y;z
    - '8;0;8'         # радиус: radiusX;0;radiusZ (Y здесь не используется)
    - '65;0;80'       # диапазон высоты: minY;0;maxY

Фигура цилиндра

#Polygon

yaml
positions:
  shape: polygon # or poly
  points:
    - '90;0;190'      # вершина 1: x;0;z
    - '110;0;190'     # вершина 2
    - '110;0;210'     # вершина 3
    - '90;0;210'      # вершина 4
    - '65;0;80'       # последний элемент — всегда minY;0;maxY

Фигура полигона

#Ellipsoid

yaml
positions:
  shape: ellipsoid # or ellip
  points:
    - '100;70;200'   # центр: x;y;z
    - '10;5;10'      # радиусы: radiusX;radiusY;radiusZ

Фигура эллипсоид

#Пример

yaml
positions:
  shape: cyl
  points:
    - '100;70;200'
    - '8;0;8'
    - '65;0;80'
Сделано с Last