ResourceManager: Master-Detail-Editoren fuer Schraffur- und Linien-Typen

Schraffuren- und Linien-Tab im Master-Detail-Layout (DOSSIER-Vorbild): Liste
links mit Live-SVG-Thumbnail + Name, Detail rechts mit grosser Live-Vorschau,
Inline-Rename, Trash-Delete, Typ-Umschalter. Schraffur: Vektor (parallel/
zufaellig) oder Bild (Upload -> Data-URL, scaleX/scaleY/rotation); kein
Farbfeld mehr (Farbe kommt von Bauteil/Attribut). Linie: Strich oder Zickzack
(Amplitude/Wellenlaenge). Bauteil-Tabelle: Vordergrund + Hintergrund statt
einer Farbe. Neuer eigenstaendiger Vorschau-Helfer ui/hatchPreview.tsx (kein
Renderer-Import).
This commit is contained in:
2026-07-04 00:41:09 +02:00
parent 0613bb596b
commit f0e777efc5
5 changed files with 908 additions and 186 deletions
+20
View File
@@ -496,6 +496,10 @@ export const en: Record<TranslationKey, string> = {
"resources.col.prio.hint": "Higher priority runs through at the join",
"resources.col.texture": "Texture",
"resources.col.material": "Material",
"resources.col.foreground": "Foreground",
"resources.col.foreground.hint": "Color of the pattern/hatch lines (foreground)",
"resources.col.background": "Background",
"resources.col.background.hint": "Fill color (poché/background)",
"resources.delete.component": "Delete component “{name}”",
// 3D material (PBR) — built-in library + upload.
@@ -548,6 +552,22 @@ export const en: Record<TranslationKey, string> = {
"resources.lineStyle.none": "— none —",
"resources.delete.hatch": "Delete hatch “{name}”",
// Hatch/line type (master-detail editor).
"resources.field.type": "Type",
"resources.field.lines": "Lines",
"resources.field.image": "Image",
"resources.field.scaleX": "Scale X",
"resources.field.scaleY": "Scale Y",
"resources.field.rotation": "Rotation °",
"resources.field.amplitude": "Amplitude",
"resources.field.wavelength": "Wavelength",
"resources.hatchKind.vector": "Vector",
"resources.hatchKind.image": "Image",
"resources.lines.parallel": "Parallel",
"resources.lines.random": "Random",
"resources.lineKind.dash": "Dash",
"resources.lineKind.zigzag": "Zigzag",
"pattern.none": "None",
"pattern.solid": "Solid",
"pattern.insulation": "Insulation",