mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-06 14:39:22 +00:00
fix: preserve orthogonal wall strips at multi-wall joins
Issue: #275 User-Visible: yes
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
{
|
||||
"cases": [
|
||||
{
|
||||
"id": "cell-5-mixed-depth-t",
|
||||
"cell_cm": 5,
|
||||
"nodes": [[0.204166667, 0.645833333]],
|
||||
"rooms": [
|
||||
{
|
||||
"id": "a",
|
||||
"poly": [
|
||||
[0.204166667, 0.645833333],
|
||||
[0.204166667, 0.4375],
|
||||
[0.420833333, 0.4375],
|
||||
[0.420833333, 0.645833333]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "b",
|
||||
"poly": [
|
||||
[0.070833333, 0.866666667],
|
||||
[0.070833333, 0.645833333],
|
||||
[0.2375, 0.645833333],
|
||||
[0.2375, 0.866666667]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "c",
|
||||
"poly": [
|
||||
[0.070833333, 0.645833333],
|
||||
[0.070833333, 0.4375],
|
||||
[0.204166667, 0.4375],
|
||||
[0.204166667, 0.645833333]
|
||||
]
|
||||
}
|
||||
],
|
||||
"walls": [
|
||||
{ "key": "0.312500,0.645833@0.0000", "a": [0.420833333, 0.645833333], "b": [0.204166667, 0.645833333], "cm": 20 },
|
||||
{ "key": "0.204167,0.541667@1.5706", "a": [0.204166667, 0.645833333], "b": [0.204166667, 0.4375], "cm": 20 },
|
||||
{ "key": "0.154167,0.645833@0.0000", "a": [0.070833333, 0.645833333], "b": [0.2375, 0.645833333], "cm": 20 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "cell-1-thick-crossbar-t",
|
||||
"cell_cm": 1,
|
||||
"nodes": [
|
||||
[-0.354166667, 2.0875],
|
||||
[-0.354166667, 2.2875]
|
||||
],
|
||||
"rooms": [
|
||||
{
|
||||
"id": "a",
|
||||
"poly": [
|
||||
[-1.670833333, 2.95],
|
||||
[-1.670833333, 2.0875],
|
||||
[-0.354166667, 2.0875],
|
||||
[-0.354166667, 2.954166667]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "b",
|
||||
"poly": [
|
||||
[-1.670833333, 2.0875],
|
||||
[-1.670833333, 1.266666667],
|
||||
[-0.354166667, 1.266666667],
|
||||
[-0.354166667, 2.0875]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "c",
|
||||
"poly": [
|
||||
[-0.354166667, 2.0875],
|
||||
[-0.354166667, 1.266666667],
|
||||
[0.4, 1.266666667],
|
||||
[2.404166667, 1.266666667],
|
||||
[2.404166667, 1.245833333],
|
||||
[2.904166667, 1.245833333],
|
||||
[2.904166667, 2.308333333],
|
||||
[2.404166667, 2.308333333],
|
||||
[2.404166667, 2.2875],
|
||||
[1.058333333, 2.2875],
|
||||
[-0.354166667, 2.2875]
|
||||
]
|
||||
}
|
||||
],
|
||||
"walls": [
|
||||
{ "key": "-1.012500,2.087500@0.0000", "a": [-1.670833333, 2.0875], "b": [-0.354166667, 2.0875], "cm": 40 },
|
||||
{ "key": "-0.354167,2.520833@1.5706", "a": [-0.354166667, 2.0875], "b": [-0.354166667, 2.954166667], "cm": 20 },
|
||||
{ "key": "-0.354167,1.679167@1.5706", "a": [-0.354166667, 1.266666667], "b": [-0.354166667, 2.0875], "cm": 20 },
|
||||
{ "key": "0.354167,2.287500@0.0000", "a": [-0.354166667, 2.2875], "b": [1.058333333, 2.2875], "cm": 20 }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user