[140] Tusche-Standard: Kategorien, Kontext, Baurecht, Schatten, Achsen, Glas grau/schwarz; Bildschirm: Strichbreite unter 1 px als Deckung (Rangfolge bleibt sichtbar)

This commit is contained in:
Claude committed 2026-11-05 18:27:44 +00:00
1 parent 2738566a25
commit 9c79870d81
13 files changed
+55 -43

No files matched your search

+2 -1
View File
@@ -127,7 +127,8 @@ pub fn plan_context(c: &Ctx, out: &mut Vec<Primitive>) {
out.append(&mut late);
}
const TERRAIN_INK: &str = "#7a5b3a";
/// [140] Gelände/Höhenlinien grau statt braun.
const TERRAIN_INK: &str = "#6e6e6e";
/// [140] Kleinster Papierabstand (mm) zwischen Höhenlinien; enger werden Zwischenlinien ausgelassen.
const CONTOUR_MIN_GAP_MM: f64 = 0.6;
+2 -1
View File
@@ -16,7 +16,8 @@ use crate::plan::wall_poche::{ceiling_outline_lines, wall_footprint, WallFootpri
use std::collections::{HashMap, HashSet};
/// Footprint-Farbe der Extrusionen (wie das 3D-Orange).
const EXTRUSION_STROKE: &str = "#d98c40";
/// [140] Tusche statt Orange.
const EXTRUSION_STROKE: &str = "#3a3f47";
/// Rückfall-Füllung einer Stütze ohne auflösbares Bauteil.
const COLUMN_FALLBACK_FILL: &str = "#3a3f47";
/// Alpha-Suffix der (unsichtbaren) Raumfüllung.
+4 -3
View File
@@ -22,14 +22,15 @@ const SILHOUETTE_MM: f64 = 0.18;
const SILHOUETTE_TOL: f64 = 2e-3;
const FRAME_MM: f64 = 0.13;
const GLASS_FILL_MONO: &str = "#c4c8cd";
const GLASS_FILL_COLOR: &str = "#9fc2d9";
/// [140] Glas hellgrau statt blau (Farbe nur, wo der Nutzer sie setzt).
const GLASS_FILL_COLOR: &str = "#d3d8dd";
const SHADOW_FILL: &str = "#8f959e";
const OPENING_SHADOW_FILL: &str = "#a7adb5";
const GROUND_INK: &str = "#1f242c";
const GROUND_MM: f64 = 0.25;
const FRAME_FILL_COLOR: &str = "#d9d9d4";
const FRAME_FILL_COLOR: &str = "#dcdcdc";
const SILL_FILL_COLOR: &str = "#cccccb";
const DOOR_LEAF_FILL_COLOR: &str = "#ede6d9";
const DOOR_LEAF_FILL_COLOR: &str = "#ececec";
const SYMBOL_INK: &str = "#7d858f";
const ROOF_RGB_FALLBACK: [f64; 3] = [0.72, 0.45, 0.36];
const EPS: f64 = 1e-6;
+5 -3
View File
@@ -19,7 +19,8 @@ pub const SITE_PICK_RULES: &str = "@siteRules";
pub const SITE_PICK_VIEW_SHADOWS: &str = "@viewShadows";
/// Füllfarbe der Schattenflächen.
pub const SUN_SHADOW_FILL: &str = "#3a4a66";
/// [140] Schatten grau (Tusche-Darstellung), nicht blau.
pub const SUN_SHADOW_FILL: &str = "#3c3c3c";
/// [140] Schatten heller (0.28 → 0.16): Bemassung und Stempel darüber bleiben lesbar.
const SUN_SHADOW_OPACITY: f64 = 0.16;
/// Linien-Klassen und Füllfarbe des Baurechts.
@@ -29,8 +30,9 @@ pub const SITE_VIOLATION_FILL: &str = "#d0342c";
const SITE_VIOLATION_OPACITY: f64 = 0.45;
/// Profilverstösse ([63]): gleiches Rot, schwächer gefüllt (Bauteil ragt über das Gebäudeprofil).
const SITE_PROFILE_OPACITY: f64 = 0.25;
const PARCEL_COLOR: &str = "#1f6f3f";
const ALLOWED_COLOR: &str = "#2b5fae";
/// [140] Baurecht in Grautönen (Parzelle dunkel, zulässiger Baukörper mittel); Verstösse bleiben rot.
const PARCEL_COLOR: &str = "#3a3a3a";
const ALLOWED_COLOR: &str = "#6e6e6e";
const PARCEL_DASH: [f64; 4] = [6.0, 1.5, 0.5, 1.5];
const ALLOWED_DASH: [f64; 2] = [2.0, 1.0];
+2 -1
View File
@@ -7,7 +7,8 @@ use super::section::{LevelSpec, Plane};
use crate::grid::{bubble_diameter, section_axes, Spec};
use crate::model::{Drawing2DGeom, GridBubbles, Project, Vec2};
const INK: &str = "#5a5f66";
/// [140] Achsen in Tusche (schwarz), nicht grau.
const INK: &str = "#1f242c";
const AXIS_MM: f64 = 0.18;
/// Überstand der Achse über die Gebäudehöhe und unter die Bodenlinie (Meter).
const OVER_TOP: f64 = 0.8;