Display-Modes: 3D-Template + Auto-Assign + Material/Raytracing-Slots

- Neues Template rhino/templates/dossier_3d.ini fuer perspektivische Views
- Registry-Loop in oberleiste.py generalisiert (Plan + 3D + Material +
  Raytracing) — Material/Raytracing skippen wenn kein Template vorhanden,
  um Cycles-Pipeline-Clone-Crash zu vermeiden
- Guid-Replace praezisiert: nur Section-Header-Guid, nie PipelineId
- Plan-spezifische ini-Patches auf target_name=="Dossier Plan" gegated
- Auto-Assign in startup.py: Parallel-Viewports -> Plan, Perspective -> 3D,
  einmal-pro-Doc via doc.Strings-Flag (User-Overrides bleiben)
- schnitte.activate_schnitt setzt Dossier Plan explizit (Hatches auch in
  Schnittperspektive sichtbar)
- GestaltungApp Section-Block neu strukturiert: PenBlock fuer 3D als 'Fill'
  innerhalb der Section, Solid-Fill-Toggle entfernt (war Duplikat)
This commit is contained in:
2026-05-26 18:26:49 +02:00
parent 13a5e1eb7a
commit 02a00a9b4a
5 changed files with 497 additions and 59 deletions
+13 -24
View File
@@ -485,28 +485,10 @@ function SectionBlock({ sel }) {
setter={setSectionStyle}
/>
{/* Hintergrund (Solid-Fill hinter dem Hatch-Pattern) */}
{!isLayerSource && enabled && (
<>
<SectionHead title="Solid-Fill" />
<div style={{ padding: '0 14px 12px', display: 'flex', flexDirection: 'column', gap: 6 }}>
<div style={{ display: 'flex', alignItems: 'center', gap: 6 }}>
<BarToggle label={backgroundColor ? 'Solid' : 'Transparent'}
icon={backgroundColor ? 'format_color_fill' : 'check_box_outline_blank'}
active={!!backgroundColor}
onClick={() => callSetter({
backgroundColor: backgroundColor ? null : '#ffffff'
})} />
</div>
{backgroundColor && (
<ColorBar
color={backgroundColor}
onChange={(c) => callSetter({ backgroundColor: c })}
/>
)}
</div>
</>
)}
{/* Fill — Objekt-Pen (Color/LW/Linetype) als 'Fill' weil dessen
Color in Plan-Mode visuell die Schnittflaeche fuellt. */}
<SectionHead title="Fill" />
<PenBlock sel={sel} />
</>
}
@@ -565,8 +547,15 @@ export default function GestaltungApp() {
</>
)}
<SectionHead title={penLabel} />
<PenBlock sel={sel} />
{/* PenBlock fuer 2D/Curves oben, fuer 3D innerhalb der
SectionBlock als 'Fill' weiter unten (User-Erfahrung:
ObjektFarbe fuehlt sich wie Section-Fill an). */}
{kind !== '3d' && (
<>
<SectionHead title={penLabel} />
<PenBlock sel={sel} />
</>
)}
{showSection && (
<SectionBlock sel={sel} />