Initial commit — Dossier Rhino 8 Plugin

OpenStudio-Suite Architektur-Plugin fuer Rhino 8 (Mac):
- Smart-Elemente: Wand, Decke, Dach (Pult/Sattel/Walm/Mansarde),
  Oeffnungen (Fenster/Tueren mit Rahmen + Sims + Glas + Fluegel),
  Treppen (gerade · L · Wendel mit Schrittmass-Validierung)
- Live-Previews mit Step-Lines + Soll-Range-Clamping
- Bidirektionale Selection-Sync zwischen Source-Linie und Volume
- Geschoss-/Ebenen-Verwaltung mit OKFF-Persistenz
- Layouts mit PDF-Export
- Ausschnitte / Massstab / Override-Regeln
- Petrol-Gruen Theme (Rapport-konform)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-16 04:27:41 +02:00
commit 9dc191be4f
145 changed files with 32629 additions and 0 deletions
+231
View File
@@ -0,0 +1,231 @@
:root {
--bg-base: #1c1c1e;
--bg-panel: #2a2a2c;
--bg-elev: #34343a;
--border: #3a3a3e;
--text: #eaeaea;
--text-muted: #8a8a8e;
--accent: #5a9e5a;
--accent-hover: #6cb56c;
--danger: #c87050;
--font: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
--mono: 'DM Mono', 'Menlo', monospace;
}
* { box-sizing: border-box; }
html, body, #root {
margin: 0;
padding: 0;
height: 100%;
background: var(--bg-base);
color: var(--text);
font-family: var(--font);
font-size: 13px;
-webkit-font-smoothing: antialiased;
user-select: none;
}
button {
font-family: inherit;
font-size: inherit;
background: var(--bg-elev);
color: var(--text);
border: 1px solid var(--border);
border-radius: 6px;
padding: 6px 12px;
cursor: pointer;
transition: background 0.1s ease;
}
button:hover:not(:disabled) { background: #404048; }
button:disabled { opacity: 0.4; cursor: not-allowed; }
button.primary {
background: var(--accent);
border-color: var(--accent);
color: white;
}
button.primary:hover:not(:disabled) { background: var(--accent-hover); }
input[type="text"] {
font-family: inherit;
font-size: inherit;
background: var(--bg-base);
color: var(--text);
border: 1px solid var(--border);
border-radius: 6px;
padding: 6px 10px;
outline: none;
}
input[type="text"]:focus { border-color: var(--accent); }
.app {
display: flex;
flex-direction: column;
height: 100vh;
}
.topbar {
display: flex;
align-items: center;
gap: 12px;
padding: 14px 20px;
border-bottom: 1px solid var(--border);
background: var(--bg-panel);
}
.topbar .brand {
font-family: var(--mono);
font-size: 12px;
font-weight: 600;
letter-spacing: 0.12em;
color: var(--text-muted);
}
.topbar .version {
font-family: var(--mono);
font-size: 10px;
color: var(--text-muted);
opacity: 0.6;
}
.topbar .spacer { flex: 1; }
.main { flex: 1; overflow-y: auto; padding: 20px; }
.section-title {
font-size: 11px;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--text-muted);
margin: 0 0 12px 0;
}
.project-list {
display: flex;
flex-direction: column;
gap: 8px;
}
.project-card {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 14px;
background: var(--bg-panel);
border: 1px solid var(--border);
border-radius: 8px;
cursor: pointer;
transition: border-color 0.1s ease;
}
.project-card:hover { border-color: #555; }
.project-card .name {
font-weight: 500;
margin-bottom: 2px;
}
.project-card .path {
font-family: var(--mono);
font-size: 11px;
color: var(--text-muted);
}
.project-card .meta {
font-size: 11px;
color: var(--text-muted);
}
.empty {
padding: 40px;
text-align: center;
color: var(--text-muted);
font-size: 12px;
}
.module-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.module-row {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 10px 12px;
background: var(--bg-panel);
border: 1px solid var(--border);
border-radius: 6px;
cursor: pointer;
}
.module-row.locked { opacity: 0.7; cursor: default; }
.module-row .check {
flex-shrink: 0;
width: 16px;
height: 16px;
border-radius: 4px;
border: 1.5px solid var(--border);
background: var(--bg-base);
display: flex;
align-items: center;
justify-content: center;
font-size: 11px;
color: white;
}
.module-row.active .check { background: var(--accent); border-color: var(--accent); }
.module-row.locked .check { background: #555; border-color: #555; }
.module-row .info { flex: 1; min-width: 0; }
.module-row .info .name { font-weight: 500; margin-bottom: 2px; }
.module-row .info .desc { font-size: 11px; color: var(--text-muted); line-height: 1.4; }
.module-row .info .dep {
font-family: var(--mono);
font-size: 10px;
color: var(--text-muted);
margin-top: 4px;
}
.dialog-bg {
position: fixed; inset: 0;
background: rgba(0,0,0,0.6);
display: flex; align-items: center; justify-content: center;
z-index: 10;
}
.dialog {
width: 600px; max-width: 90vw;
max-height: 90vh;
background: var(--bg-base);
border: 1px solid var(--border);
border-radius: 10px;
display: flex;
flex-direction: column;
overflow: hidden;
}
.dialog header {
padding: 14px 18px;
border-bottom: 1px solid var(--border);
font-weight: 500;
}
.dialog .body {
padding: 18px;
flex: 1;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 14px;
}
.dialog .row {
display: flex;
flex-direction: column;
gap: 6px;
}
.dialog .row label {
font-size: 11px;
color: var(--text-muted);
letter-spacing: 0.05em;
text-transform: uppercase;
}
.dialog footer {
padding: 12px 18px;
border-top: 1px solid var(--border);
display: flex;
justify-content: flex-end;
gap: 8px;
}
.file-picker {
display: flex;
gap: 8px;
align-items: center;
}
.file-picker input { flex: 1; font-family: var(--mono); font-size: 11px; }