floor-planner/tests/fixtures/angled-room.json
2026-09-11 22:14:24 +01:00

120 lines
2.5 KiB
JSON

{
"project": {
"version": 2,
"name": "My flooring project",
"rooms": [
{
"id": "room-2",
"name": "Room 2",
"walls": [
{
"id": "room-2-w1",
"length": 4800,
"turn": 10,
"doors": []
},
{
"id": "room-2-w2",
"length": 3600,
"turn": 90,
"doors": []
},
{
"id": "room-2-w3",
"length": 1650,
"turn": 90,
"doors": []
},
{
"id": "room-2-w4",
"length": 450,
"turn": -90,
"doors": []
},
{
"id": "room-2-w5",
"length": 1500,
"turn": -90,
"doors": []
},
{
"id": "room-2-w6",
"length": 450,
"turn": 90,
"doors": []
},
{
"id": "room-2-w7",
"length": 1650,
"turn": 90,
"doors": []
},
{
"id": "room-2-w8",
"length": 3600,
"turn": 90,
"doors": [
{
"id": "room-2-door-1",
"offset": 500,
"width": 826
}
]
},
{
"id": "room-2-w-1",
"length": 1000,
"turn": 93.2,
"doors": []
},
{
"id": "room-2-w-2",
"length": 1000,
"turn": -91.7,
"doors": []
},
{
"id": "room-2-w-3",
"length": 1000,
"turn": -72.12516087806887,
"doors": []
},
{
"id": "room-2-w-4",
"length": 6097,
"turn": 90,
"doors": []
}
],
"direction": 90
}
],
"flooring": {
"length": 1200,
"width": 190,
"gap": 10,
"pattern": "random",
"optimisation": "cuts",
"minOffset": 0.1,
"maxOffset": 1000,
"minLength": 0.1,
"minWidth": 0.1,
"kerf": 3
},
"skirting": {
"stockLength": 2400,
"thickness": 27,
"minLength": 200,
"kerf": 3
},
"tolerance": 50,
"completedBoards": []
},
"view": {
"roomId": "room-2",
"material": "flooring",
"selectedPiece": null,
"search": "",
"collapsedSections": []
}
}