Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
2476 lines (2337 loc) · 223 KB
/
Copy pathindex.html
File metadata and controls
2476 lines (2337 loc) · 223 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="de" data-page-lang="de" data-page-mode="repair" data-model="none">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<!-- Primary Meta Tags -->
<title>STL reparieren online kostenlos – 3D-Modelle prüfen | MeshDoc</title>
<meta name="title" content="STL reparieren online kostenlos – 3D-Modelle prüfen | MeshDoc">
<meta name="description" content="STL reparieren online & kostenlos: MeshDoc prüft 3D-Modelle vor dem Slicen und behebt Non-Manifold-Kanten, Löcher & invertierte Normalen (STL, 3MF, OBJ). 100% lokal im Browser, kein Upload.">
<meta name="author" content="Svender3D">
<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1">
<link rel="canonical" href="https://www.meshdoc.de/">
<link rel="alternate" hreflang="de" href="https://www.meshdoc.de/">
<link rel="alternate" hreflang="en" href="https://www.meshdoc.de/en/">
<link rel="alternate" hreflang="x-default" href="https://www.meshdoc.de/">
<!-- Core Web Vitals: Preload Critical Local Regular Font Only -->
<link rel="preload" href="assets/fonts/archivo-variable-latin.woff2" as="font" type="font/woff2" crossorigin>
<link rel="help" type="text/plain" title="LLMs Info" href="/llms.txt">
<!-- Favicon, Theme & Machine-Readable Discovery -->
<meta name="theme-color" content="#1a1a1a">
<link rel="icon" type="image/svg+xml" href="/favicon.svg?v=3">
<link rel="icon" type="image/png" sizes="48x48" href="/favicon-48x48.png?v=3">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=3">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=3">
<link rel="shortcut icon" href="/favicon.ico?v=3">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=3">
<link rel="manifest" href="/site.webmanifest">
<link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml">
<!-- Open Graph / Facebook / Discord -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://www.meshdoc.de/">
<meta property="og:site_name" content="MeshDoc by Svender3D">
<meta property="og:locale" content="de_DE">
<meta property="og:locale:alternate" content="en_US">
<meta property="og:title" content="STL reparieren online kostenlos – 3D-Modelle prüfen | MeshDoc">
<meta property="og:description" content="STL reparieren online & kostenlos: MeshDoc prüft 3D-Modelle vor dem Slicen und behebt Non-Manifold-Kanten, Löcher & invertierte Normalen (STL, 3MF, OBJ). 100% lokal im Browser, kein Upload.">
<meta property="og:image" content="https://www.meshdoc.de/og-image.jpg">
<meta property="og:image:secure_url" content="https://www.meshdoc.de/og-image.jpg">
<meta property="og:image:type" content="image/jpeg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="MeshDoc – 3D-Modelle & STL prüfen und reparieren vor dem Slicen">
<!-- Twitter / X Card -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://www.meshdoc.de/">
<meta property="twitter:title" content="STL reparieren online kostenlos – 3D-Modelle prüfen | MeshDoc">
<meta property="twitter:description" content="STL reparieren online & kostenlos: MeshDoc prüft 3D-Modelle vor dem Slicen und behebt Non-Manifold-Kanten, Löcher & invertierte Normalen (STL, 3MF, OBJ). 100% lokal im Browser, kein Upload.">
<meta property="twitter:image" content="https://www.meshdoc.de/og-image.jpg">
<!-- Schema.org JSON-LD Structured Data (WebApplication + HowTo + FAQPage) -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "WebSite",
"@id": "https://www.meshdoc.de/#website",
"url": "https://www.meshdoc.de/",
"name": "MeshDoc",
"description": "Die Qualitätskontrolle für 3D-Modelle vor dem Slicen – STL, 3MF & OBJ prüfen und reparieren.",
"inLanguage": [
"de",
"en"
],
"publisher": {
"@type": "Organization",
"name": "Svender3D",
"url": "https://svender3d.de"
}
},
{
"@type": [
"SoftwareApplication",
"WebApplication"
],
"@id": "https://www.meshdoc.de/#webapp",
"name": "MeshDoc",
"url": "https://www.meshdoc.de/",
"applicationCategory": "DesignApplication",
"operatingSystem": "All",
"softwareVersion": "2.0.0",
"browserRequirements": "Requires JavaScript. Requires HTML5 Canvas / WebGL.",
"inLanguage": [
"de",
"en"
],
"isAccessibleForFree": true,
"screenshot": "https://www.meshdoc.de/og-image.jpg",
"creator": {
"@type": "Organization",
"name": "Svender3D",
"url": "https://svender3d.de"
},
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "EUR"
},
"description": "MeshDoc ist die 100% lokale Qualitätskontrolle zwischen 3D-Modell und Slicer. Es analysiert und repariert STL-, 3MF- und OBJ-Dateien direkt im Browser: Automatisches Schließen offener Löcher per Ear-Clipping, Behebung von Non-Manifold-Kanten, Ausrichten invertierter Normalen, volumenerhaltende Taubin-Glättung, adaptive Polygon-Dezimierung und Multi-Format-Export.",
"featureList": [
"100% Zero-Upload: Vollständige lokale Geometrieverarbeitung im Browser",
"Erkennung und automatisches Schließen offener Netzkanten und Löcher (Ear-Clipping)",
"Behebung ungültiger Non-Manifold-Kanten und T-Junctions",
"Automatische Normalenausrichtung nach außen basierend auf Vorzeichenvolumen",
"Filterung degenerierter Null-Flächen und doppelter Dreiecke",
"Dynamische 3D-Überhang-Analyse mit Ampel-Heatmap (Grün/Gelb/Rot) und Schwellenwert-Regler",
"Volumenerhaltende Taubin-Oberflächenglättung mit Sagitta-Subdivision für perfekte Rundungen im Slicer",
"Adaptive Grid-Cluster Polygon-Dezimierung zur Dateigrößenreduktion",
"1-Klick Druckbett-Ausrichtung (Drop to Bed, Center on Bed, 90°-Drehung)",
"Automatische Einheiten-Skalierung (Zoll zu mm / mm zu Zoll)",
"Multi-Format-Export: Binary STL, ASCII STL, OBJ und 3MF-Pakete"
]
},
{
"@type": "HowTo",
"@id": "https://www.meshdoc.de/#howto",
"name": "3D-Modelle und STL-Dateien für den 3D-Druck prüfen und reparieren",
"description": "Schritt-für-Schritt-Anleitung zur lokalen Fehlerbehebung von Non-Manifold-Kanten, offenen Löchern und invertierten Normalen mit MeshDoc.",
"totalTime": "PT1M",
"step": [
{
"@type": "HowToStep",
"name": "3D-Datei ablegen",
"text": "Ziehe deine STL-, OBJ- oder 3MF-Datei per Drag & Drop direkt in den Browser. Die Datei wird zu 100% lokal ohne Server-Upload geladen.",
"url": "https://www.meshdoc.de/#upload-section"
},
{
"@type": "HowToStep",
"name": "Automatische Diagnose einsehen",
"text": "MeshDoc prüft die Topologie in Echtzeit auf offene Kanten, Non-Manifold-Stellen, invertierte Normalen, Überhangwinkel und Skalierungsanomalien.",
"url": "https://www.meshdoc.de/#diagnostics-section"
},
{
"@type": "HowToStep",
"name": "1-Klick Auto-Reparatur ausführen",
"text": "Klicke auf 'Auto-Reparatur starten', um Lücken wasserdicht zu schließen, Normalen auszurichten und T-Junctions zu verschweißen.",
"url": "https://www.meshdoc.de/#tools-section"
},
{
"@type": "HowToStep",
"name": "Slicer-bereite Datei herunterladen",
"text": "Exportiere das geprüfte wasserdichte Modell als Binary STL, 3MF-Paket oder OBJ für Bambu Studio, OrcaSlicer, PrusaSlicer oder Cura.",
"url": "https://www.meshdoc.de/#tools-section"
}
]
},
{
"@type": "FAQPage",
"@id": "https://www.meshdoc.de/#faq",
"mainEntity": [
{
"@type": "Question",
"name": "Was bedeutet Non-Manifold bei einer STL-Datei?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Ein Non-Manifold-Fehler beschreibt eine geometrisch ungültige oder nicht wasserdichte Mesh-Struktur (z. B. Kanten, an denen drei oder mehr Dreiecke anliegen, oder sich selbst schneidende Wände). Slicer können daraus kein eindeutiges Innen- und Außenvolumen berechnen, was zu fehlenden Schichten, Wandfehlern oder Druckabbrüchen führt."
}
},
{
"@type": "Question",
"name": "Warum zeigt mein Slicer (Bambu Studio, OrcaSlicer, PrusaSlicer, Cura) Warnungen an?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Viele CAD-Programme und 3D-Modellierungs-Tools exportieren beim Erzeugen von Polygonnetzen offene Kanten, T-Junctions oder verdrehte Flächennormalen. Moderne Slicer prüfen die Topologie streng und warnen vor Instabilitäten und Lücken im Werkzeugpfad."
}
},
{
"@type": "Question",
"name": "Was ist der Unterschied zwischen STL, OBJ und 3MF?",
"acceptedAnswer": {
"@type": "Answer",
"text": "STL ist das traditionelle Standardformat für Dreiecksnetze ohne Farb- oder Einheiteninformationen. OBJ unterstützt zusätzliche Textur- und Geometriedaten. 3MF (3D Manufacturing Format) ist das moderne XML-Container-Format, das Netze verlustfrei komprimiert, Metadaten und Einheiten speichert und von modernen Slicern bevorzugt wird."
}
},
{
"@type": "Question",
"name": "Werden meine 3D-Modelle auf einen externen Server hochgeladen?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Nein. MeshDoc arbeitet nach dem strikten Zero-Upload-Prinzip: Sämtliche Berechnungen, Fehleranalysen, Triangulierungen und Exporte laufen zu 100% lokal im Arbeitsspeicher deines Webbrowsers ab. Keine Datei verlässt dein Endgerät – ideal auch für vertrauliche Prototypen und CAD-Dateien."
}
},
{
"@type": "Question",
"name": "Warum sehen glatt gerenderte Zylinder im Slicer oft trotzdem eckig aus?",
"acceptedAnswer": {
"@type": "Answer",
"text": "In 3D-Viewern wird Rundung oft nur durch Phong-Shading (Lichtberechnung) vorgetäuscht, während die Geometrie facettenreich bleibt. MeshDocs Glättungs-Engine nutzt volumenerhaltendes Taubin-Smoothing mit anschließender Sagitta-Subdivision, um echte neue Zwischenpunkte exakt auf der geometrischen Krümmung zu berechnen."
}
}
]
}
]
}
</script>
<!-- 100% Local Self-Hosted Three.js Import Map -->
<script type="importmap">
{
"imports": {
"three": "./assets/vendor/three/three.module.js",
"three/addons/": "./assets/vendor/three/",
"three-mesh-bvh": "./assets/vendor/three-mesh-bvh/index.module.js"
}
}
</script>
<!-- Preload the module chain so it loads in parallel -->
<link rel="modulepreload" href="assets/js/app.js?v=2.0.0">
<link rel="modulepreload" href="assets/js/viewer.js?v=2.0.0">
<link rel="modulepreload" href="assets/js/analyzer.js?v=2.0.0">
<link rel="modulepreload" href="assets/js/repair.js?v=2.0.0">
<link rel="modulepreload" href="assets/js/exporter.js?v=2.0.0">
<link rel="modulepreload" href="assets/js/holefill.js?v=2.0.0">
<link rel="modulepreload" href="assets/js/weld.js?v=2.0.0">
<link rel="modulepreload" href="assets/js/partmove.js?v=2.0.0">
<link rel="modulepreload" href="assets/js/pockets.js?v=2.0.0">
<link rel="modulepreload" href="assets/js/bore.js?v=2.0.0">
<link rel="modulepreload" href="assets/js/i18n.js?v=2.0.0">
<link rel="modulepreload" href="assets/js/i18n-de.js?v=2.0.0">
<link rel="modulepreload" href="assets/js/nonmanifold.js">
<link rel="modulepreload" href="assets/js/perf.js">
<link rel="modulepreload" href="assets/vendor/three/three.module.js">
<link rel="modulepreload" href="assets/vendor/three/OrbitControls.js?v=2.0.0">
<!-- Instant Theme Initializer (Dark is Default, Zero-FOUC) -->
<!-- Minified Combined Stylesheet (Includes Self-Hosted WOFF2 Fonts) -->
<style id="critical-css">:root{--bg-main:#0a0d14;--bg-card:#121824;--bg-card-subtle:#161f30;--bg-panel:#0d121c;--bg-hover:#1e293b;--bg-active:#25334a;--bg-glass:rgba(18,24,36,0.95);--border-subtle:#1e293b;--border-default:#2a374f;--border-focus:#38bdf8;--border-glow:rgba(56,189,248,0.25);--text-primary:#f8fafc;--text-secondary:#e2e8f0;--text-muted:#d4dae4;--text-inverse:#0a0d14;--accent-cyan:#38bdf8;--accent-cyan-hover:#0ea5e9;--accent-cyan-bg:rgba(56,189,248,0.12);--status-success:#22c55e;--status-success-bg:rgba(34,197,94,0.12);--status-success-border:rgba(34,197,94,0.3);--status-warning:#f59e0b;--status-warning-bg:rgba(245,158,11,0.12);--status-warning-border:rgba(245,158,11,0.3);--status-error:#ef4444;--status-error-bg:rgba(239,68,68,0.12);--status-error-border:rgba(239,68,68,0.3);--status-info:#6366f1;--status-info-bg:rgba(99,102,241,0.12);--font-sans:'Archivo',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;--font-mono:'JetBrains Mono','Fira Code','Cascadia Code',Consolas,Monaco,monospace;--space-xs:4px;--space-sm:8px;--space-md:16px;--space-lg:24px;--space-xl:32px;--space-2xl:48px;--radius-sm:6px;--radius-md:10px;--radius-lg:16px;--radius-full:9999px;--shadow-sm:0 1px 2px 0 rgba(0,0,0,0.4);--shadow-md:0 4px 12px 0 rgba(0,0,0,0.5);--shadow-lg:0 4px 14px -4px rgba(0,0,0,0.6);--shadow-cyan-glow:0 2px 8px rgba(0,0,0,0.08);--shadow-emerald-glow:0 2px 8px rgba(0,0,0,0.08);--transition-fast:0.15s cubic-bezier(0.4,0,0.2,1);--transition-normal:0.25s cubic-bezier(0.4,0,0.2,1);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-top:env(safe-area-inset-top,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px)}[data-theme="light"]{--bg-main:#f8fafc;--bg-card:#ffffff;--bg-card-subtle:#f1f5f9;--bg-panel:#ffffff;--bg-hover:#e2e8f0;--bg-active:#cbd5e1;--bg-glass:rgba(255,255,255,0.95);--border-subtle:#e2e8f0;--border-default:#cbd5e1;--border-focus:#0369a1;--border-glow:rgba(2,132,199,0.2);--text-primary:#0f172a;--text-secondary:#1e293b;--text-muted:#475569;--text-inverse:#ffffff;--accent-cyan:#0369a1;--accent-cyan-hover:#0369a1;--accent-cyan-bg:rgba(2,132,199,0.1);--status-success:#15803d;--status-success-bg:#dcfce7;--status-success-border:#86efac;--status-warning:#b45309;--status-warning-bg:#fef3c7;--status-warning-border:#fcd34d;--status-error:#b91c1c;--status-error-bg:#fee2e2;--status-error-border:#fca5a5;--status-info:#4338ca;--status-info-bg:#e0e7ff;--status-info-border:#a5b4fc;--shadow-sm:0 1px 3px 0 rgba(0,0,0,0.06);--shadow-md:0 4px 14px 0 rgba(0,0,0,0.08);--shadow-lg:0 4px 14px -4px rgba(0,0,0,0.12);--shadow-cyan-glow:0 2px 8px rgba(0,0,0,0.08);--shadow-emerald-glow:0 2px 8px rgba(0,0,0,0.08)}@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 700;font-display:optional;src:url('assets/fonts/jetbrainsmono-regular.woff2') format('woff2')}*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}html{min-height:100%;overflow-y:scroll;scrollbar-gutter:stable}body{min-height:100%;width:100%;overflow-x:hidden;background-color:var(--bg-main);color:var(--text-primary);font-family:var(--font-sans);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--bg-main)}::-webkit-scrollbar-thumb{background:var(--border-default);border-radius:var(--radius-full)}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.app-container{display:flex;flex-direction:column;min-height:100vh;padding:var(--space-md);gap:var(--space-md);max-width:1920px;margin:0 auto}.app-header{display:flex;align-items:center;justify-content:space-between;padding:var(--space-sm) var(--space-md);background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);}.brand-wrapper{display:flex;align-items:center;gap:var(--space-md)}.brand-logo{display:flex;align-items:center;justify-content:center;width:38px;height:38px;background:var(--accent-cyan);color:#fff;border-radius:var(--radius-md);box-shadow:var(--shadow-cyan-glow)}.brand-logo svg{width:22px;height:22px}.brand-text h1{font-size:1.15rem;font-weight:700;letter-spacing:-0.02em;color:var(--text-primary);display:flex;align-items:center;gap:var(--space-xs)}.brand-text p{font-size:0.75rem;color:var(--text-muted)}.hero-description{font-size:0.78rem;color:var(--text-muted);line-height:1.5;margin-top:3px;max-width:660px}.hero-intro-banner{background:var(--bg-card-subtle);border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:10px 16px;font-size:0.78rem;color:var(--text-secondary);line-height:1.5;display:flex;align-items:center;gap:12px}.privacy-badge{display:inline-flex;align-items:center;gap:6px;padding:0 10px;height:34px;background:var(--status-success-bg);border:1px solid var(--status-success-border);border-radius:var(--radius-full);font-size:0.74rem;font-weight:600;color:var(--status-success);white-space:nowrap}.privacy-badge svg{width:14px;height:14px;flex-shrink:0}.header-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.theme-toggle-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-width:34px;min-height:34px;padding:0;border-radius:var(--radius-sm);background:var(--bg-panel);border:1px solid var(--border-default);color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast)}.theme-toggle-btn:hover{background:var(--bg-hover);color:var(--accent-cyan);border-color:var(--accent-cyan)}.theme-toggle-btn svg{width:17px;height:17px;transition:transform var(--transition-fast)}.theme-toggle-btn:hover svg{transform:rotate(15deg)}.theme-toggle-btn .icon-sun{display:block}.theme-toggle-btn .icon-moon{display:none}[data-theme="light"] .theme-toggle-btn .icon-sun{display:none !important}[data-theme="light"] .theme-toggle-btn .icon-moon{display:block !important}@media (max-width:768px){.app-container{padding:8px;padding-bottom:calc(var(--safe-bottom) + 8px);gap:10px}.app-header{flex-direction:row;align-items:center;justify-content:space-between;padding:8px 12px;gap:8px;flex-wrap:wrap}.brand-wrapper{gap:8px}.brand-logo{width:32px;height:32px}.brand-logo svg{width:18px;height:18px}.brand-text h1{font-size:1rem}.brand-text p{display:none}.header-toolbar{gap:6px}.hero-intro-banner{padding:8px 12px;font-size:0.74rem;gap:8px}input,select,textarea{font-size:16px !important}}.dashboard-grid{display:grid;grid-template-columns:340px 1fr 340px;gap:var(--space-md);flex:1;align-items:stretch}.dashboard-grid > .left-sidebar{grid-column:1;grid-row:1}.dashboard-grid > .viewer-card{grid-column:2;grid-row:1}.dashboard-grid > .app-sidebar{grid-column:3;grid-row:1}@media (max-width:1200px){.dashboard-grid{grid-template-columns:320px 1fr}.dashboard-grid > .left-sidebar{grid-column:1;grid-row:1}.dashboard-grid > .viewer-card{grid-column:2;grid-row:1}.dashboard-grid > .app-sidebar{grid-column:1 / -1;grid-row:2}}@media (max-width:860px){.dashboard-grid{display:flex;flex-direction:column;gap:var(--space-md)}}.bento-card{background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);display:flex;flex-direction:column;overflow:hidden;transition:border-color var(--transition-fast),box-shadow var(--transition-fast)}.bento-card:hover{border-color:var(--border-default)}.bento-header{display:flex;align-items:center;justify-content:space-between;padding:var(--space-md);border-bottom:1px solid var(--border-subtle)}.bento-title{display:flex;align-items:center;gap:var(--space-sm);font-size:0.9rem;font-weight:600;color:var(--text-primary)}.bento-title svg{width:16px;height:16px;color:var(--accent-cyan)}.bento-content{padding:var(--space-md);flex:1;overflow-y:auto}.app-footer{display:flex;align-items:center;justify-content:space-between;padding:var(--space-sm) var(--space-md);font-size:0.75rem;color:var(--text-muted);background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-md)}.app-footer a{color:var(--accent-cyan);text-decoration:none;padding:4px 2px}.app-footer a:hover{text-decoration:underline}.skip-link{position:absolute;top:-100px;left:16px;background:var(--accent-cyan);color:var(--text-inverse);padding:10px 16px;border-radius:var(--radius-sm);font-weight:700;z-index:999999;transition:top var(--transition-fast);text-decoration:none}.skip-link:focus{top:16px}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--accent-cyan);outline-offset:2px}button,a,input,select{touch-action:manipulation}.mobile-dashboard-tabs{display:none}@media (max-width:768px){.mobile-dashboard-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;order:2;margin:4px 0 10px 0;width:100%}.mobile-dash-tab-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;background:var(--bg-card);border:1.5px solid var(--border-default);border-radius:var(--radius-md);font-size:0.84rem;font-weight:600;color:var(--text-secondary);cursor:pointer;transition:all 0.2s ease;touch-action:manipulation;min-height:44px}.mobile-dash-tab-btn:hover{background:var(--bg-card-subtle);color:var(--text-primary)}.mobile-dash-tab-btn.active{background:var(--bg-card-subtle);border-color:var(--accent-cyan);color:var(--accent-cyan);box-shadow:var(--shadow-cyan-glow)}[data-theme="light"] .mobile-dash-tab-btn{background:#ffffff !important;border-color:#cbd5e1 !important;color:#475569 !important}[data-theme="light"] .mobile-dash-tab-btn.active{background:#f0fdf4 !important;border-color:#0369a1 !important;color:#0369a1 !important;box-shadow:0 0 12px rgba(0,0,0,0.08) !important}.dashboard-grid .viewer-card{order:1 !important}.dashboard-grid:not(.show-tools) .left-sidebar{display:flex !important;order:3 !important}.dashboard-grid:not(.show-tools) .right-sidebar{display:none !important}.dashboard-grid.show-tools .left-sidebar{display:none !important}.dashboard-grid.show-tools .right-sidebar{display:flex !important;order:3 !important}.hero-intro-banner .hero-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}</style>
<!-- render-blocking on purpose: the page is drawn once, fully styled (no late-appearing design elements) -->
<link rel="stylesheet" href="assets/css/style.min.css?v=2.0.0">
<script src="assets/js/boot.js?v=2.0.0"></script>
<!-- Critical In-Modal Alert & Toast Z-Index Overrides -->
<style>
.toast-container { z-index: 99999999 !important; }
.contact-form-alert {
padding: 11px 14px;
border-radius: 8px;
font-size: 0.82rem;
line-height: 1.45;
margin-bottom: 14px;
display: flex;
align-items: flex-start;
gap: 10px;
font-weight: 500;
}
.contact-form-alert.success {
background: rgba(34, 197, 94, 0.15) !important;
border: 1.5px solid #22c55e !important;
color: #86efac !important;
}
.contact-form-alert.error {
background: rgba(239, 68, 68, 0.15) !important;
border: 1.5px solid #ef4444 !important;
color: #fca5a5 !important;
}
.contact-form-alert.info {
background: rgba(56, 189, 248, 0.15) !important;
border: 1.5px solid #38bdf8 !important;
color: #bae6fd !important;
}
[data-theme="light"] .contact-form-alert.success {
background: #dcfce7 !important;
border-color: #86efac !important;
color: #15803d !important;
}
[data-theme="light"] .contact-form-alert.error {
background: #fee2e2 !important;
border-color: #fca5a5 !important;
color: #b91c1c !important;
}
[data-theme="light"] .contact-form-alert.info {
background: #e0f2fe !important;
border-color: #7dd3fc !important;
color: #0369a1 !important;
}
[data-theme="light"] .site-notice-overlay,
[data-theme="light"] .cookie-banner-overlay {
background: #ffffff !important;
border: 1.5px solid #cbd5e1 !important;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06) !important;
color: #0f172a !important;
}
[data-theme="light"] .site-notice-header h3,
[data-theme="light"] .cookie-banner-header h3 {
color: #0f172a !important;
}
[data-theme="light"] .site-notice-body,
[data-theme="light"] .cookie-banner-body {
color: #334155 !important;
}
[data-theme="light"] .site-notice-body a,
[data-theme="light"] .cookie-banner-body a {
color: #0369a1 !important;
}
[data-theme="light"] .notice-btn-secondary,
[data-theme="light"] .cookie-btn-secondary {
background: #f1f5f9 !important;
border: 1px solid #cbd5e1 !important;
color: #0f172a !important;
}
</style>
</head>
<body>
<!-- Icons: Lucide (ISC-Lizenz, siehe assets/vendor/lucide/LICENSE), lokal eingebettet, nichts wird nachgeladen -->
<svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" style="position:absolute" aria-hidden="true" focusable="false"><symbol id="i-shapes" viewBox="0 0 24 24"><path d="M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z"/><rect x="3" y="14" width="7" height="7" rx="1"/><circle cx="17.5" cy="17.5" r="3.5"/></symbol><symbol id="i-maximize" viewBox="0 0 24 24"><polyline points="15 3 21 3 21 9"/><polyline points="9 21 3 21 3 15"/><line x1="21" x2="14" y1="3" y2="10"/><line x1="3" x2="10" y1="21" y2="14"/></symbol><symbol id="i-minimize" viewBox="0 0 24 24"><polyline points="4 14 10 14 10 20"/><polyline points="20 10 14 10 14 4"/><line x1="14" x2="21" y1="10" y2="3"/><line x1="3" x2="10" y1="21" y2="14"/></symbol><symbol id="i-layers" viewBox="0 0 24 24"><path d="m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z"/><path d="m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65"/><path d="m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65"/></symbol><symbol id="i-waves" viewBox="0 0 24 24"><path d="M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1"/><path d="M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1"/><path d="M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1"/></symbol><symbol id="i-coffee" viewBox="0 0 24 24"><path d="M10 2v2"/><path d="M14 2v2"/><path d="M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1"/><path d="M6 2v2"/></symbol><symbol id="i-check" viewBox="0 0 24 24"><path d="M20 6 9 17l-5-5"/></symbol><symbol id="i-wrench" viewBox="0 0 24 24"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" /></symbol><symbol id="i-scissors" viewBox="0 0 24 24"><circle cx="6" cy="6" r="3" /> <path d="M8.12 8.12 12 12" /> <path d="M20 4 8.12 15.88" /> <circle cx="6" cy="18" r="3" /> <path d="M14.8 14.8 20 20" /></symbol><symbol id="i-ruler" viewBox="0 0 24 24"><path d="M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z" /> <path d="m14.5 12.5 2-2" /> <path d="m11.5 9.5 2-2" /> <path d="m8.5 6.5 2-2" /> <path d="m17.5 15.5 2-2" /></symbol><symbol id="i-puzzle" viewBox="0 0 24 24"><path d="M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z" /></symbol><symbol id="i-timer" viewBox="0 0 24 24"><line x1="10" x2="14" y1="2" y2="2" /> <line x1="12" x2="15" y1="14" y2="11" /> <circle cx="12" cy="14" r="8" /></symbol><symbol id="i-hand" viewBox="0 0 24 24"><path d="M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2" /> <path d="M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2" /> <path d="M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8" /> <path d="M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15" /></symbol><symbol id="i-warn" viewBox="0 0 24 24"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" /> <path d="M12 9v4" /> <path d="M12 17h.01" /></symbol><symbol id="i-traffic-cone" viewBox="0 0 24 24"><path d="M16.05 10.966a5 2.5 0 0 1-8.1 0" /> <path d="m16.923 14.049 4.48 2.04a1 1 0 0 1 .001 1.831l-8.574 3.9a2 2 0 0 1-1.66 0l-8.574-3.91a1 1 0 0 1 0-1.83l4.484-2.04" /> <path d="M16.949 14.14a5 2.5 0 1 1-9.9 0L10.063 3.5a2 2 0 0 1 3.874 0z" /> <path d="M9.194 6.57a5 2.5 0 0 0 5.61 0" /></symbol><symbol id="i-smartphone" viewBox="0 0 24 24"><rect width="14" height="20" x="5" y="2" rx="2" ry="2" /> <path d="M12 18h.01" /></symbol><symbol id="i-sliders" viewBox="0 0 24 24"><path d="M10 5H3" /> <path d="M12 19H3" /> <path d="M14 3v4" /> <path d="M16 17v4" /> <path d="M21 12h-9" /> <path d="M21 19h-5" /> <path d="M21 5h-7" /> <path d="M8 10v4" /> <path d="M8 12H3" /></symbol><symbol id="i-refresh" viewBox="0 0 24 24"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" /> <path d="M21 3v5h-5" /> <path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16" /> <path d="M8 16H3v5" /></symbol><symbol id="i-target" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" /> <circle cx="12" cy="12" r="6" /> <circle cx="12" cy="12" r="2" /></symbol><symbol id="i-contrast" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" /> <path d="M12 18a6 6 0 0 0 0-12v12z" /></symbol><symbol id="i-palette" viewBox="0 0 24 24"><path d="M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z" /> <circle cx="13.5" cy="6.5" r=".5" fill="currentColor" /> <circle cx="17.5" cy="10.5" r=".5" fill="currentColor" /> <circle cx="6.5" cy="12.5" r=".5" fill="currentColor" /> <circle cx="8.5" cy="7.5" r=".5" fill="currentColor" /></symbol><symbol id="i-eraser" viewBox="0 0 24 24"><path d="M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21" /> <path d="m5.082 11.09 8.828 8.828" /></symbol><symbol id="i-globe" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" /> <path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" /> <path d="M2 12h20" /></symbol><symbol id="i-rocket" viewBox="0 0 24 24"><path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5" /> <path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09" /> <path d="M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z" /> <path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05" /></symbol><symbol id="i-chart" viewBox="0 0 24 24"><path d="M3 3v16a2 2 0 0 0 2 2h16" /> <path d="M18 17V9" /> <path d="M13 17V5" /> <path d="M8 17v-3" /></symbol><symbol id="i-map-pin" viewBox="0 0 24 24"><path d="M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0" /> <circle cx="12" cy="10" r="3" /></symbol><symbol id="i-arrow-up" viewBox="0 0 24 24"><path d="M5 3h14" /> <path d="m18 13-6-6-6 6" /> <path d="M12 7v14" /></symbol><symbol id="i-microscope" viewBox="0 0 24 24"><path d="M6 18h8" /> <path d="M3 22h18" /> <path d="M14 22a7 7 0 1 0 0-14h-1" /> <path d="M9 14h2" /> <path d="M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z" /> <path d="M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3" /></symbol><symbol id="i-shield" viewBox="0 0 24 24"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z" /> <path d="m9 12 2 2 4-4" /></symbol><symbol id="i-search" viewBox="0 0 24 24"><path d="m21 21-4.34-4.34" /> <circle cx="11" cy="11" r="8" /></symbol><symbol id="i-lock" viewBox="0 0 24 24"><rect width="18" height="11" x="3" y="11" rx="2" ry="2" /> <path d="M7 11V7a5 5 0 0 1 10 0v4" /></symbol><symbol id="i-package" viewBox="0 0 24 24"><path d="M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z" /> <path d="M12 22V12" /> <polyline points="3.29 7 12 12 20.71 7" /> <path d="m7.5 4.27 9 5.15" /></symbol><symbol id="i-save" viewBox="0 0 24 24"><path d="M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z" /> <path d="M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7" /> <path d="M7 3v4a1 1 0 0 0 1 1h7" /></symbol><symbol id="i-scale" viewBox="0 0 24 24"><path d="M12 3v18" /> <path d="m19 8 3 8a5 5 0 0 1-6 0zV7" /> <path d="M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1" /> <path d="m5 8 3 8a5 5 0 0 1-6 0zV7" /> <path d="M7 21h10" /></symbol><symbol id="i-zap" viewBox="0 0 24 24"><path d="M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z" /></symbol><symbol id="i-printer" viewBox="0 0 24 24"><path d="M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2" /> <path d="M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6" /> <rect x="6" y="14" width="12" height="8" rx="1" /></symbol><symbol id="i-dna" viewBox="0 0 24 24"><path d="m10 16 1.5 1.5" /> <path d="m14 8-1.5-1.5" /> <path d="M15 2c-1.798 1.998-2.518 3.995-2.807 5.993" /> <path d="m16.5 10.5 1 1" /> <path d="m17 6-2.891-2.891" /> <path d="M2 15c6.667-6 13.333 0 20-6" /> <path d="m20 9 .891.891" /> <path d="M3.109 14.109 4 15" /> <path d="m6.5 12.5 1 1" /> <path d="m7 18 2.891 2.891" /> <path d="M9 22c1.798-1.998 2.518-3.995 2.807-5.993" /></symbol><symbol id="i-trash" viewBox="0 0 24 24"><path d="M10 11v6" /> <path d="M14 11v6" /> <path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" /> <path d="M3 6h18" /> <path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" /></symbol></svg>
<!-- Accessibility Skip Link -->
<a href="#main-content" class="skip-link" data-i18n="skipToContent">Zum Inhalt springen</a>
<!-- Fallback Banner for file:/// Protocol -->
<div id="fileProtocolWarning" style="display: none; background: #ef4444; color: #fff; padding: 10px 16px; font-size: 0.85rem; text-align: center; z-index: 99999; position: relative;">
<strong>Notice:</strong> When opened directly via <code>file:///</code>, browsers block ES modules. Please start a local web server (e.g. <code>python -m http.server 8080</code> or in VS Code with <em>Live Server</em>).
</div>
<div class="app-container">
<!-- Top Header Navigation & Hero -->
<header class="app-header" role="banner">
<div class="brand-wrapper" style="display: flex; align-items: center; gap: 12px;">
<nav aria-label="Hauptnavigation" data-i18n-aria="ariaMainNav">
<!-- Branding / Logo, Link zur MeshDoc-Startseite (svender3d.de steht im Footer) -->
<a href="/" data-href-de="/" data-href-en="/en/" class="brand-link" title="MeshDoc Startseite" aria-label="MeshDoc Startseite">
<div class="brand-logo" style="background:none;border:0;box-shadow:none;border-radius:0;width:34px;height:34px;">
<svg viewBox="0 0 64 64" style="width:100%;height:100%;" aria-hidden="true" focusable="false">
<defs>
<linearGradient id="md-gt" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#7dd3fc"/><stop offset="1" stop-color="#38bdf8"/></linearGradient>
<linearGradient id="md-gl" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#0ea5e9"/><stop offset="1" stop-color="#0369a1"/></linearGradient>
<linearGradient id="md-gr" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#34d399"/><stop offset="1" stop-color="#059669"/></linearGradient>
</defs>
<polygon points="32,2 58,17 32,32 6,17" fill="url(#md-gt)"/>
<polygon points="6,17 32,32 32,62 6,47" fill="url(#md-gl)"/>
<polygon points="58,17 58,47 32,62 32,32" fill="url(#md-gr)"/>
<path d="M27,19h10v8h8v10h-8v8H27v-8h-8V27h8z" fill="#fff" stroke="#0b1220" stroke-width="2.5" stroke-linejoin="round" paint-order="stroke"/>
</svg>
</div>
</a>
</nav>
<div class="hero-content">
<div style="display: flex; align-items: center; gap: 8px;">
<h1 data-i18n="appTitle" data-mode-only="repair" style="margin: 0;">MeshDoc</h1>
<template data-mode-tpl><h1 data-i18n="splitAppTitle" data-mode-only="split" style="margin: 0;">MeshDoc Teilen</h1></template>
<span class="version-tag">v2.0</span>
</div>
<p class="subtitle" data-i18n="appSubtitle" data-mode-only="repair" style="margin: 0; font-size: 0.74rem; color: var(--text-muted);">Fehlerhafte STL-Dateien analysieren, reparieren und slicerfertig exportieren.</p>
<template data-mode-tpl><p class="subtitle" data-i18n="splitAppSubtitle" data-mode-only="split" style="margin: 0; font-size: 0.74rem; color: var(--text-muted);">STL-Modelle zerschneiden und mit Dübeln verbinden (Early Alpha)</p></template>
</div>
</div>
<!-- Unified Header Toolbar -->
<div class="header-toolbar">
<!-- Zero-Upload Privacy Badge (Compact) -->
<div class="privacy-badge" title="100% Local Processing (Zero-Upload)">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path>
</svg>
<span data-i18n="privacyBadge">100% Lokale Verarbeitung (Zero-Upload)</span>
</div>
<!-- Dark / Light Theme Toggle -->
<button type="button" id="btnThemeToggle" class="theme-toggle-btn" data-i18n-aria="ariaThemeToggle" aria-label="Farbschema wechseln" title="Farbschema wechseln (Dark / Light)">
<svg class="icon-sun" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<circle cx="12" cy="12" r="5"></circle>
<line x1="12" y1="1" x2="12" y2="3"></line>
<line x1="12" y1="21" x2="12" y2="23"></line>
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
<line x1="1" y1="12" x2="3" y2="12"></line>
<line x1="21" y1="12" x2="23" y2="12"></line>
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
</svg>
<svg class="icon-moon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
</svg>
</button>
<!-- Language Switcher (EN | DE) -->
<div class="lang-switch-wrapper" role="group" aria-label="Language Selector" style="display: flex; background: var(--bg-panel); border: 1px solid var(--border-default); border-radius: var(--radius-sm); padding: 2px;">
<button class="lang-btn active" data-lang="de" data-i18n-aria="ariaLangDe" aria-label="Sprache auf Deutsch wechseln">DE</button>
<button class="lang-btn" data-lang="en" aria-label="Switch language to English">EN</button>
</div>
<!-- Unterstützen (Buy Me a Coffee) -->
<a class="btn btn-secondary header-btn bmc-btn" href="https://buymeacoffee.com/meshdoc" target="_blank" rel="noopener noreferrer nofollow" data-i18n-aria="bmcAria" aria-label="MeshDoc unterstützen (Buy Me a Coffee, externe Seite)">
<svg class="ic bmc-cup" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path class="steam s1" d="M6 2v2"/><path class="steam s2" d="M10 2v2"/><path class="steam s3" d="M14 2v2"/><path d="M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1"/></svg>
<span class="bmc-txt" data-i18n="bmcLabel">Kaffee spendieren</span>
</a>
<!-- What's New Button -->
<button class="btn btn-secondary header-btn" data-open-modal="modalWhatsNew" title="What's New / Release Notes" aria-label="What's New and Release Notes">
<span class="pulse-dot" aria-hidden="true"></span>
<span data-i18n="navWhatsNew">Was ist neu?</span>
</button>
</div>
</header>
<!-- Sleek Hero Description Strip (Sub-Header) -->
<div class="hero-intro-banner">
<span style="display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-cyan-bg); color: var(--accent-cyan); font-weight: 700; flex-shrink: 0; font-size: 0.72rem;" aria-hidden="true">ℹ</span>
<span class="hero-description" data-i18n="appDescription" data-mode-only="repair" style="margin: 0; max-width: none;">MeshDoc ist ein spezialisiertes Browser-Werkzeug für 3D-Druck-Anwender zur schnellen Reparatur defekter STL-, OBJ- und 3MF-Meshes. Die Anwendung schließt offene Netzlöcher, korrigiert Non-Manifold-Kanten und richtet invertierte Normalen automatisch für fehlerfreies Slicing aus. Anders als die Reparatur im Slicer zeigt MeshDoc verständlich, was am Modell kaputt ist und wo – ohne Installation und zu 100% lokal ohne Cloud-Upload.</span>
<template data-mode-tpl><span class="hero-description" data-i18n="splitAppDescription" data-mode-only="split" style="margin: 0; max-width: none;">Teile ein großes oder kompliziertes 3D-Modell direkt im Browser in druckbare Einzelteile. MeshDoc schlägt Schnitte an Absätzen und Engstellen vor, setzt Dübel und liefert jedes Teil mit der Schnittfläche nach unten. Kein Upload, alles bleibt auf deinem Gerät.</span></template>
</div>
<!-- Main Container with Interactive App & On-Page SEO Sections -->
<main id="main-content" role="main" style="display: flex; flex-direction: column; gap: var(--space-md);">
<div class="nav-sticky" id="navSticky">
<!-- Mode tabs: real links (crawlable, own URLs); the script switches the mode without reloading so a loaded model survives -->
<nav class="mode-tabs" id="modeTabs" aria-label="Modus wählen" data-i18n-aria="modeTabsAria">
<a class="mode-tab active" id="modeTabRepair" href="/" data-href-de="/" data-href-en="/en/" data-mode="repair" aria-current="page"><svg class="ic" aria-hidden="true" focusable="false"><use href="#i-wrench"/></svg><span class="mode-tab-txt"><span class="mode-tab-name" data-i18n="modeTabRepair">Reparatur</span></span></a>
<button type="button" class="mode-tab" id="modeTabShape" data-mode="shape"><svg class="ic" aria-hidden="true" focusable="false"><use href="#i-shapes"/></svg><span class="mode-tab-txt"><span class="mode-tab-name" data-i18n="modeTabShape">Bearbeiten</span></span></button>
<a class="mode-tab" id="modeTabSplit" href="/split/" data-href-de="/split/" data-href-en="/en/split/" data-mode="split"><svg class="ic" aria-hidden="true" focusable="false"><use href="#i-scissors"/></svg><span class="mode-tab-txt"><span class="mode-tab-name"><span data-i18n="modeTabSplit">Teilen</span> <span class="alpha-badge" data-i18n="modeAlpha">Early Alpha</span></span></span></a>
</nav>
<div class="tool-row" id="toolRow" hidden>
<div class="tool-group" data-tools-for="repair" role="group" data-i18n-aria="toolsRepairAria" aria-label="Reparatur-Werkzeuge"><button type="button" class="tool-tile" data-tool="repair"><svg class="ic" aria-hidden="true" focusable="false"><use href="#i-zap"/></svg><span data-i18n="toolAutoRepair">Auto-Reparatur</span></button><button type="button" class="tool-tile" data-tool="shells"><svg class="ic" aria-hidden="true" focusable="false"><use href="#i-puzzle"/></svg><span data-i18n="tabShellsTitle">Teile</span></button></div>
<div class="tool-group" data-tools-for="shape" role="group" data-i18n-aria="toolsShapeAria" aria-label="Bearbeiten-Werkzeuge"><button type="button" class="tool-tile" data-tool="scale"><svg class="ic" aria-hidden="true" focusable="false"><use href="#i-maximize"/></svg><span data-i18n="toolScale">Skalieren</span></button><button type="button" class="tool-tile" data-tool="overhang"><svg class="ic" aria-hidden="true" focusable="false"><use href="#i-layers"/></svg><span data-i18n="toolOverhang">Überhänge</span></button><button type="button" class="tool-tile" data-tool="decimate"><svg class="ic" aria-hidden="true" focusable="false"><use href="#i-minimize"/></svg><span data-i18n="toolDecimate">Dezimieren</span></button><button type="button" class="tool-tile" data-tool="smooth"><svg class="ic" aria-hidden="true" focusable="false"><use href="#i-waves"/></svg><span data-i18n="toolSmooth">Glätten</span></button></div>
<div class="tool-group" data-tools-for="split" role="group" data-i18n-aria="toolsSplitAria" aria-label="Schritte"><button type="button" class="tool-tile tool-step" data-step="cut"><span class="tl-n" aria-hidden="true">1</span><span class="tl-t"><span data-i18n="splTabCut">Schneiden</span><small class="tl-r"></small></span></button><button type="button" class="tool-tile tool-step" data-step="join"><span class="tl-n" aria-hidden="true">2</span><span class="tl-t"><span data-i18n="splTabJoin">Verbinden</span><small class="tl-r"></small></span></button><button type="button" class="tool-tile tool-step" data-step="export"><span class="tl-n" aria-hidden="true">3</span><span class="tl-t"><span data-i18n="splTabExport">Export</span><small class="tl-r"></small></span></button></div>
</div>
<div class="nav-mini" id="navMini">
<a class="btn btn-secondary header-btn bmc-btn" href="https://buymeacoffee.com/meshdoc" target="_blank" rel="noopener noreferrer nofollow" data-i18n-aria="bmcAria" aria-label="MeshDoc unterstützen (Buy Me a Coffee, externe Seite)">
<svg class="ic bmc-cup" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path class="steam s1" d="M6 2v2"/><path class="steam s2" d="M10 2v2"/><path class="steam s3" d="M14 2v2"/><path d="M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1"/></svg>
<span class="bmc-txt" data-i18n="bmcLabel">Kaffee spendieren</span>
</a>
<div class="lang-switch-wrapper nav-mini-lang" role="group" aria-label="Language Selector">
<button type="button" class="lang-btn active" data-lang="de" data-i18n-aria="ariaLangDe" aria-label="Sprache auf Deutsch wechseln">DE</button>
<button type="button" class="lang-btn" data-lang="en" aria-label="Switch language to English">EN</button>
</div>
<button type="button" class="theme-toggle-btn" data-proxy="btnThemeToggle" data-i18n-aria="ariaThemeToggle" aria-label="Farbschema wechseln">
<svg class="icon-sun" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
<svg class="icon-moon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
</button>
</div>
</div>
<!-- Split mode on phones: not available, explanation below instead -->
<template data-mode-tpl><section class="bento-card split-phone-notice" id="splitPhoneNotice" data-mode-only="split" aria-labelledby="splPhoneTitle">
<h2 id="splPhoneTitle" class="bento-title" data-i18n="splPhoneTitle">Teilen braucht mehr Platz</h2>
<p data-i18n="splPhoneText">Der Teilen-Modus (Early Alpha) ist für Tablets und Desktop gedacht, ab etwa 768 px Breite. Die Reparatur funktioniert auch auf dem Handy. Unten steht, wie das Teilen funktioniert.</p>
<a class="btn btn-primary" href="/" data-href-de="/" data-href-en="/en/" data-mode="repair" data-i18n="splPhoneBtn">Zur Reparatur</a>
</section></template>
<!-- Bento Grid Interactive Dashboard -->
<div class="dashboard-grid">
<!-- CENTER: 3D Interactive Viewport -->
<section class="bento-card viewer-card" aria-label="3D-Modellansicht" data-i18n-aria="ariaViewer">
<div class="viewer-canvas-wrapper" id="viewportWrapper">
<aside class="split-insfloat" id="splitInsFloat" hidden aria-label="Vorschau: Schnitt durch die Verbindung" data-i18n-aria="splInsPvTitle">
<div class="sif-head"><span data-i18n="splInsPvShort">Schnitt</span><button type="button" id="splitInsFloatBtn" aria-expanded="true" aria-controls="splitInsFloatBody" aria-label="Vorschau ein- oder ausklappen" data-i18n-aria="splInsPvToggle"></button></div>
<div class="sif-body" id="splitInsFloatBody"><svg id="splitInsFloatSvg" viewBox="0 0 280 170" role="img" focusable="false"></svg><p id="splitInsFloatCap"></p></div>
</aside>
<!-- Loading overlay (file import / heavy operations) -->
<div class="viewer-loading" id="viewerLoading" role="status" aria-live="polite" aria-hidden="true">
<div class="viewer-loading-card">
<div class="viewer-loading-spinner" aria-hidden="true"></div>
<div class="viewer-loading-title" id="viewerLoadingTitle">Datei wird geladen …</div>
<div class="viewer-loading-file" id="viewerLoadingFile"></div>
<div class="viewer-loading-steps" id="viewerLoadingSteps" aria-hidden="true"></div>
<div class="viewer-loading-step" id="viewerLoadingStep"></div>
<div class="viewer-loading-bar" aria-hidden="true"><div class="viewer-loading-bar-fill" id="viewerLoadingBar"></div></div>
</div>
</div>
<!-- Top Floating Controls -->
<div class="viewer-overlay-top">
<!-- Split mode: cut actions that stay visible above the model -->
<template data-mode-tpl><div class="viewer-split-actions" role="toolbar" data-i18n-aria="ariaSplitActions" aria-label="Schnitt-Aktionen" data-mode-only="split">
<button type="button" class="btn btn-primary btn-mini" id="btnTopApply" data-i18n="splApplyCut" disabled>Schnitt anwenden</button>
<button type="button" class="btn btn-secondary btn-mini" id="btnTopReset" data-i18n="splResetCuts" hidden>Alle Schnitte zurücksetzen</button>
</div></template>
<!-- Mode Switcher -->
<div class="viewer-mode-selector" role="group" aria-label="3D View Mode" data-mode-only="repair">
<button class="mode-btn active" data-mode="original" aria-label="Show original model" disabled>
<span data-i18n="modeOriginal">Original</span>
</button>
<button class="mode-btn" data-mode="repaired" aria-label="Show repaired model" disabled>
<span data-i18n="modeRepaired">Repariert</span>
</button>
<button class="mode-btn" data-mode="split" aria-label="Show split comparison view" disabled>
<span data-i18n="modeSplit">Split</span>
</button>
</div>
<!-- Viewport Tools -->
<div class="viewer-tool-toggles" role="toolbar" aria-label="3D Viewport Controls">
<button class="tool-toggle-btn active" id="toggleErrors" data-i18n-title="toggleErrorsTooltip" title="Fehler-Highlighting (rote Kanten) ein/aus" aria-label="Toggle defect highlighting (red edges)" data-mode-only="repair">
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
<path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path>
<line x1="12" y1="9" x2="12" y2="13"></line>
<line x1="12" y1="17" x2="12.01" y2="17"></line>
</svg>
</button>
<button class="tool-toggle-btn" id="toggleWireframe" data-i18n-title="toggleWireframeTooltip" title="Drahtgittermodell (Wireframe) ein/aus" aria-label="Toggle wireframe mode" data-mode-only="repair">
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
<polygon points="12 2 2 7 12 12 22 7 12 2"></polygon>
<polyline points="2 17 12 22 22 17"></polyline>
<polyline points="2 12 12 17 22 12"></polyline>
</svg>
</button>
<button class="tool-toggle-btn" id="toggleOverhangs" data-i18n-title="toggleOverhangsTooltip" title="Überhang-Farbskala (Ampelsystem Grün/Gelb/Rot) ein/aus" aria-label="Toggle overhang angle overlay" data-mode-only="repair">
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
<path d="M4 4l16 16m0-8v8h-8"></path>
<path d="M4 12l8 8"></path>
</svg>
</button>
<button class="tool-toggle-btn active" id="toggleBed" data-i18n-title="toggleBedTooltip" title="Druckbett-Gitter ein/aus" aria-label="Toggle build bed grid">
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
<line x1="3" y1="9" x2="21" y2="9"></line>
<line x1="3" y1="15" x2="21" y2="15"></line>
<line x1="9" y1="3" x2="9" y2="21"></line>
<line x1="15" y1="3" x2="15" y2="21"></line>
</svg>
</button>
<button class="tool-toggle-btn tool-toggle-txt" id="toggleEco" type="button" aria-pressed="false" title="Sparmodus" aria-label="Sparmodus"><span aria-hidden="true">Eco</span></button>
<button class="tool-toggle-btn" id="btnResetCamera" data-i18n-title="resetCameraTooltip" title="Kamera zurücksetzen (Iso)" aria-label="Reset camera view to default">
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
<polyline points="1 4 1 10 7 10"></polyline>
<polyline points="23 20 23 14 17 14"></polyline>
<path d="M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"></path>
</svg>
</button>
</div>
</div>
<!-- On-Screen 3D Viewport Placement & Bed Alignment HUD (Bild 1 requirement) -->
<div class="viewer-placement-hud" id="viewerPlacementHud" role="toolbar" aria-label="3D Model Placement Controls" data-mode-only="repair">
<div class="placement-hud-header">
<svg viewBox="0 0 24 24" width="13" height="13" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
<path d="M12 3v13M5 10l7 7 7-7M4 21h16"></path>
</svg>
<span data-i18n="positioningTitle">Druckbett-Ausrichtung & Position</span>
</div>
<div class="placement-hud-actions">
<button type="button" class="btn-placement-hud" id="hudBtnDropToBed" data-i18n-title="btnDropToBedTooltip" title="Setzt das Modell mit dem tiefsten Punkt exakt auf die Druckbett-Oberfläche" aria-label="Drop model to build bed">
<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
<path d="M12 3v13M5 10l7 7 7-7M4 21h16"></path>
</svg>
<span data-i18n="btnDropToBed">Auf Bett absetzen</span>
</button>
<button type="button" class="btn-placement-hud" id="hudBtnCenterBed" data-i18n-title="btnCenterBedTooltip" title="Zentriert das Modell exakt in der Mitte des Druckbetts" aria-label="Center model on build bed">
<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
<circle cx="12" cy="12" r="9"></circle>
<line x1="12" y1="3" x2="12" y2="7"></line>
<line x1="12" y1="17" x2="12" y2="21"></line>
<line x1="3" y1="12" x2="7" y2="12"></line>
<line x1="17" y1="12" x2="21" y2="12"></line>
</svg>
<span data-i18n="btnCenterBed">Mittig zentrieren</span>
</button>
<div class="placement-hud-rotates">
<button type="button" class="btn-placement-hud rotate-btn" id="hudBtnRotateX" data-i18n="btnRotateX" title="90° X" aria-label="Rotate model 90 degrees around X axis">↻ 90° X</button>
<button type="button" class="btn-placement-hud rotate-btn" id="hudBtnRotateY" data-i18n="btnRotateY" title="90° Y" aria-label="Rotate model 90 degrees around Y axis">↻ 90° Y</button>
<button type="button" class="btn-placement-hud rotate-btn" id="hudBtnRotateZ" data-i18n="btnRotateZ" title="90° Z" aria-label="Rotate model 90 degrees around Z axis">↻ 90° Z</button>
</div>
</div>
</div>
<template data-mode-tpl><p class="split-legend" id="splitLegend" data-mode-only="split" hidden data-i18n="splLegend">Die Nummern sind Vorschläge zum Abtrennen (Klick wählt aus), keine Schnitte. Der Schnitt ist die blaue Fläche mit Pfeil.</p></template>
<!-- Bottom Watermark Indicator -->
<div class="viewer-watermark">
<span data-i18n="watermarkHint">Druckbett: 220 × 220 mm | Orbit: L-Klick | Pan: R-Klick | Zoom: Scroll</span>
</div>
<!-- Repair Hologram Scanner HUD Overlay & Laser Animation -->
<div class="repair-scan-overlay" id="repairScanOverlay" data-mode-only="repair">
<div class="scan-hud-card">
<div class="scan-hud-header">
<div class="scan-hud-spinner"></div>
<div>
<div class="scan-hud-title" role="heading" aria-level="3" data-i18n="autoRepairSectionTitle">Auto-Reparatur Engine</div>
<p class="scan-hud-step" id="scanStepText">Analyzing Mesh Topology...</p>
</div>
</div>
<div class="scan-progress-track">
<div class="scan-progress-bar" id="scanProgressBar"></div>
</div>
<div class="scan-hud-metrics">
<span id="scanMetricsLabel">Ear-Clipping & Normals</span>
<span id="scanPercentText">0%</span>
</div>
<div style="display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.08);">
<span id="scanTimeoutNotice" style="font-size: 0.72rem; color: var(--text-muted);">Max: <span id="scanWatchdogSec">60</span>s Watchdog</span>
<button type="button" class="btn btn-secondary btn-mini" id="btnCancelScan" style="border-color: #ef4444; color: #ef4444; padding: 4px 10px; font-size: 0.75rem;" data-i18n="btnCancelRepair">Abbrechen</button>
</div>
</div>
</div>
<!-- Overhang Traffic Light Heatmap Legend HUD (Visible when overhang overlay is active) -->
<div class="viewer-overhang-hud" id="viewerOverhangHud" style="display: none;" role="status" aria-label="Overhang-Farbskala Ampelsystem" data-mode-only="repair">
<div class="overhang-hud-title">
<span data-i18n="overhangHeatmapTitle">Überhang-Farbskala</span>
<span id="overhangHudThreshold" class="overhang-hud-badge">Limit: 45°</span>
</div>
<div class="overhang-hud-gradient" aria-hidden="true"></div>
<div class="overhang-hud-labels">
<span class="hud-safe" data-i18n="overhangSafeLabel">Steil genug</span>
<span class="hud-warn" data-i18n="overhangWarnLabel">Warnung</span>
<span class="hud-crit" data-i18n="overhangCritLabel">Support nötig</span>
</div>
</div>
<!-- Color legend (collapsed by default) -->
<details class="color-legend" id="colorLegend">
<summary><svg class="ic" aria-hidden="true" focusable="false"><use href="#i-palette"/></svg><span data-i18n="colorLegendTitle">Farben</span></summary>
<ul data-mode-only="repair">
<li><i class="cl-sw" style="--c:#38bdf8"></i><span data-i18n="clOriginal">Original</span></li>
<li><i class="cl-sw" style="--c:#10b981"></i><span data-i18n="clRepaired">Repariert</span></li>
<li><i class="cl-sw" style="--c:#ef4444"></i><span data-i18n="clOpen">Offene Kanten</span></li>
<li><i class="cl-sw" style="--c:#f59e0b"></i><span data-i18n="clNonManifold">Non-Manifold-Kanten</span></li>
<li><i class="cl-sw" style="--c:#f97316"></i><span data-i18n="clPatch">Eingesetzter Flicken</span></li>
<li><i class="cl-sw" style="--c:#f59e0b"></i><span data-i18n="clHoles">Loch: Orange wird gefüllt, Grau bleibt</span></li>
<li><i class="cl-sw" style="--c:linear-gradient(90deg,#22c55e,#f59e0b,#ef4444)"></i><span data-i18n="clOverhang">Überhang: Grün sicher, Rot braucht Stützen</span></li>
<li><i class="cl-sw" style="--c:linear-gradient(90deg,#38bdf8,#818cf8,#e879f9,#fb7185,#fbbf24)"></i><span data-i18n="clParts">Teile-Ansicht: jede Farbe ein loser Körper</span></li>
</ul>
<template data-mode-tpl><ul data-mode-only="split">
<li><i class="cl-sw" style="--c:#8fa3b8"></i><span data-i18n="clBase">Modell vor dem Schnitt</span></li>
<li><i class="cl-sw" style="--c:#22d3ee"></i><span data-i18n="clCut">Schnittebene</span></li>
<li><i class="cl-sw" style="--c:linear-gradient(90deg,#60a5fa 50%,#4ade80 50%)"></i><span data-i18n="clTilt">Ringe: Neigung der Ebene</span></li>
<li><i class="cl-sw" style="--c:#facc15"></i><span data-i18n="clConn">Dübel und Verbinder</span></li>
<li><i class="cl-sw" style="--c:linear-gradient(90deg,#38bdf8,#818cf8,#e879f9,#fb7185,#fbbf24)"></i><span data-i18n="clPartsSplit">Teile nach dem Schnitt</span></li>
</ul></template>
</details>
<!-- Mobile Touch & Scroll Helper Hint -->
<div class="viewer-touch-hint" id="viewerTouchHint" aria-hidden="true">
<span class="touch-hint-icon"><svg class="ic" aria-hidden="true" focusable="false"><use href="#i-hand"/></svg></span>
<span data-i18n="viewerTouchHint">1 Finger dreht • 2 Finger zoomen</span>
</div>
</div>
</section>
<!-- Mobile Segmented Tabs (Displayed only on mobile screens <= 768px) -->
<div class="mobile-dashboard-tabs" id="mobileDashboardTabs" role="tablist" data-i18n-aria="ariaDashTabs" aria-label="Dashboard Ansicht">
<button type="button" class="mobile-dash-tab-btn active" id="mobileTabBtnDiag" data-target="left-sidebar" role="tab" aria-selected="true" aria-controls="upload-section">
<svg viewBox="0 0 24 24" width="15" height="15" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
<circle cx="11" cy="11" r="8"></circle>
<line x1="21" y1="21" x2="16.65" y2="16.65"></line>
</svg>
<span data-i18n="tabModelDiagnosis">Model-Diagnose</span>
</button>
<button type="button" class="mobile-dash-tab-btn" id="mobileTabBtnTools" data-target="right-sidebar" role="tab" aria-selected="false" aria-controls="tools-section">
<svg viewBox="0 0 24 24" width="15" height="15" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
<path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"></path>
</svg>
<span data-i18n="tabToolsAndSettings">Werkzeuge & Reparatur</span>
</button>
</div>
<!-- Sektion 1: Upload, Status & Diagnostics -->
<section id="upload-section" class="bento-card left-sidebar" aria-labelledby="upload-heading">
<div class="bento-header">
<h2 id="upload-heading" class="bento-title">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path>
<polyline points="14 2 14 8 20 8"></polyline>
</svg>
<span data-i18n="uploadHeading" data-mode-only="repair">STL-Datei hochladen & prüfen</span>
<template data-mode-tpl><span data-i18n="splitUploadHeading" data-mode-only="split">Modell laden & Teile planen</span></template>
</h2>
</div>
<div class="bento-content">
<!-- Dropzone -->
<div class="dropzone-container" id="dropzone" role="button" tabindex="0" data-i18n-aria="ariaDropzone" aria-label="3D-Datei ablegen oder auswählen">
<div class="dropzone-icon">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path>
<polyline points="17 8 12 3 7 8"></polyline>
<line x1="12" y1="3" x2="12" y2="15"></line>
</svg>
</div>
<div class="dropzone-text">
<strong data-i18n="dropzoneTitle" style="font-size: 0.9rem; color: var(--text-primary);">Datei ablegen oder hier klicken</strong>
<p data-i18n="dropzoneSubtitle">STL, OBJ oder 3MF per Drag & Drop</p>
</div>
<div class="dropzone-tags">
<span class="tag-badge">.STL</span>
<span class="tag-badge">.OBJ</span>
<span class="tag-badge">.3MF</span>
</div>
</div>
<input type="file" id="fileInput" accept=".stl,.obj,.3mf" style="display: none;" aria-label="Upload 3D model file (STL, OBJ, 3MF)">
<!-- SPLIT MODE: suggestions, cuts, parts -->
<template data-mode-tpl><div class="split-panel" id="splitLeft" data-mode-only="split">
<div class="split-tabs" id="splitTabs" role="tablist" aria-label="Schritte"><button type="button" role="tab" aria-selected="true" data-tab="cut"><span class="st-n" aria-hidden="true">1</span><span class="st-t"><span class="st-l" data-i18n="splTabCut">Schneiden</span><span class="st-r" id="splRail_cut"></span></span></button><button type="button" role="tab" aria-selected="false" data-tab="join"><span class="st-n" aria-hidden="true">2</span><span class="st-t"><span class="st-l" data-i18n="splTabJoin">Verbinden</span><span class="st-r" id="splRail_join"></span></span></button><button type="button" role="tab" aria-selected="false" data-tab="export"><span class="st-n" aria-hidden="true">3</span><span class="st-t"><span class="st-l" data-i18n="splTabExport">Export</span><span class="st-r" id="splRail_export"></span></span></button></div>
<div class="split-block">
<h3 data-i18n="splPartsTitle">Teile</h3>
<ul class="split-list" id="splitPartList"></ul>
</div>
<p class="split-alpha" data-i18n="splAlpha">Early Alpha: Schnitt und Verbinder sind experimentell. Prüfe jedes Teil, bevor du druckst.</p>
</div></template>
<!-- Processing Pipeline Status Indicator -->
<div class="processing-pipeline" aria-label="Processing pipeline status" data-mode-only="repair">
<div class="pipeline-step active" id="pipeUpload"><span data-i18n="pipeUpload">Upload</span></div>
<span class="pipeline-arrow">→</span>
<div class="pipeline-step" id="pipeAnalyze"><span data-i18n="pipeAnalyze">Analyse</span></div>
<span class="pipeline-arrow">→</span>
<div class="pipeline-step" id="pipeRepair"><span data-i18n="pipeRepair">Reparatur</span></div>
<span class="pipeline-arrow">→</span>
<div class="pipeline-step" id="pipeExport"><span data-i18n="pipeExport">Slicer-Ready</span></div>
</div>
<!-- Progress Bar -->
<div class="progress-bar-container" id="progressBar" data-mode-only="repair">
<div class="progress-bar-fill" style="width: 100%;"></div>
</div>
<!-- File Info Badge -->
<div class="file-info-badge" id="fileBadge" style="margin-top: 12px; display: none;">
<span class="file-info-name" id="fileNameText"></span>
<span class="file-info-size" id="fileSizeText"></span>
</div>
<!-- 3MF with several objects: pick one -->
<div style="margin: 12px 0;" id="objectBlock" hidden>
<label class="split-field"><span data-i18n="objPickTitle">Objekte in der Datei</span>
<select class="select-input" id="objectSelect" data-i18n-aria="ariaObjectSel" aria-label="Objekt der 3MF-Datei wählen"></select>
</label>
<p class="split-hint" data-i18n="objPickHint">Die 3MF enthält mehrere Objekte. Wähle eines, um es einzeln zu reparieren oder zu teilen. Ein Wechsel lädt das Objekt neu, Reparatur und Schnitte gehen dabei verloren.</p>
</div>
<!-- Sample Models Selection -->
<div style="margin: 12px 0;" id="sampleBlock">
<button type="button" class="btn btn-primary" id="btnLoadDemo" style="width:100%;margin-bottom:8px"><svg class="ic" aria-hidden="true" focusable="false"><use href="#i-package"/></svg> <span data-i18n="demoLoad">Demo laden</span></button>
<select class="select-input" id="sampleModelSelect" aria-label="Select sample 3D model">
<option value="" disabled selected data-i18n="sampleSelectDefault">Beispiel-Modell testen...</option>
<option value="brokenCube" data-i18n="sampleBrokenCube">Würfel mit Loch (Non-Manifold Test)</option>
<option value="splitCube" data-i18n="sampleSplitCube">Beispiel: Würfel 41 mm (Teilen)</option>
<option value="splitBoat" data-i18n="sampleSplitBoat">Beispiel: Boot mit Schornstein (Teilen)</option>
<option value="splitCorner" data-i18n="sampleSplitCorner">Beispiel: L-Ecke 90° (Eckverbindung)</option>
<option value="cylinder" data-i18n="sampleCylinder">Offener Zylinder (Boundary Test)</option>
<option value="overlap" data-i18n="sampleOverlap">Überlappende Teile (Vereinigen-Test)</option>
<option value="torus" data-i18n="sampleTorus">Perfekter Torus (Geschlossener Manifold)</option>
</select>
</div>
<!-- 3D Printability Verdict Card -->
<div class="printability-card warning" id="printabilityCard" style="min-height: 140px;" data-mode-only="repair">
<div class="printability-header">
<div class="printability-badge-wrapper">
<span class="printability-badge warning" id="printabilityBadge">
<svg viewBox="0 0 20 20" fill="currentColor" width="15" height="15" id="printabilityIcon">
<path fill-rule="evenodd" d="M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z" clip-rule="evenodd"/>
</svg>
<span id="printabilityBadgeText" data-i18n="printOptimizationTitle">Optimierungsempfehlung</span>
</span>
</div>
<p class="printability-desc" id="printabilityDescText" data-i18n="printOptimizationDesc">Das Modell wurde analysiert. Empfehlungen basieren auf Geometrie und Druckbarkeit.</p>
</div>
<div class="printability-reasons-list" id="printabilityReasonsList">
<div class="printability-reason-item warning">
<span class="reason-dot"></span>
<span data-i18n="reasonHolesFound">1 offene Loch / Randkante erkannt</span>
</div>
</div>
</div>
<!-- Timeout / CAD Recommendation Alert Box (Hidden by default) -->
<div class="alert-box alert-warning" id="timeoutNoticeBox" style="display: none; margin: 12px 0; border: 1.5px solid #f59e0b; background: rgba(245, 158, 11, 0.08); border-radius: var(--radius-md); padding: 12px;" data-mode-only="repair">
<div style="display: flex; align-items: flex-start; gap: 10px;">
<span style="font-size: 1.3rem; line-height: 1;"><svg class="ic" aria-hidden="true" focusable="false"><use href="#i-timer"/></svg></span>
<div style="flex: 1;">
<strong id="timeoutNoticeTitle" style="color: #f59e0b; font-size: 0.85rem;" data-i18n="timeoutAlertTitle">Reparatur-Zeitlimit erreicht</strong>
<p id="timeoutNoticeDesc" style="font-size: 0.76rem; color: var(--text-secondary); margin: 4px 0 6px 0;" data-i18n="timeoutAlertDesc">Die automatische Reparatur wurde gestoppt, um ein Einfrieren des Browsers zu verhindern.</p>
<div style="font-size: 0.73rem; color: var(--text-muted); background: rgba(0,0,0,0.3); padding: 6px 8px; border-radius: 6px; border-left: 3px solid #f59e0b;">
<div data-i18n="timeoutAlertCause">Ursache: Das Modell weicht zu stark von einem geschlossenen Manifold-Volumenkörper ab (z. B. offenes CAD-Flächenmodell oder unvollständiger 3D-Scan).</div>
<div style="margin-top: 4px;" data-i18n="timeoutAlertSolution">Empfehlung: Korrigiere die Quelldatei bitte direkt in deiner CAD-Software (Fusion 360, Blender, SolidWorks) und exportiere sie erneut als geschlossenen Solid.</div>
</div>
</div>
</div>
</div>
<!-- Primary Metrics Grid -->
<div class="metrics-grid" data-mode-only="repair">
<div class="metric-box">
<span class="metric-label" data-i18n="metricVertices">Vertices</span>
<span class="metric-value" id="metricVertices">0</span>
</div>
<div class="metric-box">
<span class="metric-label" data-i18n="metricTriangles">Dreiecke (Facets)</span>
<span class="metric-value" id="metricTriangles">0</span>
</div>
<div class="metric-box">
<span class="metric-label" data-i18n="metricVolume">Volumen (cm³)</span>
<span class="metric-value" id="metricVolume">0.00 cm³</span>
</div>
<div class="metric-box">
<span class="metric-label" data-i18n="metricArea">Oberfläche (cm²)</span>
<span class="metric-value" id="metricArea">0.00 cm²</span>
</div>
</div>
<!-- Bounding Box Dimensions -->
<div class="metric-box" style="margin-bottom: 12px;" data-mode-only="repair">
<span class="metric-label" data-i18n="dimensionsLabel">Abmessungen (X × Y × Z in mm)</span>
<div style="display: flex; gap: 12px; margin-top: 4px; font-family: var(--font-mono); font-weight: 700;">
<span>X: <span id="metricDimX" style="color: var(--accent-cyan);">0</span> mm</span>
<span>Y: <span id="metricDimY" style="color: var(--accent-cyan);">0</span> mm</span>
<span>Z: <span id="metricDimZ" style="color: var(--accent-cyan);">0</span> mm</span>
</div>
</div>
<!-- Detailed Issue Inspection List -->
<div class="issues-container" data-mode-only="repair">
<div class="issue-item success" id="issueOpenEdges">
<span class="issue-name" data-i18n="issueOpenEdges">Löcher / Offene Kanten</span>
<span class="issue-count">0</span>
</div>
<div class="issue-item success" id="issueNonManifold">
<span class="issue-name" data-i18n="issueNonManifold">Non-Manifold Kanten</span>
<span class="issue-count">0</span>
</div>
<div class="issue-item success" id="issueInverted">
<span class="issue-name" data-i18n="issueInverted">Inkonsistente Normalen</span>
<span class="issue-count">0</span>
</div>
<div class="issue-item success" id="issueDegenerates">
<span class="issue-name" data-i18n="issueDegenerates">Degenerierte Dreiecke</span>
<span class="issue-count">0</span>
</div>
<div class="issue-item success" id="issueShells">
<span class="issue-name" data-i18n="issueShells">Getrennte Teile (Shells)</span>
<span class="issue-count">1</span>
</div>
<div class="issue-item success" id="issueUnitScale">
<span class="issue-name" data-i18n="issueUnitScale">Einheit & Skalierung</span>
<span class="issue-count">1:1 (mm)</span>
</div>
<div class="issue-item success" id="issueOverhangs">
<span class="issue-name" data-i18n="issueOverhangs">Überhänge & Support</span>
<span class="issue-count" data-i18n="overhangNone">0% (Kein Support nötig)</span>
</div>
</div>
</div>
</section>
<!-- RIGHT SIDEBAR: Repair Actions, Material & Exporter -->
<section id="tools-section" class="bento-card right-sidebar" data-i18n-aria="ariaToolsSection" aria-label="Reparatur- und Optimierungswerkzeuge">
<div class="bento-header">
<h2 class="bento-title">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"></path>
</svg>
<span class="tt-repair" data-i18n="repairEngineTitle" data-mode-only="repair">Reparatur & Export</span>
<span class="tt-shape" data-i18n="shapeToolsTitle" data-mode-only="repair" hidden>Bearbeiten</span>
<template data-mode-tpl><span data-i18n="splitToolsTitle" data-mode-only="split">Teilen & Verbinden</span></template>
</h2>
</div>
<div class="bento-content">
<!-- SPLIT MODE: cut, joint, export -->
<template data-mode-tpl><div class="split-panel" id="splitRight" data-mode-only="split" data-active="cut" data-jm="auto">
<div class="split-msg" id="splitMsg" role="status" aria-live="polite" hidden></div>
<div class="split-alert" id="splitPending" role="alert" hidden>
<strong id="splitPendingT"></strong>
<p id="splitPendingX"></p>
<button type="button" class="btn btn-primary" id="btnSplitPendingBack"></button>
</div>
<div class="split-guide" id="splitGuide" role="status" aria-live="polite">
<p class="split-guide-title" id="splitGuideTitle"></p>
<p class="split-guide-text" id="splitGuideText"></p>
<button type="button" class="btn btn-primary" id="btnSplitGuide" hidden></button>
<button type="button" class="btn btn-secondary" id="btnSplitGuideMore" hidden></button>
<button type="button" class="btn btn-secondary" id="btnSplitDiscardPlane" data-i18n="splDiscardPlane" hidden>Neue Ebene verwerfen</button>
<p class="split-guide-note" id="splitGuideNote" hidden></p>
<details class="split-details" id="splitFitHow" open hidden>
<summary data-i18n="splG_fitHow_s">So druckst du den Test</summary>
<p class="split-hint" data-i18n="splG_fitHow_x">Der Test ist eine kleine Platte mit sechs Löchern (Ziffern 1 bis 6 vorne eingraviert) und zwei Zapfen. Stelle im Slicer die Maßkompensation XY (Kontur außen und innen / Loch) auf 0, sonst misst du den Ausgleich mit. Drucke mit der Düse und Schichthöhe, die du später auch nimmst. Empfohlen: 2 Wandlinien, je 2 obere und untere Schichten, 10 % Gitter-Füllung.</p>
</details>
<div class="split-fit split-fit3" id="splitGuideChips" role="group" hidden>
<button type="button" class="btn btn-secondary" data-clr="0.05">1 · 0,05</button>
<button type="button" class="btn btn-secondary" data-clr="0.1">2 · 0,10</button>
<button type="button" class="btn btn-secondary" data-clr="0.15">3 · 0,15</button>
<button type="button" class="btn btn-secondary" data-clr="0.2">4 · 0,20</button>
<button type="button" class="btn btn-secondary" data-clr="0.25">5 · 0,25</button>
<button type="button" class="btn btn-secondary" data-clr="0.3">6 · 0,30</button>
</div>
<button type="button" class="btn btn-secondary" id="btnSplitGuideFit" hidden></button>
<button type="button" class="btn btn-secondary" id="btnSplitGuideHave" hidden></button>
<button type="button" class="btn btn-secondary" id="btnSplitGuideSkip" hidden></button>
<details class="split-details" id="splitFitDet" hidden>
<summary id="splitFitSum"></summary>
<div class="split-fitbox" id="splitFitBox">
<button type="button" class="btn btn-secondary" id="btnSplitFitTest" data-i18n="splTestBtn">Passungstest laden (STL)</button>
<p class="split-fit-q" data-i18n="splTestPick">Welches Loch passt?</p>
<div class="split-fit split-fit3" role="group" data-i18n-aria="splTestPick" aria-label="Welches Loch passt?">
<button type="button" class="btn btn-secondary" data-clr="0.05">1 · 0,05</button>
<button type="button" class="btn btn-secondary" data-clr="0.1">2 · 0,10</button>
<button type="button" class="btn btn-secondary" data-clr="0.15">3 · 0,15</button>
<button type="button" class="btn btn-secondary" data-clr="0.2">4 · 0,20</button>
<button type="button" class="btn btn-secondary" data-clr="0.25">5 · 0,25</button>
<button type="button" class="btn btn-secondary" data-clr="0.3">6 · 0,30</button>
</div>
</div>
</details>
<p class="split-hint" id="splitFitMsg" role="status" aria-live="polite"></p>
</div>
<section class="split-step" data-tab="cut" aria-labelledby="splStep1H">
<h3 id="splStep1H" data-i18n="splStep1">Schnitt setzen</h3>
<div class="split-block" id="splitInfoBlock">
<h3 data-i18n="splInfoTitle">Objektanalyse</h3>
<p class="split-hint" id="splitInfo" aria-live="polite" data-i18n="splInfoNone">Noch kein Modell geladen.</p>
</div>
<div class="split-block" id="splitSuggestBlock">
<h3 data-i18n="splSuggestTitle">Erkannte Teile</h3>
<p class="split-callout" id="splitOrganicHint" data-i18n="splOrganicHint" hidden>Bei organischen Modellen (Figuren, Haare, Tiere, Gelände) lohnt sich die Analyse meist nicht. Lege den Schnitt besser selbst: Fläche und Lage bestimmst du unten per Hand, am besten an einer schmalen Stelle wie Hals oder Handgelenk.</p>
<label class="split-check"><input type="checkbox" id="splitSuggestOn"> <span data-i18n="splSuggestToggle">Vorschläge anzeigen</span></label>
<p class="split-hint" id="splitSuggestHint" data-i18n="splSuggestHint">Stellen mit kleiner Schnittfläche und Anbauteile (Schornstein, Führerhaus, Ohr, Auge …), die sich als Ganzes abtrennen lassen.</p>
<ol class="split-list" id="splitSuggestList"></ol>
</div>
<p class="split-callout is-parked-hint" id="splitParkedHint" data-i18n="splParkedHint" hidden>Diese Regler gehören zu einer neuen Ebene. Sie sind aus, solange kein weiterer Schnitt gesetzt wird: Wähle „Weiteren Schnitt setzen“ oder bearbeite einen Schnitt in der Liste.</p>
<span id="splitPlaneCtlSlot" hidden></span>
<div id="splitPlaneCtl">
<p class="split-axis-q" id="splitAxisQ" data-i18n="splAxisQ">Der Schnitt trennt:</p>
<div class="split-seg" id="splitAxisSeg" role="radiogroup" data-i18n-aria="splAxisLabel" aria-label="Achse">
<button type="button" role="radio" aria-checked="false" data-axis="0" data-i18n="splAxisX">Links | rechts</button>
<button type="button" role="radio" aria-checked="true" class="active" data-axis="1" data-i18n="splAxisY">Oben | unten</button>
<button type="button" role="radio" aria-checked="false" data-axis="2" data-i18n="splAxisZ">Vorn | hinten</button>
</div>
<button type="button" class="btn btn-secondary btn-mini" id="btnSplitCorner" data-i18n="splCornerBtn">Ecke finden (Gehrung)</button>
<label class="split-field"><span data-i18n="splPosLabel">Position (mm)</span>
<input type="number" id="splitPos" step="0.1" inputmode="decimal" placeholder="–"><small class="split-bounds" id="splitPosBounds" aria-live="polite"></small></label>
<input type="range" id="splitPosRange" aria-label="Position (mm)" data-i18n-aria="splPosLabel" min="0" max="100" step="0.1" value="50">
<details class="split-details split-fine" id="splitFine">
<summary data-i18n="splFineSummary">Feinjustieren: Neigung und Position</summary>
<div class="split-tilt">
<label class="split-field"><span><span id="splitTiltULabel" data-i18n="splTiltGeneric">Neigung (°)</span> <output id="splitTiltUVal">0°</output></span>
<input type="range" id="splitTiltU" aria-labelledby="splitTiltULabel" min="-90" max="90" step="0.5" value="0"></label>
<label class="split-field"><span><span id="splitTiltVLabel" data-i18n="splTiltGeneric">Neigung (°)</span> <output id="splitTiltVVal">0°</output></span>
<input type="range" id="splitTiltV" aria-labelledby="splitTiltVLabel" min="-90" max="90" step="0.5" value="0"></label>
<div class="split-reset-row"><button type="button" class="btn btn-secondary btn-mini" id="btnSplitTiltReset" data-i18n="splTiltReset" disabled>Neigung auf 0°</button><button type="button" class="btn btn-secondary btn-mini" id="btnSplitPosReset" data-i18n="splPosReset" disabled>Position in die Mitte</button></div>
</div>
<p class="split-hint" data-i18n="splTiltHint">Mit der Neigung legst du die Ebene schräg, zum Beispiel durch ein schiefes Dach.</p>
</details>
</div>
<details class="split-details split-fine" id="splitSecDet">
<summary data-i18n="splSecSummary">Schnittbild und Materialverlauf</summary>
<figure class="split-section">
<figcaption data-i18n="splSectionTitle">Schnittbild an dieser Stelle</figcaption>
<svg id="splitSection" viewBox="0 0 300 190" role="img" aria-label="Querschnitt des Modells an der gewählten Ebene" data-i18n-aria="splSectionAria" preserveAspectRatio="xMidYMid meet"></svg>
<p class="split-hint" id="splitSectionInfo" aria-live="polite"></p>
</figure>
<details class="split-details">
<summary data-i18n="splProfileSummary">Wo ist wenig Material? (Verlauf)</summary>
<figure class="split-chart">
<figcaption data-i18n="splChartTitle">Querschnittsfläche entlang der Schnittrichtung</figcaption>
<svg id="splitChart" viewBox="0 0 300 96" role="img" aria-label="Diagramm der Querschnittsfläche entlang der Schnittrichtung mit markierten Vorschlägen" data-i18n-aria="splChartAria" preserveAspectRatio="none"></svg>
</figure>
</details>
<p class="split-hint" data-i18n="splChartHint">Tiefe Stellen = kleine Schnittfläche. Klicke ins Diagramm, um den Schnitt dorthin zu legen.</p>
</details>
<details class="split-details" open>
<summary data-i18n="splBoundSummary">Schnittbereich begrenzen (Größe & Position)</summary>
<label class="split-check"><input type="checkbox" id="splitBound"> <span data-i18n="splBound">Nur das Teil auf der Ebene ausschneiden</span></label>
<label class="split-field"><span data-i18n="splBoundSide">Das Teil liegt</span>
<select id="splitBoundSide" class="select-input"><option value="0" data-i18n="splSideAuto">automatisch (kleinere Seite)</option><option value="1" data-i18n="splSideUp">oberhalb der Ebene</option><option value="-1" data-i18n="splSideDown">unterhalb der Ebene</option></select></label>
<p class="split-hint" data-i18n="splBoundHint">Schneidet nur das zusammenhängende Stück aus, das auf der Ebene steht (z. B. das Führerhaus). Alles andere auf derselben Seite, etwa der Bug neben der Kabine, bleibt beim Unterteil.</p>
</details>
<div class="split-adjust" id="splitCutAdjust" hidden>
<h4 data-i18n="splAdjTitle">Schnittkörper anpassen</h4>
<label class="split-field"><span><span data-i18n="splAdjScale">Größe</span> <output id="splitAdjScaleV">100 %</output></span><input type="range" id="splitAdjScale" min="20" max="400" step="1" value="100"></label>
<label class="split-field"><span><span data-i18n="splAdjU">Verschieben 1</span> <output id="splitAdjUV">0 mm</output></span><input type="range" id="splitAdjU" min="-150" max="150" step="0.5" value="0"></label>
<label class="split-field"><span><span data-i18n="splAdjV">Verschieben 2</span> <output id="splitAdjVV">0 mm</output></span><input type="range" id="splitAdjV" min="-150" max="150" step="0.5" value="0"></label>
<p class="split-hint" data-i18n="splAdjHint3d">Im 3D-Bild: Fläche ziehen = verschieben, Mausrad darüber = Größe.</p>
<button type="button" class="btn btn-secondary btn-mini" id="btnSplitAdjReset" data-i18n="splAdjReset">Zurücksetzen</button>
</div>
<label class="split-check" id="splitOnlyRow" hidden><input type="checkbox" id="splitOnlyPart"> <span id="splitOnlyText"></span></label>
<p class="split-hint" id="splitOnlyHint" hidden></p>
<button type="button" class="btn btn-primary" id="btnSplitApply" data-i18n="splApplyCut">Schnitt anwenden</button>
<button type="button" class="btn btn-secondary" id="btnSplitCancelEdit" data-i18n="splEditCancel" hidden>Bearbeitung abbrechen</button>
<div class="split-block">
<h3 data-i18n="splCutsTitle">Schnitte</h3>
<p class="split-callout" id="splitCutHint" data-i18n="splCutHint" hidden>Zum Verschieben oder Drehen eines Schnitts klicke bei ihm auf „Bearbeiten“. Löschen geht mit „Löschen“ oder der Entf-Taste.</p>
<ul class="split-list" id="splitCutList"></ul>
<button type="button" class="btn btn-danger btn-mini" id="btnSplitReset" data-i18n="splResetAll">Alle Schnitte verwerfen</button>
</div>
</section>
<details class="split-details split-shape" data-tab="cut">
<summary id="splShapeH" data-i18n="splShapeTitle">Form anfügen (optional)</summary>
<div class="split-row">
<label class="split-field"><span data-i18n="splShapeType">Form</span>