[HOME] 3D: комнаты переведены в координаты дома (x от стены блока, y от южной стены) — интерьер встал внутрь; карта планшета: фикс shadowRoot.getElementById
lint / hygiene (push) Failing after 28s

This commit is contained in:
root committed 2026-11-02 12:07:08 +03:00
1 parent 277d58d1f6
commit 186bd3c037
9 files changed
+6 -1

No files matched your search

Binary file not shown.
Binary file not shown.
+6 -1
View File
@@ -566,8 +566,13 @@ def main():
_poly = _json.load(open(os.path.join(OUT, "room-zones.json"), encoding="utf-8"))
_X0, _Y0, _SX, _SY = 180.0, 173.0, 42.0, 41.4
ROOMS_M = {}
# план: x от края террасы, y от северной стены;
# дом: x от стены блока (терраса -2.45..0), y от южной стены
_TER = 2.45
_LY = 8.60
for _k, _v in _poly.items():
ROOMS_M[_k] = [((_x - _X0) / _SX, (_y - _Y0) / _SY) for _x, _y in _v]
ROOMS_M[_k] = [round((_x - _X0) / _SX - _TER, 3) for _x, _y in _v]
ROOMS_M[_k] = [((_x - _X0) / _SX - _TER, _LY - (_y - _Y0) / _SY) for _x, _y in _v]
ZI = 0.78 # пол интерьера
WHI = 2.55 # высота стен внутри
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 586 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB