Shrinking is broken

This commit is contained in:
2024-12-17 00:57:21 +03:00
parent 4c2049f05c
commit 6f2ab0105d
11 changed files with 606 additions and 94 deletions

View File

@@ -140,7 +140,7 @@ entries=[ {
"type": "zone",
"zone_type": 0
}, {
"children": [ 54, 55, 56, 57, 58 ],
"children": [ 54, 55, 56, 57 ],
"commands": [ ],
"index": 18,
"name": "zone_3",
@@ -148,7 +148,7 @@ entries=[ {
"type": "zone",
"zone_type": 1
}, {
"children": [ 59, 60 ],
"children": [ 58, 59 ],
"commands": [ ],
"index": 19,
"name": "zone_0",
@@ -156,7 +156,7 @@ entries=[ {
"type": "zone",
"zone_type": 0
}, {
"children": [ 61, 62 ],
"children": [ 60, 61 ],
"commands": [ ],
"index": 20,
"name": "zone_1",
@@ -304,7 +304,7 @@ entries=[ {
"type": "room",
"window": true
}, {
"children": [ 63, 64, 65 ],
"children": [ 62, 63, 64 ],
"commands": [ [ 3, [ ] ], [ 4, [ ] ] ],
"index": 35,
"name": "zone_0",
@@ -312,7 +312,7 @@ entries=[ {
"type": "zone",
"zone_type": 0
}, {
"children": [ 66, 67 ],
"children": [ 65, 66 ],
"commands": [ [ 3, [ ] ], [ 4, [ ] ] ],
"index": 36,
"name": "zone_1",
@@ -330,7 +330,7 @@ entries=[ {
"type": "room",
"window": true
}, {
"children": [ 68 ],
"children": [ 67 ],
"commands": [ [ 5, [ ] ] ],
"index": 38,
"name": "stair_0",
@@ -340,7 +340,7 @@ entries=[ {
"type": "room",
"window": true
}, {
"children": [ 69, 70, 71 ],
"children": [ 68, 69, 70 ],
"commands": [ [ 3, [ ] ], [ 4, [ ] ] ],
"index": 39,
"name": "zone_0",
@@ -348,7 +348,7 @@ entries=[ {
"type": "zone",
"zone_type": 0
}, {
"children": [ 72, 73 ],
"children": [ 71, 72 ],
"commands": [ [ 3, [ ] ], [ 4, [ ] ] ],
"index": 40,
"name": "zone_1",
@@ -356,7 +356,7 @@ entries=[ {
"type": "zone",
"zone_type": 1
}, {
"children": [ 74 ],
"children": [ 73 ],
"commands": [ [ 3, [ ] ], [ 4, [ ] ] ],
"index": 41,
"name": "zone_0",
@@ -364,7 +364,7 @@ entries=[ {
"type": "zone",
"zone_type": 0
}, {
"children": [ 75, 76 ],
"children": [ 74, 75 ],
"commands": [ [ 3, [ ] ], [ 4, [ ] ] ],
"index": 42,
"name": "zone_1",
@@ -372,7 +372,7 @@ entries=[ {
"type": "zone",
"zone_type": 1
}, {
"children": [ 77 ],
"children": [ 76 ],
"commands": [ [ 3, [ ] ], [ 4, [ ] ] ],
"index": 43,
"name": "zone_0",
@@ -380,7 +380,7 @@ entries=[ {
"type": "zone",
"zone_type": 0
}, {
"children": [ 78 ],
"children": [ 77 ],
"commands": [ [ 3, [ ] ], [ 4, [ ] ] ],
"index": 44,
"name": "zone_1",
@@ -388,7 +388,7 @@ entries=[ {
"type": "zone",
"zone_type": 1
}, {
"children": [ 79 ],
"children": [ 78 ],
"commands": [ [ 3, [ ] ], [ 4, [ ] ] ],
"index": 45,
"name": "zone_0",
@@ -396,7 +396,7 @@ entries=[ {
"type": "zone",
"zone_type": 0
}, {
"children": [ 80 ],
"children": [ 79 ],
"commands": [ [ 3, [ ] ], [ 4, [ ] ] ],
"index": 46,
"name": "zone_1",
@@ -517,16 +517,6 @@ entries=[ {
"children": [ ],
"commands": [ ],
"index": 58,
"name": "enterance_1",
"order": 5,
"room_area": 16.0,
"room_type": 304,
"type": "room",
"window": true
}, {
"children": [ ],
"commands": [ ],
"index": 59,
"name": "wc_0",
"order": 1,
"room_area": 0.0,
@@ -536,7 +526,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ ],
"index": 60,
"index": 59,
"name": "bathroom_0",
"order": 2,
"room_area": 64.0,
@@ -546,7 +536,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ ],
"index": 61,
"index": 60,
"name": "studio_0",
"order": 1,
"room_area": 144.0,
@@ -556,7 +546,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ ],
"index": 62,
"index": 61,
"name": "enterance_0",
"order": 2,
"room_area": 0.0,
@@ -566,7 +556,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ [ 5, [ ] ] ],
"index": 63,
"index": 62,
"name": "bathroom_0",
"order": 0,
"room_area": 16.0,
@@ -576,7 +566,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ [ 5, [ ] ] ],
"index": 64,
"index": 63,
"name": "wc_0",
"order": 1,
"room_area": 16.0,
@@ -586,7 +576,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ [ 5, [ ] ] ],
"index": 65,
"index": 64,
"name": "bedroom_0",
"order": 2,
"room_area": 36.0,
@@ -596,7 +586,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ [ 5, [ ] ] ],
"index": 66,
"index": 65,
"name": "living_room_0",
"order": 0,
"room_area": 36.0,
@@ -606,7 +596,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ [ 5, [ ] ] ],
"index": 67,
"index": 66,
"name": "kitchen_0",
"order": 1,
"room_area": 16.0,
@@ -614,17 +604,17 @@ entries=[ {
"type": "room",
"window": true
}, {
"children": [ 81, 82 ],
"children": [ 80, 81 ],
"commands": [ ],
"floor_index": 1,
"index": 68,
"index": 67,
"name": "floor_0",
"order": 0,
"type": "floor"
}, {
"children": [ ],
"commands": [ [ 5, [ ] ] ],
"index": 69,
"index": 68,
"name": "wc_0",
"order": 0,
"room_area": 16.0,
@@ -634,7 +624,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ [ 5, [ ] ] ],
"index": 70,
"index": 69,
"name": "bathroom_0",
"order": 1,
"room_area": 16.0,
@@ -644,7 +634,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ [ 5, [ ] ] ],
"index": 71,
"index": 70,
"name": "bedroom_0",
"order": 2,
"room_area": 64.0,
@@ -654,7 +644,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ [ 5, [ ] ] ],
"index": 72,
"index": 71,
"name": "kitchen_0",
"order": 0,
"room_area": 16.0,
@@ -664,7 +654,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ [ 5, [ ] ] ],
"index": 73,
"index": 72,
"name": "living_room_0",
"order": 1,
"room_area": 144.0,
@@ -674,7 +664,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ [ 5, [ ] ] ],
"index": 74,
"index": 73,
"name": "bathroom_0",
"order": 0,
"room_area": 16.0,
@@ -684,7 +674,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ [ 5, [ ] ] ],
"index": 75,
"index": 74,
"name": "kitchen_0",
"order": 0,
"room_area": 64.0,
@@ -694,7 +684,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ [ 5, [ ] ] ],
"index": 76,
"index": 75,
"name": "living_room_0",
"order": 1,
"room_area": 64.0,
@@ -704,7 +694,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ [ 5, [ ] ] ],
"index": 77,
"index": 76,
"name": "wc_0",
"order": 0,
"room_area": 16.0,
@@ -714,7 +704,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ [ 5, [ ] ] ],
"index": 78,
"index": 77,
"name": "living_room_0",
"order": 0,
"room_area": 64.0,
@@ -724,7 +714,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ [ 5, [ ] ] ],
"index": 79,
"index": 78,
"name": "bathroom_0",
"order": 0,
"room_area": 16.0,
@@ -734,7 +724,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ [ 5, [ ] ] ],
"index": 80,
"index": 79,
"name": "living_room_0",
"order": 0,
"room_area": 64.0,
@@ -742,24 +732,24 @@ entries=[ {
"type": "room",
"window": true
}, {
"children": [ 83 ],
"children": [ 82 ],
"commands": [ ],
"index": 81,
"index": 80,
"name": "zone_0",
"order": 0,
"type": "zone",
"zone_type": 1
}, {
"children": [ 84, 85 ],
"children": [ 83, 84 ],
"commands": [ ],
"index": 82,
"index": 81,
"name": "unit_0",
"order": 0,
"type": "unit"
}, {
"children": [ ],
"commands": [ ],
"index": 83,
"index": 82,
"name": "storage_room_0",
"order": 0,
"room_area": 64.0,
@@ -767,17 +757,17 @@ entries=[ {
"type": "room",
"window": true
}, {
"children": [ 86 ],
"children": [ 85 ],
"commands": [ ],
"index": 84,
"index": 83,
"name": "zone_0",
"order": 0,
"type": "zone",
"zone_type": 0
}, {
"children": [ 87 ],
"children": [ 86 ],
"commands": [ ],
"index": 85,
"index": 84,
"name": "zone_1",
"order": 0,
"type": "zone",
@@ -785,7 +775,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ ],
"index": 86,
"index": 85,
"name": "wc_0",
"order": 0,
"room_area": 16.0,
@@ -795,7 +785,7 @@ entries=[ {
}, {
"children": [ ],
"commands": [ ],
"index": 87,
"index": 86,
"name": "living_room_0",
"order": 0,
"room_area": 16.0,