[140] Fenster/Türen 0.1 mm, Glasscheiben 0.02 mm (Grundriss und Schnitt); Goldens nach Merge [140]/[141] neu

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTYBZBvLYCtugMJoKXaB67
This commit is contained in:
Claude committed 2026-11-05 22:59:33 +00:00
1 parent f0dd9a4574
commit 393b2ea3c4
23 files changed
+165 -181

No files matched your search

+2 -2
View File
@@ -283,7 +283,7 @@ fn plan_opening_inner(buf: &[f64]) -> Option<Vec<f64>> {
o.ring(C_STULP, sash_w, 4.0, mark);
}
for (a, b) in &sym.glass_lines {
o.line(C_GLASS, hair, 0.0, 0.0, *a, *b);
o.line(C_GLASS, super::style::GLASS_LINE_MM, 0.0, 0.0, *a, *b);
}
if detail == Detail::Fein {
if let Some((js, je)) = opening_jambs(&w, position, width) {
@@ -465,7 +465,7 @@ fn lift_slide(o: &mut Out, js: V, je: V, n: V, lo: f64, hi: f64, hinge_end: bool
let b = along(js, je, u1);
o.ring(C_LEAF, hair, 0.0, &[add(a, scale(n, n0)), add(b, scale(n, n0)), add(b, scale(n, n1)), add(a, scale(n, n1))]);
let g = (n0 + n1) / 2.0;
o.line(C_GLASS, hair, 0.0, 0.0, add(a, scale(n, g)), add(b, scale(n, g)));
o.line(C_GLASS, super::style::GLASS_LINE_MM, 0.0, 0.0, add(a, scale(n, g)), add(b, scale(n, g)));
}
// Pfeil auf der Innenseite des Schiebefelds, zur Bandseite (über das feste Feld).
let an = inner.1 + gap.max(0.04);
+2 -2
View File
@@ -2378,7 +2378,7 @@ pub fn section_primitives(out: &Output, mono: bool, hidden_lines: bool, vis: &Vi
const OPENING_INK: &str = "#1f242c";
const FRAME_MM: f64 = 0.25;
const GLASS_MM: f64 = 0.13;
const GLASS_MM: f64 = super::style::GLASS_LINE_MM;
const DEFAULT_FRAME_DEPTH: f64 = 0.07;
const DEFAULT_FRAME_WIDTH: f64 = 0.06;
const DOOR_LEAF_THICKNESS: f64 = 0.04;
@@ -2611,7 +2611,7 @@ fn window_cut(p: &Project, wall: &Wall, o: &Opening, c: &CrossSection) -> Result
out.push(opening_poly(rect(c.u_at(s0), c.u_at(s1), c.z_top, c.z_top + h), true, &o.id));
// Lamellen-/Rollpaket im Kasten.
let m = min(0.02, d / 4.0);
let mut pack = polygon(rect(c.u_at(s0 + m), c.u_at(s1 - m), c.z_top + m, c.z_top + h * 0.6), SHADING_PACK_FILL, OPENING_INK, GLASS_MM, no_hatch_base());
let mut pack = polygon(rect(c.u_at(s0 + m), c.u_at(s1 - m), c.z_top + m, c.z_top + h * 0.6), SHADING_PACK_FILL, OPENING_INK, super::style::SYMBOL_LINE_MM, no_hatch_base());
if let Primitive::Polygon { opening_id, .. } = &mut pack {
*opening_id = Some(o.id.clone());
}
+5 -3
View File
@@ -8,9 +8,11 @@ pub const POCHE_STROKE: &str = "#1a1a1a";
pub const MONO_INK: &str = "#111111";
pub const LAYER_LINE_MM: f64 = 0.02;
pub const SYMBOL_HAIRLINE_MM: f64 = 0.02;
/// [140] Feine Symbol-Linien der Türen/Fenster im Grundriss (Blatt, Aufschlag, Glas, Bank), solange der Typ
/// keine eigene Stärke trägt — vorher Haarlinie 0.02 (im Druck kaum sichtbar).
pub const SYMBOL_LINE_MM: f64 = 0.13;
/// [140] Feine Symbol-Linien der Türen/Fenster im Grundriss (Blatt, Aufschlag, Rahmen, Bank), solange der Typ
/// keine eigene Stärke trägt; 0.1 nach Wunsch Maintainer (5.11.). Glas: `GLASS_LINE_MM`.
pub const SYMBOL_LINE_MM: f64 = 0.1;
/// Glasscheiben (Fenster im Grundriss und im Schnitt): feinste Linie, Wunsch Maintainer 5.11. ([140]).
pub const GLASS_LINE_MM: f64 = 0.02;
/// [140] Schichtfugen im Wandschnitt ohne eigene Fugenstärke (`Layer.jointWeightMm`): fein, aber druckbar
/// (vorher 0.02); bewusst unter der Schraffur-Stärke, damit dünne Schichten in 1:100 nicht zulaufen.
pub const LAYER_JOINT_MM: f64 = 0.09;