@eturnity/eturnity_3d 7.2.2 → 7.2.4-EPDM-9540.0
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": "7.2.
|
|
4
|
+
"version": "7.2.4-EPDM-9540.0",
|
|
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": "7.2.
|
|
13
|
+
"@eturnity/eturnity_maths": "7.2.3",
|
|
14
14
|
"core-js": "^2.6.12",
|
|
15
15
|
"cors": "^2.8.5",
|
|
16
16
|
"earcut": "^2.2.4",
|
|
@@ -204,6 +204,11 @@ export default {
|
|
|
204
204
|
arg: []
|
|
205
205
|
})
|
|
206
206
|
}
|
|
207
|
+
methodList.push({
|
|
208
|
+
name: 'renderRoofsMargin',
|
|
209
|
+
method: this.renderRoofsMargin,
|
|
210
|
+
arg: []
|
|
211
|
+
})
|
|
207
212
|
break
|
|
208
213
|
case 'removePanels': //params.panels
|
|
209
214
|
case 'removeModuleField': //params:moduleField
|
package/src/store/hydrateData.js
CHANGED
|
@@ -47,6 +47,7 @@ export async function hydratePolygons({
|
|
|
47
47
|
})
|
|
48
48
|
let roof = new Polygon(roof_outline, 'roof')
|
|
49
49
|
roof.id = roofResp.roof_uuid
|
|
50
|
+
roof.version = roofResp.version
|
|
50
51
|
roof.name = roofResp.roof_name
|
|
51
52
|
roof.shadingData = roofResp.shading_data
|
|
52
53
|
roof.systemSolarSizeKWp = roofResp.system_solar_size_kWp
|
|
@@ -67,6 +68,7 @@ export async function hydratePolygons({
|
|
|
67
68
|
})
|
|
68
69
|
let obstacle = new Polygon(obstacle_outline, 'obstacle')
|
|
69
70
|
obstacle.id = obstacleResp.obstacle_uuid
|
|
71
|
+
obstacle.version = obstacleResp.version
|
|
70
72
|
obstacle.height = obstacleResp.obstacle_height_above_ground_mm
|
|
71
73
|
obstacle.isParallel = obstacleResp.obstacle_slope_is_parallel_to_roof
|
|
72
74
|
obstacle = updateComputedGeometryPolygon(obstacle)
|