@eturnity/eturnity_3d 6.37.2 → 6.38.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eturnity/eturnity_3d",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.38.1",
|
|
5
5
|
"main": "dist/main.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vue-cli-service serve --skip-plugins @vue/cli-plugin-eslint",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"prettier": "prettier --write \"**/*.{js,vue}\""
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@eturnity/eturnity_maths": "6.
|
|
13
|
+
"@eturnity/eturnity_maths": "6.38.0",
|
|
14
14
|
"axios": "^1.3.2",
|
|
15
15
|
"core-js": "^2.6.12",
|
|
16
16
|
"cors": "^2.8.5",
|
|
@@ -169,7 +169,9 @@ export function generateEdges2D(polygons) {
|
|
|
169
169
|
export function generateEdges3D(polygons) {
|
|
170
170
|
let edges3D = []
|
|
171
171
|
polygons
|
|
172
|
-
.filter((poly) =>
|
|
172
|
+
.filter((poly) =>
|
|
173
|
+
['roof', 'obstacle', 'moduleField', 'construction'].includes(poly.layer)
|
|
174
|
+
)
|
|
173
175
|
.forEach((polygon) => {
|
|
174
176
|
const outline = polygon.outline
|
|
175
177
|
outline.forEach((point, i) => {
|