Update Nordex geometry based on user's new QGIS schema (KSF, AMF, Road)
Deploy Bürgerwind / deploy (push) Successful in 17s Details

This commit is contained in:
Johannes Baumeister 2026-05-11 15:32:17 +02:00
parent 5db86d82c3
commit 72f7e325e4
1 changed files with 16 additions and 20 deletions

36
app.js
View File

@ -193,28 +193,24 @@ document.addEventListener('DOMContentLoaded', async () => {
let blfCoords, ksfCoords, mfParts;
if (hersteller && hersteller.toLowerCase() === 'nordex') {
// Nordex Geometries (Based on technical drawing: Tower is not centered in KSF width)
// Foundation: R=5.5
// KSF: 59.65m (L) x 36.50m (B).
// Width Offset: Narrow side (12.1m) is towards the road, wider side (24.4m) is away.
ksfCoords = [[-24.4, -5.5], [12.1, -5.5], [12.1, -65.15], [-24.4, -65.15], [-24.4, -5.5]];
// Nordex Geometries (Based on new QGIS schema provided by user)
// KSF (Red): Complex polygon
ksfCoords = [
[18, -44.72], [18, 14.91], [-6.31, 14.91], [-18.38, 0],
[-18.38, -33.19], [-7, -44.72], [18, -44.72]
];
// AMF: 180.00m (L) x 15.00m (B). Centered on tower axis.
const amf = [[-7.5, -65.15], [7.5, -65.15], [7.5, -245.15], [-7.5, -245.15], [-7.5, -65.15]];
// AMF (Green Area): 180m long starting at KSF edge, 15m wide
const amf = [
[18, -44.72], [18, -224.72], [3, -224.72], [3, -44.72], [18, -44.72]
];
mfParts = [amf];
// NVM (Nabenvor-Montagefläche): 26,00m (L) x 10,50m (B).
// Positioned on the RIGHT side (the 12.1m road side), starting at 18.25m from center.
const nvm = [[18.25, -5.5], [28.75, -5.5], [28.75, -31.5], [18.25, -31.5], [18.25, -5.5]];
// CRANE BOOM PAD (Triangular auxiliary area): 120.00m (L).
// Narrows from 18m to 7.5m width on the wider side (Left).
const cbp = [[-18.0, -65.15], [-7.5, -65.15], [-7.5, -185.15], [-18.0, -65.15]];
mfParts = [amf, nvm, cbp];
// BLF (Blattlagerfläche): 90,00m (L) x 15,00m (B).
// Positioned on the RIGHT side, starting at 18.25m from center.
blfCoords = [[18.25, -65.15], [33.25, -65.15], [33.25, -155.15], [18.25, -155.15], [18.25, -65.15]];
// BLF/Road (Blue Area): Complex unified shape
blfCoords = [
[18, -224.72], [18, 40], [49.5, 40], [49.5, -100],
[24, -100], [24, -224.72], [18, -224.72]
];
} else {
// Enercon / Vestas / GE (Standard)
blfCoords = [[-41, 9], [-61, 9], [-61, -81], [-41, -81], [-41, 9]];