Created
January 24, 2017 12:20
-
-
Save enapupe/7f596fee6e6425fe518173a4a38573fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var data = {"building": [ | |
{ | |
"volume": 3338.91764606872, | |
"perimeter": 137.87671346974363, | |
"points": [ | |
[ | |
78.7396821640909, | |
106.35271207241327, | |
0 | |
], | |
[ | |
78.7396821640909, | |
106.35271207241327, | |
3 | |
], | |
[ | |
95.76975363969751, | |
84.98771331210678, | |
0 | |
], | |
[ | |
95.76975363969751, | |
84.98771331210678, | |
3 | |
], | |
[ | |
92.82753897389668, | |
82.71709112436918, | |
0 | |
], | |
[ | |
92.82753897389668, | |
82.71709112436918, | |
3 | |
], | |
[ | |
91.82178414633073, | |
83.35406918182761, | |
0 | |
], | |
[ | |
91.82178414633073, | |
83.35406918182761, | |
3 | |
], | |
[ | |
89.59867743374639, | |
80.22525232707928, | |
0 | |
], | |
[ | |
89.59867743374639, | |
80.22525232707928, | |
3 | |
], | |
[ | |
62.42791615516503, | |
59.256512644695825, | |
0 | |
], | |
[ | |
62.42791615516503, | |
59.256512644695825, | |
3 | |
], | |
[ | |
46.74119926962027, | |
80.1721351587555, | |
0 | |
], | |
[ | |
46.74119926962027, | |
80.1721351587555, | |
3 | |
] | |
], | |
"area": 1112.9725486895732, | |
"faces": [ | |
[ | |
0, | |
1, | |
2, | |
3 | |
], | |
[ | |
2, | |
3, | |
4, | |
5 | |
], | |
[ | |
4, | |
5, | |
6, | |
7 | |
], | |
[ | |
6, | |
7, | |
8, | |
9 | |
], | |
[ | |
8, | |
9, | |
10, | |
11 | |
], | |
[ | |
10, | |
11, | |
12, | |
13 | |
], | |
[ | |
12, | |
13, | |
0, | |
1 | |
], | |
[ | |
0, | |
2, | |
4, | |
6, | |
8, | |
10, | |
12 | |
], | |
[ | |
1, | |
3, | |
5, | |
7, | |
9, | |
11, | |
13 | |
] | |
] | |
}, | |
{ | |
"volume": 3338.91764606872, | |
"perimeter": 137.87671346974363, | |
"points": [ | |
[ | |
78.7396821640909, | |
106.35271207241327, | |
3 | |
], | |
[ | |
78.7396821640909, | |
106.35271207241327, | |
6 | |
], | |
[ | |
95.76975363969751, | |
84.98771331210678, | |
3 | |
], | |
[ | |
95.76975363969751, | |
84.98771331210678, | |
6 | |
], | |
[ | |
92.82753897389668, | |
82.71709112436918, | |
3 | |
], | |
[ | |
92.82753897389668, | |
82.71709112436918, | |
6 | |
], | |
[ | |
91.82178414633073, | |
83.35406918182761, | |
3 | |
], | |
[ | |
91.82178414633073, | |
83.35406918182761, | |
6 | |
], | |
[ | |
89.59867743374639, | |
80.22525232707928, | |
3 | |
], | |
[ | |
89.59867743374639, | |
80.22525232707928, | |
6 | |
], | |
[ | |
62.42791615516503, | |
59.256512644695825, | |
3 | |
], | |
[ | |
62.42791615516503, | |
59.256512644695825, | |
6 | |
], | |
[ | |
46.74119926962027, | |
80.1721351587555, | |
3 | |
], | |
[ | |
46.74119926962027, | |
80.1721351587555, | |
6 | |
] | |
], | |
"area": 1112.9725486895732, | |
"faces": [ | |
[ | |
0, | |
1, | |
2, | |
3 | |
], | |
[ | |
2, | |
3, | |
4, | |
5 | |
], | |
[ | |
4, | |
5, | |
6, | |
7 | |
], | |
[ | |
6, | |
7, | |
8, | |
9 | |
], | |
[ | |
8, | |
9, | |
10, | |
11 | |
], | |
[ | |
10, | |
11, | |
12, | |
13 | |
], | |
[ | |
12, | |
13, | |
0, | |
1 | |
], | |
[ | |
0, | |
2, | |
4, | |
6, | |
8, | |
10, | |
12 | |
], | |
[ | |
1, | |
3, | |
5, | |
7, | |
9, | |
11, | |
13 | |
] | |
] | |
}, | |
{ | |
"volume": 3338.91764606872, | |
"perimeter": 137.87671346974363, | |
"points": [ | |
[ | |
78.7396821640909, | |
106.35271207241327, | |
6 | |
], | |
[ | |
78.7396821640909, | |
106.35271207241327, | |
9 | |
], | |
[ | |
95.76975363969751, | |
84.98771331210678, | |
6 | |
], | |
[ | |
95.76975363969751, | |
84.98771331210678, | |
9 | |
], | |
[ | |
92.82753897389668, | |
82.71709112436918, | |
6 | |
], | |
[ | |
92.82753897389668, | |
82.71709112436918, | |
9 | |
], | |
[ | |
91.82178414633073, | |
83.35406918182761, | |
6 | |
], | |
[ | |
91.82178414633073, | |
83.35406918182761, | |
9 | |
], | |
[ | |
89.59867743374639, | |
80.22525232707928, | |
6 | |
], | |
[ | |
89.59867743374639, | |
80.22525232707928, | |
9 | |
], | |
[ | |
62.42791615516503, | |
59.256512644695825, | |
6 | |
], | |
[ | |
62.42791615516503, | |
59.256512644695825, | |
9 | |
], | |
[ | |
46.74119926962027, | |
80.1721351587555, | |
6 | |
], | |
[ | |
46.74119926962027, | |
80.1721351587555, | |
9 | |
] | |
], | |
"area": 1112.9725486895732, | |
"faces": [ | |
[ | |
0, | |
1, | |
2, | |
3 | |
], | |
[ | |
2, | |
3, | |
4, | |
5 | |
], | |
[ | |
4, | |
5, | |
6, | |
7 | |
], | |
[ | |
6, | |
7, | |
8, | |
9 | |
], | |
[ | |
8, | |
9, | |
10, | |
11 | |
], | |
[ | |
10, | |
11, | |
12, | |
13 | |
], | |
[ | |
12, | |
13, | |
0, | |
1 | |
], | |
[ | |
0, | |
2, | |
4, | |
6, | |
8, | |
10, | |
12 | |
], | |
[ | |
1, | |
3, | |
5, | |
7, | |
9, | |
11, | |
13 | |
] | |
] | |
}, | |
{ | |
"volume": 2509.282334487405, | |
"perimeter": 119.5255882185273, | |
"points": [ | |
[ | |
78.412078593063, | |
103.2750973209463, | |
9 | |
], | |
[ | |
78.412078593063, | |
103.2750973209463, | |
12 | |
], | |
[ | |
92.69252256006, | |
85.35963125325915, | |
9 | |
], | |
[ | |
92.69252256006, | |
85.35963125325915, | |
12 | |
], | |
[ | |
62.844725949505, | |
62.32491865163517, | |
9 | |
], | |
[ | |
62.844725949505, | |
62.32491865163517, | |
12 | |
], | |
[ | |
49.73152348878384, | |
79.80918859926336, | |
9 | |
], | |
[ | |
49.73152348878384, | |
79.80918859926336, | |
12 | |
] | |
], | |
"area": 836.427444829135, | |
"faces": [ | |
[ | |
0, | |
1, | |
2, | |
3 | |
], | |
[ | |
2, | |
3, | |
4, | |
5 | |
], | |
[ | |
4, | |
5, | |
6, | |
7 | |
], | |
[ | |
6, | |
7, | |
0, | |
1 | |
], | |
[ | |
0, | |
2, | |
4, | |
6 | |
], | |
[ | |
1, | |
3, | |
5, | |
7 | |
] | |
] | |
} | |
], | |
"first_floor_volume": 3338.91764606872, | |
"total_perimeter": 533.1557286277582, | |
"total_area": 4175.345090897855, | |
"garage": [ | |
{ | |
"volume": 7741.766282565652, | |
"perimeter": 222.42208433133067, | |
"points": [ | |
[ | |
80.17867607013893, | |
119.87108996624733, | |
-3 | |
], | |
[ | |
80.17867607013893, | |
119.87108996624733, | |
0 | |
], | |
[ | |
109.28644626061842, | |
83.35406918182761, | |
-3 | |
], | |
[ | |
109.28644626061842, | |
83.35406918182761, | |
0 | |
], | |
[ | |
101.41428809254856, | |
77.27881668255631, | |
-3 | |
], | |
[ | |
101.41428809254856, | |
77.27881668255631, | |
0 | |
], | |
[ | |
91.82178414633073, | |
83.35406918182761, | |
-3 | |
], | |
[ | |
91.82178414633073, | |
83.35406918182761, | |
0 | |
], | |
[ | |
70.61864464469078, | |
53.512613586926925, | |
-3 | |
], | |
[ | |
70.61864464469078, | |
53.512613586926925, | |
0 | |
], | |
[ | |
60.59708521472547, | |
45.778584026845, | |
-3 | |
], | |
[ | |
60.59708521472547, | |
45.778584026845, | |
0 | |
], | |
[ | |
33.606243765371765, | |
81.76637262598327, | |
-3 | |
], | |
[ | |
33.606243765371765, | |
81.76637262598327, | |
0 | |
] | |
], | |
"area": 2580.588760855217, | |
"faces": [ | |
[ | |
0, | |
1, | |
2, | |
3 | |
], | |
[ | |
2, | |
3, | |
4, | |
5 | |
], | |
[ | |
4, | |
5, | |
6, | |
7 | |
], | |
[ | |
6, | |
7, | |
8, | |
9 | |
], | |
[ | |
8, | |
9, | |
10, | |
11 | |
], | |
[ | |
10, | |
11, | |
12, | |
13 | |
], | |
[ | |
12, | |
13, | |
0, | |
1 | |
], | |
[ | |
0, | |
2, | |
4, | |
6, | |
8, | |
10, | |
12 | |
], | |
[ | |
1, | |
3, | |
5, | |
7, | |
9, | |
11, | |
13 | |
] | |
] | |
} | |
], | |
"total_number_of_floors": 4, | |
"first_floor_area": 1112.9725486895732, | |
"first_floor_perimeter": 137.87671346974363, | |
"restriction_messages": [ | |
{ | |
"raw": "%s underground floors are needed to cover %s of parking area.", | |
"parameters": [ | |
{ | |
"type": "integer", | |
"value": 1 | |
}, | |
{ | |
"type": "area", | |
"value": 1500 | |
} | |
] | |
} | |
], | |
"total_volume": 12526.035272693565 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment