diff --git a/app.js b/app.js index ec5160a..8809c4f 100644 --- a/app.js +++ b/app.js @@ -187,17 +187,21 @@ document.addEventListener('DOMContentLoaded', async () => { let blfCoords, ksfCoords, mfParts; if (hersteller === 'Nordex') { - // Nordex Geometries (Oriented Downwards at 0 deg to match Enercon style) + // 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). Starts at foundation edge (5.5m) - ksfCoords = [[-18.25, -5.5], [18.25, -5.5], [18.25, -65.15], [-18.25, -65.15], [-18.25, -5.5]]; - // AMF: 230.00m (L) x 15.00m (B). + // KSF: 59.65m (L) x 36.50m (B). + // Width Offset: Tower center is approx. 12.1m from one edge and 24.4m from the other (Total 36.5m) + ksfCoords = [[-12.1, -5.5], [24.4, -5.5], [24.4, -65.15], [-12.1, -65.15], [-12.1, -5.5]]; + + // AMF: 230.00m (L) x 15.00m (B). Centered on tower axis. const amf = [[-7.5, -65.15], [7.5, -65.15], [7.5, -295.15], [-7.5, -295.15], [-7.5, -65.15]]; - // NVM: 26,00m (L) x 10,50m (B). - const nvm = [[18.25, -5.5], [28.75, -5.5], [28.75, -31.5], [18.25, -31.5], [18.25, -5.5]]; + + // NVM (Nabenvor-Montagefläche): 26,00m (L) x 10,50m (B). Attached to the wider side of KSF. + const nvm = [[24.4, -5.5], [34.9, -5.5], [34.9, -31.5], [24.4, -31.5], [24.4, -5.5]]; mfParts = [amf, nvm]; - // BLF: 90,00m (L) x 15,00m (B). - blfCoords = [[18.25, -65.15], [33.25, -65.15], [33.25, -155.15], [18.25, -155.15], [18.25, -65.15]]; + + // BLF (Blattlagerfläche): 90,00m (L) x 15,00m (B). Next to AMF on the wider side. + blfCoords = [[7.5, -65.15], [22.5, -65.15], [22.5, -155.15], [7.5, -155.15], [7.5, -65.15]]; } else { // Enercon / Vestas / GE (Standard) blfCoords = [[-41, 9], [-61, 9], [-61, -81], [-41, -81], [-41, 9]];