[176] Ansichtsmarker als Kreis mit Pfeil und Bezeichnung; geknickte Schnittlinie (bendPoints) im Modell und Grundriss
Schnitt-Abwicklung, Werkzeug und Griffe für Knicke bleiben offen.
This commit is contained in:
20 files changed
+386
-134
No files matched your search
@@ -122,8 +122,11 @@ Wer zu einer ID mehr wissen will (Entscheide, Tests, Bilder), sucht dort nach `*
|
||||
Strich-Punkt-Linie dazwischen, an jedem Ende Schenkel (8 mm) in Blickrichtung mit gefülltem Dreieck, Beschriftung 3.5 mm
|
||||
waagrecht vor der Spitze; alles fest in Papier-mm (vorher Massstab-abhängig, √-Faktor ab 1:200); Ansicht: ganze Linie dünn,
|
||||
nur Schenkel + Dreieck kräftig. Kern `plan/misc.rs` (`section_line_sized`) + `plan/context.rs`, gleicher Pfad für Bildschirm/Druck/CLI.
|
||||
Offen: Knicke bei geknickten Schnitten (Modell kennt nur `linePoints: [2]`), Ansichtsmarker als Kreis mit Bezeichnung,
|
||||
Mac-/Tauri-Ansicht. · M
|
||||
Rest (10.11.): Ansichtsmarker als eigenes Symbol (Kreis Ø 8 mm, 0.25 mm, gefülltes Dreieck in Blickrichtung, Bezeichnung
|
||||
im Kreis, `misc.rs` `view_marker_sized`, keine Linie mehr); Modell `DrawingLevel.bendPoints` (optional, Knickpunkte zwischen
|
||||
`linePoints[0]`/`[1]`, altes 2-Punkt-Format liest weiter, verschiebt mit Georeferenz) und Darstellung im Grundriss
|
||||
(`section_polyline_sized`: kräftige 6-mm-Stücke an jedem Knick). Offen: Schnitt-Abwicklung geknickter Schnitte (Ableitung
|
||||
folgt noch der Endpunkt-Verbindung), Werkzeug/Griffe für Knickpunkte, optionale dünne Ansichtsebene, Mac-/Tauri-Ansicht. · M
|
||||
- ◐ **[171]** Plan-Review Runde 2 (10.11., beide Musterhäuser, CLI-SVG `--hatch` in Chromium, nur Linux). Behoben (Kern,
|
||||
Test je Fix): Sonnenschatten auf Flächen unter dem Ansichtsbereich (grauer Fleck über dem Carport im OG/DG,
|
||||
`sun::shadow_polygons_plan_in`); Flächenzeile nach Rundungsschritt („16.0 m²“ statt „16 m²“); Schnitt genau am Rand
|
||||
|
||||
@@ -142,6 +142,9 @@ pub fn translate_project(p: &Project, dx: f64, dy: f64) -> Project {
|
||||
pts[0] = shift(pts[0], dx, dy);
|
||||
pts[1] = shift(pts[1], dx, dy);
|
||||
}
|
||||
for q in l.bend_points.iter_mut().flatten() {
|
||||
*q = shift(*q, dx, dy);
|
||||
}
|
||||
}
|
||||
if let Some(a) = &mut out.geo_anchor {
|
||||
a.model = shift(a.model, dx, dy);
|
||||
|
||||
@@ -187,6 +187,9 @@ fn shift_element(key: &str, e: &Value, dx: f64, dy: f64) -> (Value, bool) {
|
||||
Some(a) if truthy(e.get("linePoints")) => {
|
||||
let n = vec![shift(&a[0], dx, dy), shift(a.get(1).unwrap_or(&Value::Null), dx, dy)];
|
||||
m.insert("linePoints".into(), Value::Array(n));
|
||||
if let Some(b) = e.get("bendPoints").and_then(Value::as_array) {
|
||||
m.insert("bendPoints".into(), Value::Array(b.iter().map(|q| shift(q, dx, dy)).collect()));
|
||||
}
|
||||
(Value::Object(m), true)
|
||||
}
|
||||
_ => (e.clone(), false),
|
||||
|
||||
@@ -1841,6 +1841,12 @@ pub struct DrawingLevel {
|
||||
#[serde(rename = "linePoints", default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional)]
|
||||
pub line_points: Option<[Vec2; 2]>,
|
||||
/// Knickpunkte einer geknickten Schnittlinie ([176]), der Reihe nach zwischen `linePoints[0]` und
|
||||
/// `linePoints[1]`. Fehlt/leer ⇒ gerade Linie (altes Format). Nur Darstellung im Grundriss; der Schnitt selbst
|
||||
/// folgt weiter der Verbindung der Endpunkte.
|
||||
#[serde(rename = "bendPoints", default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional)]
|
||||
pub bend_points: Option<Vec<Vec2>>,
|
||||
/// Blickrichtung relativ zur Schnittlinie (nur Schnitt/Ansicht).
|
||||
#[serde(rename = "directionSign", default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional, type = "1 | -1")]
|
||||
|
||||
@@ -20,6 +20,8 @@ const SECTION_LINE_MARK_MM: f64 = 0.5;
|
||||
const SECTION_LINE_DASH: [f64; 4] = super::line_pattern::SECTION_LINE;
|
||||
/// [176] Beschriftungshöhe in Papier-mm (Modell-Meter = mm · Massstab/1000).
|
||||
const SECTION_LABEL_MM: f64 = 3.5;
|
||||
const VIEW_MARKER_RING_MM: f64 = 0.25;
|
||||
const VIEW_MARKER_MIN_FONT_MM: f64 = 2.4;
|
||||
|
||||
fn v2(x: f64, y: f64) -> Vec2 {
|
||||
Vec2 { x, y }
|
||||
@@ -831,6 +833,87 @@ pub fn section_label_tag(name: &str) -> String {
|
||||
}
|
||||
}
|
||||
|
||||
/// [176] Ansichtsmarker als eigenes Symbol: Kreis (Ø 8 mm Papier, 0.25 mm) in der Mitte der Ansichtslinie, gefülltes
|
||||
/// Dreieck in Blickrichtung, Bezeichnung waagrecht im Kreis (verkleinert, wenn nötig) bzw. rechts daneben; Pick-Band
|
||||
/// über dem ganzen Symbol. Keine durchgehende Linie.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn view_marker(c: &Ctx, level: &DrawingLevel, p0: Vec2, p1: Vec2, sign: f64, k: f64, tag: &str, greyed: Option<bool>, obst: &mut super::stamp_place::Obstacles, out: &mut Vec<Primitive>) {
|
||||
let _ = c;
|
||||
let f = crate::plan::misc::view_marker_sized(p0.x, p0.y, p1.x, p1.y, sign, k);
|
||||
if f.is_empty() {
|
||||
return;
|
||||
}
|
||||
let (mut i, mut center, mut r) = (1, v2(0.0, 0.0), 0.0);
|
||||
for _ in 0..f[0] as usize {
|
||||
if f[i] == 4.0 {
|
||||
center = v2(f[i + 1], f[i + 2]);
|
||||
r = f[i + 3];
|
||||
for (from, to) in [(v2(center.x + r, center.y), v2(center.x - r, center.y)), (v2(center.x - r, center.y), v2(center.x + r, center.y))] {
|
||||
let arc = Primitive::Arc {
|
||||
center,
|
||||
from,
|
||||
to,
|
||||
r,
|
||||
cls: "section-line".into(),
|
||||
weight_mm: VIEW_MARKER_RING_MM,
|
||||
dash: None,
|
||||
color: Some(SECTION_LINE_INK.into()),
|
||||
opening_id: None,
|
||||
stair_id: None,
|
||||
greyed,
|
||||
opacity: None,
|
||||
};
|
||||
obst.add_prim(&arc);
|
||||
out.push(arc);
|
||||
}
|
||||
i += 4;
|
||||
} else if f[i] == 3.0 {
|
||||
let pts: Vec<Vec2> = (0..3).map(|j| v2(f[i + 1 + 2 * j], f[i + 2 + 2 * j])).collect();
|
||||
let ring: Vec<[f64; 2]> = pts.iter().map(|q| [q.x, q.y]).collect();
|
||||
obst.area(ring);
|
||||
let mut tri = pick_band(pts, None, None);
|
||||
if let Primitive::Polygon { fill, .. } = &mut tri {
|
||||
*fill = SECTION_LINE_INK.into();
|
||||
}
|
||||
out.push(tri);
|
||||
i += 7;
|
||||
} else {
|
||||
let pts = (0..4).map(|j| v2(f[i + 1 + 2 * j], f[i + 2 + 2 * j])).collect();
|
||||
out.push(pick_band(pts, None, Some(&level.id)));
|
||||
i += 9;
|
||||
}
|
||||
}
|
||||
// Bezeichnung: im Kreis, solange sie mit mindestens 2.4 mm Schrift in 1.6 · r passt, sonst rechts neben dem Kreis.
|
||||
let w_em = crate::text_layout::text_width_em(tag, false);
|
||||
if !(w_em > 0.0) {
|
||||
return;
|
||||
}
|
||||
let inner_mm = 1.6 * r / k;
|
||||
let font_mm = SECTION_LABEL_MM.min(inner_mm / w_em);
|
||||
let (h, at) = if font_mm >= VIEW_MARKER_MIN_FONT_MM {
|
||||
let h = font_mm * k;
|
||||
(h, v2(center.x - w_em * h / 2.0, center.y - 0.375 * h))
|
||||
} else {
|
||||
let h = SECTION_LABEL_MM * k;
|
||||
(h, v2(center.x + r + k, center.y - 0.375 * h))
|
||||
};
|
||||
let (w, pad) = (w_em * h, 0.1 * h);
|
||||
obst.area(vec![[at.x - pad, at.y - pad], [at.x + w + pad, at.y - pad], [at.x + w + pad, at.y + 0.75 * h + pad], [at.x - pad, at.y + 0.75 * h + pad]]);
|
||||
out.push(Primitive::DrawingText {
|
||||
at,
|
||||
text: tag.to_string(),
|
||||
height_m: h,
|
||||
angle: 0.0,
|
||||
color: SECTION_LINE_INK.into(),
|
||||
marks: None,
|
||||
wrap_width: None,
|
||||
doc: None,
|
||||
drawing_id: None,
|
||||
greyed,
|
||||
opacity: None,
|
||||
});
|
||||
}
|
||||
|
||||
/// Schnittführungs-Symbole aller Schnitt-/Ansichtsebenen mit Linie (`addSectionLines`).
|
||||
pub fn plan_section_lines(c: &Ctx, out: &mut Vec<Primitive>) {
|
||||
if !c.shown(SECTION_LINE_CATEGORY) {
|
||||
@@ -857,14 +940,27 @@ pub fn plan_section_lines(c: &Ctx, out: &mut Vec<Primitive>) {
|
||||
let tag = section_label_tag(&level.name);
|
||||
let label_w = crate::text_layout::text_width_em(&tag, false) * SECTION_LABEL_MM * k;
|
||||
let sign = level.direction_sign.unwrap_or(1.0);
|
||||
let f = crate::plan::misc::section_line_sized(p0.x, p0.y, p1.x, p1.y, sign, k, label_w, matches!(level.kind, DrawingLevelKind::Elevation));
|
||||
if matches!(level.kind, DrawingLevelKind::Elevation) {
|
||||
view_marker(c, level, p0, p1, sign, k, &tag, greyed, &mut obst, out);
|
||||
continue;
|
||||
}
|
||||
// [176] Geknickte Schnittlinie: Anfang, Knickpunkte, Ende.
|
||||
let mut path: Vec<(f64, f64)> = vec![(p0.x, p0.y)];
|
||||
path.extend(level.bend_points.iter().flatten().map(|q| (q.x, q.y)));
|
||||
path.push((p1.x, p1.y));
|
||||
let f = crate::plan::misc::section_polyline_sized(&path, sign, k, label_w);
|
||||
if f.is_empty() {
|
||||
continue;
|
||||
}
|
||||
// Richtungen je Ende: Blickrichtung (Pfeil) und entlang der Linie nach aussen.
|
||||
let len = (p1.x - p0.x).hypot(p1.y - p0.y);
|
||||
let (ux, uy) = ((p1.x - p0.x) / len, (p1.y - p0.y) / len);
|
||||
let bn = v2(-uy * sign, ux * sign);
|
||||
// Richtungen je Ende: Blickrichtung (Pfeil) und entlang der Linie nach aussen (erstes bzw. letztes Segment).
|
||||
let seg_dir = |a: (f64, f64), b: (f64, f64)| {
|
||||
let l = (b.0 - a.0).hypot(b.1 - a.1);
|
||||
if l < 1e-6 { None } else { Some(((b.0 - a.0) / l, (b.1 - a.1) / l)) }
|
||||
};
|
||||
let m = path.len();
|
||||
let first = (1..m).find_map(|i| seg_dir(path[0], path[i])).unwrap_or((1.0, 0.0));
|
||||
let last = (0..m - 1).rev().find_map(|i| seg_dir(path[i], path[m - 1])).unwrap_or((1.0, 0.0));
|
||||
let ends = [(v2(-first.0, -first.1), v2(-first.1 * sign, first.0 * sign)), (v2(last.0, last.1), v2(-last.1 * sign, last.0 * sign))];
|
||||
let mut end_no = 0;
|
||||
let n = f[0] as usize;
|
||||
let mut i = 1;
|
||||
@@ -898,7 +994,7 @@ pub fn plan_section_lines(c: &Ctx, out: &mut Vec<Primitive>) {
|
||||
out.push(tri);
|
||||
i += 7;
|
||||
} else if f[i] == 5.0 {
|
||||
let outward = if end_no == 0 { v2(-ux, -uy) } else { v2(ux, uy) };
|
||||
let (outward, bn) = ends[end_no.min(1)];
|
||||
end_no += 1;
|
||||
labels.push((v2(f[i + 1], f[i + 2]), tag.clone(), bn, outward));
|
||||
i += 3;
|
||||
@@ -1018,11 +1114,11 @@ mod tests {
|
||||
#[test]
|
||||
fn schnittmarken_papiergroesse_beschriftung_frei() {
|
||||
let level = |name: &str, a: [f64; 2], b: [f64; 2]| -> DrawingLevel {
|
||||
serde_json::from_value(serde_json::json!({ "id": name, "name": name, "kind": "elevation", "visible": true, "locked": false,
|
||||
serde_json::from_value(serde_json::json!({ "id": name, "name": name, "kind": if name.starts_with("Schnitt") { "section" } else { "elevation" }, "visible": true, "locked": false,
|
||||
"linePoints": [{ "x": a[0], "y": a[1] }, { "x": b[0], "y": b[1] }] })).unwrap()
|
||||
};
|
||||
// Pfeil nach unten (Ansicht Nord, oben im Plan) und nach links/rechts.
|
||||
let p = Project { drawing_levels: vec![level("Ansicht Nord", [10.0, 20.0], [0.0, 20.0]), level("Ansicht West", [-5.0, 10.0], [-5.0, 0.0]), level("Ansicht Ost", [15.0, 0.0], [15.0, 10.0])], ..Default::default() };
|
||||
let p = Project { drawing_levels: vec![level("Ansicht Nord", [10.0, 20.0], [0.0, 20.0]), level("Ansicht West", [-5.0, 10.0], [-5.0, 0.0]), level("Ansicht Ost", [15.0, 0.0], [15.0, 10.0]), level("Schnitt A-A", [0.0, 5.0], [60.0, 5.0])], ..Default::default() };
|
||||
let run = |scale: f64| {
|
||||
let a = super::super::domains::PlanArgs::parse(1.0, &format!(r#"{{"show": ["90"], "scale": {scale}, "global": true}}"#)).unwrap();
|
||||
let mut out = Vec::new();
|
||||
@@ -1059,13 +1155,65 @@ mod tests {
|
||||
assert!(d.bounds.is_some_and(|b| b[3] >= top - 1e-9), "{:?} < {top}", d.bounds);
|
||||
}
|
||||
|
||||
/// [176] Ansichtsmarker: Kreis (Ø 8 mm Papier) mit gefülltem Dreieck in Blickrichtung und Bezeichnung im Kreis,
|
||||
/// keine durchgehende Linie; Pick-Band trägt die Ebenen-ID.
|
||||
#[test]
|
||||
fn ansichtsmarker_ist_kreis_mit_pfeil_und_bezeichnung() {
|
||||
let p = Project {
|
||||
drawing_levels: vec![serde_json::from_value(serde_json::json!({ "id": "n", "name": "Ansicht Süd", "kind": "elevation", "visible": true, "locked": false,
|
||||
"linePoints": [{ "x": 0.0, "y": -2.0 }, { "x": 10.0, "y": -2.0 }] })).unwrap()],
|
||||
..Default::default()
|
||||
};
|
||||
let a = super::super::domains::PlanArgs::parse(1.0, r#"{"show": ["90"], "scale": 100, "global": true}"#).unwrap();
|
||||
let mut out = Vec::new();
|
||||
plan_section_lines(&Ctx::new(&p, &a), &mut out);
|
||||
assert!(!out.iter().any(|q| matches!(q, Primitive::Line { .. })), "keine Linie");
|
||||
let arcs: Vec<f64> = out.iter().filter_map(|q| match q { Primitive::Arc { r, center, .. } => { assert!((center.x - 5.0).abs() < 1e-9 && (center.y + 2.0).abs() < 1e-9); Some(*r) } _ => None }).collect();
|
||||
assert_eq!(arcs.len(), 2);
|
||||
assert!((arcs[0] - 0.4).abs() < 1e-9, "Ø 8 mm bei 1:100 = r 0.4 m, ist {}", arcs[0]);
|
||||
let tri = out.iter().find_map(|q| match q { Primitive::Polygon { pts, fill, .. } if fill != "none" => Some(pts.clone()), _ => None }).unwrap();
|
||||
// Blickrichtung +y (Linie von links nach rechts, Vorzeichen 1): Spitze oberhalb des Kreises.
|
||||
assert!(tri[0].y > -2.0 + 0.4, "{tri:?}");
|
||||
assert!(out.iter().any(|q| matches!(q, Primitive::Polygon { section_line_id: Some(id), .. } if id == "n")));
|
||||
let t = out.iter().find_map(|q| match q { Primitive::DrawingText { at, text, height_m, .. } => Some((*at, text.clone(), *height_m)), _ => None }).unwrap();
|
||||
assert_eq!(t.1, "Süd");
|
||||
let w = crate::text_layout::text_width_em("Süd", false) * t.2;
|
||||
assert!(t.0.x > 5.0 - 0.4 && t.0.x + w < 5.0 + 0.4, "Text im Kreis: {t:?}");
|
||||
}
|
||||
|
||||
/// [176] Geknickter Schnitt: Knickpunkte aus `bendPoints` erscheinen als kräftige Stücke im Grundriss; ohne
|
||||
/// Knickpunkte (altes Format) bleibt die gerade Linie; Beschriftung nur an den zwei Enden.
|
||||
#[test]
|
||||
fn geknickter_schnitt_zeigt_knickstuecke() {
|
||||
let mk = |bend: serde_json::Value| -> Project {
|
||||
Project {
|
||||
drawing_levels: vec![serde_json::from_value(serde_json::json!({ "id": "s", "name": "Schnitt A-A", "kind": "section", "visible": true, "locked": false,
|
||||
"linePoints": [{ "x": 0.0, "y": 0.0 }, { "x": 10.0, "y": 8.0 }], "bendPoints": bend })).unwrap()],
|
||||
..Default::default()
|
||||
}
|
||||
};
|
||||
let run = |p: &Project| {
|
||||
let a = super::super::domains::PlanArgs::parse(1.0, r#"{"show": ["90"], "scale": 100, "global": true}"#).unwrap();
|
||||
let mut out = Vec::new();
|
||||
plan_section_lines(&Ctx::new(p, &a), &mut out);
|
||||
out
|
||||
};
|
||||
let heavy_at = |out: &[Primitive], x: f64, y: f64| out.iter().any(|q| matches!(q, Primitive::Line { a, b, dash: None, weight_mm, .. } if *weight_mm > 0.4 && ((a.x - x).hypot(a.y - y) < 1e-9 || (b.x - x).hypot(b.y - y) < 1e-9)));
|
||||
let gerade = run(&mk(serde_json::json!([])));
|
||||
assert!(!heavy_at(&gerade, 10.0, 0.0));
|
||||
let out = run(&mk(serde_json::json!([{ "x": 10.0, "y": 0.0 }])));
|
||||
assert!(heavy_at(&out, 10.0, 0.0), "kräftige Stücke am Knick");
|
||||
assert_eq!(out.iter().filter(|q| matches!(q, Primitive::DrawingText { .. })).count(), 2);
|
||||
assert_eq!(out.iter().filter(|q| matches!(q, Primitive::Polygon { section_line_id: Some(_), .. })).count(), 2, "Pick-Band je Segment");
|
||||
}
|
||||
|
||||
/// [157] Beschriftung der Schnitt-/Ansichtsmarken weicht Masszahlen und Texten des Geschosses aus („B-B“ lag
|
||||
/// auf „15.39“) sowie den Marken und Beschriftungen anderer Schnittlinien (Situation 1:500: „West“/„Nord“ an
|
||||
/// der Ecke ineinander).
|
||||
#[test]
|
||||
fn schnittmarke_weicht_masszahl_und_nachbarmarke_aus() {
|
||||
let level = |name: &str, a: [f64; 2], b: [f64; 2]| -> DrawingLevel {
|
||||
serde_json::from_value(serde_json::json!({ "id": name, "name": name, "kind": "elevation", "visible": true, "locked": false,
|
||||
serde_json::from_value(serde_json::json!({ "id": name, "name": name, "kind": if name.starts_with("Schnitt") { "section" } else { "elevation" }, "visible": true, "locked": false,
|
||||
"linePoints": [{ "x": a[0], "y": a[1] }, { "x": b[0], "y": b[1] }] })).unwrap()
|
||||
};
|
||||
let labels = |out: &[Primitive]| -> Vec<(String, Vec<[f64; 2]>)> {
|
||||
@@ -1107,7 +1255,7 @@ mod tests {
|
||||
let p = Project { drawing_levels: vec![level("Ansicht Nord", [12.0, 20.0], [0.0, 20.0]), level("Ansicht West", [-0.5, 19.0], [-0.5, 0.0]), level("Ansicht Süd", [0.0, -1.0], [12.0, -1.0]), level("Ansicht Ost", [12.5, 0.0], [12.5, 19.0])], ..Default::default() };
|
||||
let out = run(&p, 500.0);
|
||||
let ls = labels(&out);
|
||||
assert_eq!(ls.len(), 8);
|
||||
assert_eq!(ls.len(), 4, "ein Ansichtsmarker trägt eine Bezeichnung");
|
||||
let marks: Vec<(Vec2, Vec2)> = out.iter().filter_map(|q| match q { Primitive::Line { a, b, dash: None, .. } => Some((*a, *b)), _ => None }).collect();
|
||||
for i in 0..ls.len() {
|
||||
for j in i + 1..ls.len() {
|
||||
|
||||
+113
-33
@@ -15,6 +15,7 @@
|
||||
//! 5 label [5, x, y] (unten links; Kurz-Tag setzt der Aufrufer)
|
||||
//! 1 polygon [1, x0, y0 … x3, y3] (unsichtbares Pick-Band)
|
||||
//! ```
|
||||
//! Ansicht ([176]): `view_marker_sized` → `[3, 4 circle [4, cx, cy, r], 3 triangle, 1 polygon]`.
|
||||
//!
|
||||
//! ## Linienende
|
||||
//! `end_mark(x, y, dx, dy, art, mm, massstab)` → `[verkuerzung, n, Eintrag × n]` (leer = nichts):
|
||||
@@ -32,11 +33,16 @@ use std::collections::HashSet;
|
||||
const FOOTPRINT_Z_TOL: f64 = 0.6;
|
||||
// [176] Papier-mm
|
||||
const SECTION_END_PIECE_MM: f64 = 12.0;
|
||||
const SECTION_BEND_PIECE_MM: f64 = 6.0;
|
||||
const SECTION_LEG_MM: f64 = 8.0;
|
||||
const SECTION_HEAD_LEN_MM: f64 = 3.5;
|
||||
const SECTION_HEAD_HALF_MM: f64 = 1.3;
|
||||
const SECTION_LABEL_MM: f64 = 3.5;
|
||||
const SECTION_PICK_HALF: f64 = 0.3;
|
||||
/// [176] Ansichtsmarker: Kreis Ø 8 mm, Pfeilspitze 3.5 mm lang und 3.2 mm breit.
|
||||
pub const VIEW_MARKER_R_MM: f64 = 4.0;
|
||||
const VIEW_MARKER_TIP_MM: f64 = 3.5;
|
||||
const VIEW_MARKER_HALF_MM: f64 = 1.6;
|
||||
const ARROW_ASPECT: f64 = 0.32;
|
||||
|
||||
/// Ganzzahl-Schlüssel für die Quantisierung; NaN/∞ bekommen feste Platzhalter (wie ihre Textform in JS).
|
||||
@@ -140,46 +146,61 @@ pub fn bbox(positions: &[f64]) -> Vec<f64> {
|
||||
}
|
||||
|
||||
pub fn section_line(p0x: f64, p0y: f64, p1x: f64, p1y: f64, sign: f64) -> Vec<f64> {
|
||||
section_line_sized(p0x, p0y, p1x, p1y, sign, 0.1, SECTION_LABEL_MM * 0.1 * 1.5, false)
|
||||
section_line_sized(p0x, p0y, p1x, p1y, sign, 0.1, SECTION_LABEL_MM * 0.1 * 1.5)
|
||||
}
|
||||
|
||||
/// [176] Schnitt-/Ansichtsmarke in fester Papiergrösse: `mm` = Modell-Meter je Papier-mm (Massstab/1000),
|
||||
/// [176] Schnittmarke in fester Papiergrösse: `mm` = Modell-Meter je Papier-mm (Massstab/1000),
|
||||
/// Beschriftung (Breite `label_w`, Schrift `SECTION_LABEL_MM · mm`, Ankerpunkt unten links) mit ihrem Kasten vor
|
||||
/// der Pfeilspitze, in Pfeilrichtung abgesetzt. Schnitt (`view = false`): kräftige Endstücke (Art 1) längs der Linie,
|
||||
/// dazwischen dünn (Art 0); an jedem Ende ein kräftiger Schenkel in Blickrichtung mit gefülltem Dreieck (Eintrag 3).
|
||||
/// Ansicht (`view = true`): ganze Linie dünn, nur Schenkel + Dreieck kräftig.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn section_line_sized(p0x: f64, p0y: f64, p1x: f64, p1y: f64, sign: f64, mm: f64, label_w: f64, view: bool) -> Vec<f64> {
|
||||
if ![p0x, p0y, p1x, p1y, sign, mm, label_w].iter().all(|x| x.is_finite()) || !(mm > 0.0) {
|
||||
/// der Pfeilspitze, in Pfeilrichtung abgesetzt. Kräftige Endstücke (Art 1) längs der Linie, dazwischen dünn (Art 0);
|
||||
/// an jedem Ende ein kräftiger Schenkel in Blickrichtung mit gefülltem Dreieck (Eintrag 3).
|
||||
/// Ansichten haben ihr eigenes Symbol (`view_marker_sized`).
|
||||
pub fn section_line_sized(p0x: f64, p0y: f64, p1x: f64, p1y: f64, sign: f64, mm: f64, label_w: f64) -> Vec<f64> {
|
||||
section_polyline_sized(&[(p0x, p0y), (p1x, p1y)], sign, mm, label_w)
|
||||
}
|
||||
|
||||
/// [176] Geknickte Schnittlinie `pts` (Anfang, Knicke, Ende): wie `section_line_sized`, dazu an jedem Knick kräftige
|
||||
/// Stücke (6 mm) auf beiden Seiten; Schenkel/Dreieck/Beschriftung an den Enden gehören zum ersten bzw. letzten
|
||||
/// Segment; je Segment ein Pick-Band. Mit zwei Punkten identisch zur geraden Linie. Segmente unter 1 µm entfallen.
|
||||
pub fn section_polyline_sized(pts: &[(f64, f64)], sign: f64, mm: f64, label_w: f64) -> Vec<f64> {
|
||||
if pts.len() < 2 || !pts.iter().all(|p| p.0.is_finite() && p.1.is_finite()) || ![sign, mm, label_w].iter().all(|x| x.is_finite()) || !(mm > 0.0) {
|
||||
return Vec::new();
|
||||
}
|
||||
let mut pts: Vec<(f64, f64)> = pts.to_vec();
|
||||
pts.dedup_by(|b, a| hypot2(b.0 - a.0, b.1 - a.1) < 1e-6);
|
||||
if pts.len() < 2 {
|
||||
return Vec::new();
|
||||
}
|
||||
let leg = SECTION_LEG_MM * mm;
|
||||
let label_h = SECTION_LABEL_MM * mm * 0.75;
|
||||
let (ax, ay) = (p1x - p0x, p1y - p0y);
|
||||
let len = hypot2(ax, ay);
|
||||
if len < 1e-6 {
|
||||
return Vec::new();
|
||||
}
|
||||
let (ux, uy) = (ax / len, ay / len);
|
||||
let (nx, ny) = (-uy, ux);
|
||||
let (bnx, bny) = (nx * sign, ny * sign);
|
||||
let segs = pts.len() - 1;
|
||||
// Einheitsrichtung je Segment.
|
||||
let dirs: Vec<(f64, f64)> = (0..segs)
|
||||
.map(|i| {
|
||||
let (ax, ay) = (pts[i + 1].0 - pts[i].0, pts[i + 1].1 - pts[i].1);
|
||||
let l = hypot2(ax, ay);
|
||||
(ax / l, ay / l)
|
||||
})
|
||||
.collect();
|
||||
let mut o: Vec<f64> = Vec::new();
|
||||
let mut n = 0usize;
|
||||
let line = |o: &mut Vec<f64>, n: &mut usize, art: f64, a: (f64, f64), b: (f64, f64)| {
|
||||
o.extend([2.0, art, a.0, a.1, b.0, b.1]);
|
||||
*n += 1;
|
||||
};
|
||||
// Endstück: höchstens ein Drittel der Linie, damit bei kurzen Schnitten noch ein dünnes Stück bleibt.
|
||||
let piece = if view { 0.0 } else { (SECTION_END_PIECE_MM * mm).min(len / 3.0) };
|
||||
if piece > 0.0 {
|
||||
line(&mut o, &mut n, 1.0, (p0x, p0y), (p0x + ux * piece, p0y + uy * piece));
|
||||
line(&mut o, &mut n, 0.0, (p0x + ux * piece, p0y + uy * piece), (p1x - ux * piece, p1y - uy * piece));
|
||||
line(&mut o, &mut n, 1.0, (p1x - ux * piece, p1y - uy * piece), (p1x, p1y));
|
||||
} else {
|
||||
line(&mut o, &mut n, 0.0, (p0x, p0y), (p1x, p1y));
|
||||
// Endstück: höchstens ein Drittel des Segments, damit bei kurzen Segmenten noch ein dünnes Stück bleibt;
|
||||
// an den Knicken das kürzere Knickstück.
|
||||
for i in 0..segs {
|
||||
let (a, b, (ux, uy)) = (pts[i], pts[i + 1], dirs[i]);
|
||||
let len = hypot2(b.0 - a.0, b.1 - a.1);
|
||||
let ps = (if i == 0 { SECTION_END_PIECE_MM } else { SECTION_BEND_PIECE_MM } * mm).min(len / 3.0);
|
||||
let pe = (if i == segs - 1 { SECTION_END_PIECE_MM } else { SECTION_BEND_PIECE_MM } * mm).min(len / 3.0);
|
||||
line(&mut o, &mut n, 1.0, a, (a.0 + ux * ps, a.1 + uy * ps));
|
||||
line(&mut o, &mut n, 0.0, (a.0 + ux * ps, a.1 + uy * ps), (b.0 - ux * pe, b.1 - uy * pe));
|
||||
line(&mut o, &mut n, 1.0, (b.0 - ux * pe, b.1 - uy * pe), b);
|
||||
}
|
||||
let (head_l, head_hw) = (SECTION_HEAD_LEN_MM * mm, SECTION_HEAD_HALF_MM * mm);
|
||||
for end in [(p0x, p0y), (p1x, p1y)] {
|
||||
for (end, (ux, uy)) in [(pts[0], dirs[0]), (pts[segs], dirs[segs - 1])] {
|
||||
let (bnx, bny) = (-uy * sign, ux * sign);
|
||||
let tip = (end.0 + bnx * leg, end.1 + bny * leg);
|
||||
line(&mut o, &mut n, 1.0, end, tip);
|
||||
let hb = (tip.0 - bnx * head_l, tip.1 - bny * head_l);
|
||||
@@ -192,15 +213,48 @@ pub fn section_line_sized(p0x: f64, p0y: f64, p1x: f64, p1y: f64, sign: f64, mm:
|
||||
n += 1;
|
||||
}
|
||||
let ph = SECTION_PICK_HALF.max(1.2 * mm);
|
||||
let (ox, oy) = (nx * ph, ny * ph);
|
||||
o.push(1.0);
|
||||
o.extend([p0x + ox, p0y + oy, p1x + ox, p1y + oy, p1x - ox, p1y - oy, p0x - ox, p0y - oy]);
|
||||
n += 1;
|
||||
for i in 0..segs {
|
||||
let (a, b, (ux, uy)) = (pts[i], pts[i + 1], dirs[i]);
|
||||
let (ox, oy) = (-uy * ph, ux * ph);
|
||||
o.push(1.0);
|
||||
o.extend([a.0 + ox, a.1 + oy, b.0 + ox, b.1 + oy, b.0 - ox, b.1 - oy, a.0 - ox, a.1 - oy]);
|
||||
n += 1;
|
||||
}
|
||||
let mut out = vec![n as f64];
|
||||
out.extend(o);
|
||||
out
|
||||
}
|
||||
|
||||
/// [176] Ansichtsmarker (eigenes Symbol statt Schnittlinie): Kreis (Ø 8 mm Papier) in der Mitte der Ansichtslinie
|
||||
/// `p0`–`p1`, daran ein gefülltes Dreieck in Blickrichtung (`sign` wie bei der Schnittlinie). `mm` = Modell-Meter je
|
||||
/// Papier-mm. Ergebnis `[n, Eintrag × n]` mit `4 circle [4, cx, cy, r]`, `3 triangle` und `1 polygon` (Pick-Band);
|
||||
/// die Bezeichnung setzt der Aufrufer. Leer bei zu kurzer Linie oder Unsinn.
|
||||
pub fn view_marker_sized(p0x: f64, p0y: f64, p1x: f64, p1y: f64, sign: f64, mm: f64) -> Vec<f64> {
|
||||
if ![p0x, p0y, p1x, p1y, sign, mm].iter().all(|x| x.is_finite()) || !(mm > 0.0) {
|
||||
return Vec::new();
|
||||
}
|
||||
let (ax, ay) = (p1x - p0x, p1y - p0y);
|
||||
let len = hypot2(ax, ay);
|
||||
if len < 1e-6 {
|
||||
return Vec::new();
|
||||
}
|
||||
let (ux, uy) = (ax / len, ay / len);
|
||||
let (bnx, bny) = (-uy * sign, ux * sign);
|
||||
let (cx, cy) = ((p0x + p1x) / 2.0, (p0y + p1y) / 2.0);
|
||||
let r = VIEW_MARKER_R_MM * mm;
|
||||
let (tip_l, hw) = (VIEW_MARKER_TIP_MM * mm, VIEW_MARKER_HALF_MM * mm);
|
||||
let base = (cx + bnx * r, cy + bny * r);
|
||||
let tip = (base.0 + bnx * tip_l, base.1 + bny * tip_l);
|
||||
let mut o = vec![4.0, cx, cy, r];
|
||||
o.extend([3.0, tip.0, tip.1, base.0 + ux * hw, base.1 + uy * hw, base.0 - ux * hw, base.1 - uy * hw]);
|
||||
let back = (cx - bnx * r, cy - bny * r);
|
||||
o.push(1.0);
|
||||
o.extend([back.0 + ux * r, back.1 + uy * r, tip.0 + ux * r, tip.1 + uy * r, tip.0 - ux * r, tip.1 - uy * r, back.0 - ux * r, back.1 - uy * r]);
|
||||
let mut out = vec![3.0];
|
||||
out.extend(o);
|
||||
out
|
||||
}
|
||||
|
||||
pub fn end_mark(x: f64, y: f64, dx: f64, dy: f64, art: f64, mm: f64, scale_denominator: f64) -> Vec<f64> {
|
||||
if ![x, y, dx, dy, mm, scale_denominator].iter().all(|v| v.is_finite()) {
|
||||
return Vec::new();
|
||||
@@ -293,10 +347,22 @@ mod tests {
|
||||
assert_eq!(f[0], 10.0);
|
||||
}
|
||||
|
||||
/// [176] Ansichtsmarker: Kreis Ø 8 mm in der Linienmitte, Dreieck in Blickrichtung, kein Linienstück.
|
||||
#[test]
|
||||
fn ansichtsmarker_kreis_dreieck_pick() {
|
||||
let f = view_marker_sized(0.0, 0.0, 10.0, 0.0, 1.0, 0.2);
|
||||
assert_eq!(f[0], 3.0);
|
||||
assert_eq!(f[1..5], [4.0, 5.0, 0.0, 0.8]);
|
||||
// Dreieck: Spitze 0.8 + 0.7 m in +y (Blickrichtung bei sign 1).
|
||||
assert!((f[6] - 5.0).abs() < 1e-12 && (f[7] - 1.5).abs() < 1e-12);
|
||||
assert!(view_marker_sized(0.0, 0.0, 0.0, 0.0, 1.0, 0.2).is_empty());
|
||||
assert!(view_marker_sized(f64::NAN, 0.0, 1.0, 0.0, 1.0, 0.2).is_empty());
|
||||
}
|
||||
|
||||
/// [176] Fixe Papiergrösse: Schenkel 8 mm, Endstück 12 mm; Ansicht ohne kräftige Endstücke.
|
||||
#[test]
|
||||
fn schnittlinie_papiermm_endstuecke_und_ansicht() {
|
||||
let f = section_line_sized(0.0, 0.0, 10.0, 0.0, 1.0, 0.2, 1.0, false);
|
||||
let f = section_line_sized(0.0, 0.0, 10.0, 0.0, 1.0, 0.2, 1.0);
|
||||
// Endstück 1: art 1 von (0,0) bis 12 mm · 0.2 = 2.4 m; Mitte dünn; Schenkel 8 mm · 0.2 = 1.6 m in Blickrichtung (+y bei sign 1: n = (0,1)).
|
||||
let near = |x: &[f64], y: &[f64]| x.iter().zip(y).all(|(a, b)| (a - b).abs() < 1e-9);
|
||||
assert!(near(&f[1..7], &[2.0, 1.0, 0.0, 0.0, 2.4, 0.0]));
|
||||
@@ -304,9 +370,23 @@ mod tests {
|
||||
let leg = &f[19..25];
|
||||
assert_eq!(leg[1], 1.0);
|
||||
assert!((leg[5] - 1.6).abs() < 1e-12 && leg[4].abs() < 1e-12, "{leg:?}");
|
||||
let v = section_line_sized(0.0, 0.0, 10.0, 0.0, 1.0, 0.2, 1.0, true);
|
||||
assert_eq!(v[0], 8.0, "1 Linie + 2 × (Schenkel, Dreieck, Label) + Pick");
|
||||
assert_eq!(&v[1..7], &[2.0, 0.0, 0.0, 0.0, 10.0, 0.0]);
|
||||
}
|
||||
|
||||
/// [176] Geknickte Schnittlinie: kräftige Knickstücke (6 mm) beidseits des Knicks, Schenkel nur an den Enden,
|
||||
/// Pick-Band je Segment; zwei Punkte = gerade Linie.
|
||||
#[test]
|
||||
fn geknickte_schnittlinie_hat_knickstuecke() {
|
||||
let straight = section_line_sized(0.0, 0.0, 10.0, 0.0, 1.0, 0.2, 1.0);
|
||||
assert_eq!(section_polyline_sized(&[(0.0, 0.0), (10.0, 0.0)], 1.0, 0.2, 1.0), straight);
|
||||
let f = section_polyline_sized(&[(0.0, 0.0), (10.0, 0.0), (10.0, 8.0)], 1.0, 0.2, 1.0);
|
||||
// 2 × 3 Linienstücke + 2 × (Schenkel, Dreieck, Label) + 2 Pick-Bänder
|
||||
assert_eq!(f[0], 14.0);
|
||||
// Segment 1 endet am Knick mit kräftigem Stück 6 mm · 0.2 = 1.2 m: art 1 von (8.8, 0) nach (10, 0).
|
||||
let near = |x: &[f64], y: &[f64]| x.iter().zip(y).all(|(a, b)| (a - b).abs() < 1e-9);
|
||||
assert!(near(&f[13..19], &[2.0, 1.0, 8.8, 0.0, 10.0, 0.0]), "{:?}", &f[13..19]);
|
||||
// Segment 2 beginnt am Knick mit kräftigem Stück nach oben.
|
||||
assert!(near(&f[19..25], &[2.0, 1.0, 10.0, 0.0, 10.0, 1.2]), "{:?}", &f[19..25]);
|
||||
assert!(section_polyline_sized(&[(0.0, 0.0), (0.0, 0.0)], 1.0, 0.2, 1.0).is_empty());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-1.82287 0 8.64575 7.1725" width="86.4575mm" height="71.725mm">
|
||||
<rect x="-1.82287" y="0" width="8.64575" height="7.1725" fill="#ffffff"/>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-1.62075 0 8.2415 7.30258" width="82.415mm" height="73.02581mm">
|
||||
<rect x="-1.62075" y="0" width="8.2415" height="7.30258" fill="#ffffff"/>
|
||||
<g stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4">
|
||||
<polygon points="0,4.6725 5,4.6725 5,0.6725 0,0.6725" fill="none" stroke="none" stroke-width="0"/>
|
||||
<polygon points="0.1725,4.5 4.8275,4.5 4.8275,0.845 0.1725,0.845" fill="#6b728000" stroke="#6b7280" stroke-width="0.002"/>
|
||||
@@ -36,24 +36,21 @@
|
||||
<line x1="3.2" y1="1.49917" x2="4.2" y2="1.49917" stroke="#1a1a1a" stroke-width="0.01" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
|
||||
<line x1="3.2" y1="1.28583" x2="4.2" y2="1.28583" stroke="#1a1a1a" stroke-width="0.01" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
|
||||
<polygon points="3.78,3.09917 3.72667,3.15917 3.67333,3.03917 3.62,3.09917 3.2,3.09917 3.2,4.2725 4.2,4.2725 4.2,3.09917" fill="none" stroke="#1a1a1a" stroke-width="0.013"/>
|
||||
<line x1="3.7" y1="4.16583" x2="3.7" y2="3.09917" stroke="#1a1a1a" stroke-width="0.01"/>
|
||||
<line x1="3.7" y1="3.09917" x2="3.7" y2="1.1045" stroke="#1a1a1a" stroke-width="0.01" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.00267"/>
|
||||
<polyline points="3.579,1.3245 3.7,1.1045 3.821,1.3245" fill="none" stroke="#1a1a1a" stroke-width="0.01"/>
|
||||
<line x1="3.7" y1="4.2725" x2="3.7" y2="3.09917" stroke="#1a1a1a" stroke-width="0.01"/>
|
||||
<line x1="3.7" y1="3.09917" x2="3.7" y2="1.0725" stroke="#1a1a1a" stroke-width="0.01" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.13667"/>
|
||||
<polyline points="3.579,1.2925 3.7,1.0725 3.821,1.2925" fill="none" stroke="#1a1a1a" stroke-width="0.01"/>
|
||||
<line x1="0.2" y1="2.6725" x2="4.8" y2="2.6725" stroke="#1f242c" stroke-width="0.018" stroke-dasharray="0.6 0.15 0.04 0.15" stroke-dashoffset="0.35"/>
|
||||
<polyline points="-1,1.8725 -1,2.6725 0.2,2.6725" fill="none" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<polygon points="-1,1.8725 -0.87,2.2225 -1.13,2.2225" fill="#1f242c" stroke="#1f242c" stroke-width="0.012"/>
|
||||
<polyline points="4.8,2.6725 6,2.6725 6,1.8725" fill="none" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<polygon points="6,1.8725 6.13,2.2225 5.87,2.2225" fill="#1f242c" stroke="#1f242c" stroke-width="0.012"/>
|
||||
<polygon points="-1,2.3725 6,2.3725 6,2.9725 -1,2.9725" fill="none" stroke="none" stroke-width="0"/>
|
||||
<line x1="-1" y1="6.6725" x2="6" y2="6.6725" stroke="#1f242c" stroke-width="0.018" stroke-dasharray="0.6 0.15 0.04 0.15" stroke-dashoffset="0.09"/>
|
||||
<line x1="-1" y1="6.6725" x2="-1" y2="5.8725" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<polygon points="-1,5.8725 -0.87,6.2225 -1.13,6.2225" fill="#1f242c" stroke="#1f242c" stroke-width="0.012"/>
|
||||
<line x1="6" y1="6.6725" x2="6" y2="5.8725" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<polygon points="6,5.8725 6.13,6.2225 5.87,6.2225" fill="#1f242c" stroke="#1f242c" stroke-width="0.012"/>
|
||||
<polygon points="-1,6.3725 6,6.3725 6,6.9725 -1,6.9725" fill="none" stroke="none" stroke-width="0"/>
|
||||
<path d="M 2.9 6.6725 A 0.4 0.4 0 0 0 2.1 6.6725" fill="none" stroke="#000" stroke-width="0.025"/>
|
||||
<path d="M 2.1 6.6725 A 0.4 0.4 0 0 0 2.9 6.6725" fill="none" stroke="#000" stroke-width="0.025"/>
|
||||
<polygon points="2.5,5.9225 2.66,6.2725 2.34,6.2725" fill="#1f242c" stroke="#1f242c" stroke-width="0.012"/>
|
||||
<polygon points="2.9,7.0725 2.9,5.9225 2.1,5.9225 2.1,7.0725" fill="none" stroke="none" stroke-width="0"/>
|
||||
<text x="2.18" y="6.80258" font-size="0.34688" fill="#1f242c" font-family="sans-serif" transform="rotate(0 2.18 6.80258)">Süd</text>
|
||||
<text x="-1.12075" y="1.7725" font-size="0.35" fill="#1f242c" font-family="sans-serif" transform="rotate(0 -1.12075 1.7725)">A</text>
|
||||
<text x="5.87925" y="1.7725" font-size="0.35" fill="#1f242c" font-family="sans-serif" transform="rotate(0 5.87925 1.7725)">A</text>
|
||||
<text x="-1.32287" y="5.7725" font-size="0.35" fill="#1f242c" font-family="sans-serif" transform="rotate(0 -1.32287 5.7725)">Süd</text>
|
||||
<text x="5.67713" y="5.7725" font-size="0.35" fill="#1f242c" font-family="sans-serif" transform="rotate(0 5.67713 5.7725)">Süd</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.2 KiB |
@@ -1094,6 +1094,12 @@ export type DrawingLevel = {
|
||||
ceilingOfId?: string;
|
||||
/** Schnitt-/Ansichtslinie im Grundriss (nur Schnitt/Ansicht). */
|
||||
linePoints?:[Vec2, Vec2];
|
||||
/**
|
||||
* Knickpunkte einer geknickten Schnittlinie ([176]), der Reihe nach zwischen `linePoints[0]` und
|
||||
* `linePoints[1]`. Fehlt/leer ⇒ gerade Linie (altes Format). Nur Darstellung im Grundriss; der Schnitt selbst
|
||||
* folgt weiter der Verbindung der Endpunkte.
|
||||
*/
|
||||
bendPoints?: Array<Vec2>;
|
||||
/** Blickrichtung relativ zur Schnittlinie (nur Schnitt/Ansicht). */
|
||||
directionSign?: 1 | -1;
|
||||
/**
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
viewBox -12.5 0 37 33
|
||||
bytes 21878
|
||||
viewBox -12.82 0 37.603 33.301
|
||||
bytes 20866
|
||||
circle 14
|
||||
g 1
|
||||
line 75
|
||||
polygon 33
|
||||
line 63
|
||||
path 8
|
||||
polygon 29
|
||||
polyline 14
|
||||
rect 1
|
||||
svg 1
|
||||
text 34
|
||||
text 30
|
||||
tspan 9
|
||||
hash 0ca8977dffe96bb4
|
||||
hash cbd83e26384e4902
|
||||
@@ -1,12 +1,13 @@
|
||||
viewBox -12.5 0 37 33
|
||||
bytes 323383
|
||||
viewBox -12.66 0 37.302 33.15
|
||||
bytes 316081
|
||||
circle 14
|
||||
g 1
|
||||
line 3190
|
||||
polygon 79
|
||||
line 3178
|
||||
path 8
|
||||
polygon 75
|
||||
polyline 72
|
||||
rect 1
|
||||
svg 1
|
||||
text 36
|
||||
text 32
|
||||
tspan 12
|
||||
hash ba170577fc723424
|
||||
hash 078337d2ecf6e729
|
||||
@@ -1,13 +1,13 @@
|
||||
viewBox -41.5 0 95 63.6
|
||||
bytes 67266
|
||||
bytes 65856
|
||||
circle 16
|
||||
g 1
|
||||
line 155
|
||||
path 35
|
||||
polygon 91
|
||||
line 143
|
||||
path 43
|
||||
polygon 87
|
||||
polyline 107
|
||||
rect 1
|
||||
svg 1
|
||||
text 114
|
||||
text 110
|
||||
tspan 24
|
||||
hash 8f7649aca52dc7e2
|
||||
hash 174b561165a31f60
|
||||
@@ -1,13 +1,13 @@
|
||||
viewBox -41.5 0 95 63.6
|
||||
bytes 111709
|
||||
bytes 110270
|
||||
circle 16
|
||||
g 1
|
||||
line 402
|
||||
path 66
|
||||
polygon 212
|
||||
line 390
|
||||
path 74
|
||||
polygon 208
|
||||
polyline 125
|
||||
rect 1
|
||||
svg 1
|
||||
text 119
|
||||
text 115
|
||||
tspan 32
|
||||
hash ff6dbc333bc72bba
|
||||
hash 4ef2454b29bc620a
|
||||
@@ -1,13 +1,13 @@
|
||||
viewBox -12.5 0 37 33
|
||||
bytes 46535
|
||||
viewBox -12.82 0 37.603 33.301
|
||||
bytes 45668
|
||||
circle 14
|
||||
g 1
|
||||
line 125
|
||||
path 9
|
||||
polygon 56
|
||||
line 113
|
||||
path 17
|
||||
polygon 52
|
||||
polyline 98
|
||||
rect 1
|
||||
svg 1
|
||||
text 86
|
||||
text 82
|
||||
tspan 19
|
||||
hash 425ef405afa2ef6a
|
||||
hash 2e2f9e2e97af8199
|
||||
@@ -1,13 +1,13 @@
|
||||
viewBox -12.5 0 37 33
|
||||
bytes 357871
|
||||
viewBox -12.66 0 37.302 33.15
|
||||
bytes 350591
|
||||
circle 14
|
||||
g 1
|
||||
line 3221
|
||||
path 37
|
||||
polygon 156
|
||||
line 3209
|
||||
path 45
|
||||
polygon 152
|
||||
polyline 167
|
||||
rect 1
|
||||
svg 1
|
||||
text 89
|
||||
text 85
|
||||
tspan 24
|
||||
hash 4ec197b86859305f
|
||||
hash e941e2c5d6e9c14a
|
||||
@@ -1,13 +1,13 @@
|
||||
viewBox -12.5 0 37 33
|
||||
bytes 40301
|
||||
viewBox -12.82 0 37.603 33.301
|
||||
bytes 39291
|
||||
circle 15
|
||||
g 1
|
||||
line 103
|
||||
path 23
|
||||
polygon 47
|
||||
line 91
|
||||
path 31
|
||||
polygon 43
|
||||
polyline 64
|
||||
rect 1
|
||||
svg 1
|
||||
text 72
|
||||
text 68
|
||||
tspan 18
|
||||
hash 299bb5e3547a7dd3
|
||||
hash e06d5443a927da8a
|
||||
@@ -1,13 +1,13 @@
|
||||
viewBox -12.5 0 37 33
|
||||
bytes 46796
|
||||
viewBox -12.66 0 37.302 33.15
|
||||
bytes 45384
|
||||
circle 15
|
||||
g 1
|
||||
line 99
|
||||
path 38
|
||||
polygon 82
|
||||
line 87
|
||||
path 46
|
||||
polygon 78
|
||||
polyline 71
|
||||
rect 1
|
||||
svg 1
|
||||
text 74
|
||||
text 70
|
||||
tspan 20
|
||||
hash 6a399725abf881d2
|
||||
hash cd95ec684e6fb034
|
||||
@@ -1,11 +1,12 @@
|
||||
viewBox -1.823 0 8.646 7.173
|
||||
bytes 6504
|
||||
viewBox -1.621 0 8.242 7.303
|
||||
bytes 6159
|
||||
g 1
|
||||
line 22
|
||||
polygon 20
|
||||
line 19
|
||||
path 2
|
||||
polygon 19
|
||||
polyline 4
|
||||
rect 1
|
||||
svg 1
|
||||
text 7
|
||||
text 6
|
||||
tspan 3
|
||||
hash 723cfaa92ab2e3fb
|
||||
hash c04f0c0e648f9487
|
||||
@@ -1,11 +1,12 @@
|
||||
viewBox -1.661 0 8.323 7.173
|
||||
bytes 9936
|
||||
viewBox -1.56 0 8.121 7.238
|
||||
bytes 9579
|
||||
g 1
|
||||
line 23
|
||||
polygon 47
|
||||
line 20
|
||||
path 2
|
||||
polygon 46
|
||||
polyline 8
|
||||
rect 1
|
||||
svg 1
|
||||
text 7
|
||||
text 6
|
||||
tspan 3
|
||||
hash abb4121a33046bd0
|
||||
hash 51842e3354ed753a
|
||||
@@ -1,10 +1,11 @@
|
||||
viewBox -1.823 0 8.646 7.4
|
||||
bytes 3159
|
||||
viewBox -1.621 0 8.242 7.53
|
||||
bytes 2843
|
||||
g 1
|
||||
line 5
|
||||
polygon 13
|
||||
line 2
|
||||
path 2
|
||||
polygon 12
|
||||
polyline 3
|
||||
rect 1
|
||||
svg 1
|
||||
text 4
|
||||
hash f207a376cfcf23b2
|
||||
text 3
|
||||
hash f243af6d8f088bb7
|
||||
@@ -1,10 +1,11 @@
|
||||
viewBox -1.661 0 8.323 7.4
|
||||
bytes 5065
|
||||
viewBox -1.56 0 8.121 7.465
|
||||
bytes 4727
|
||||
g 1
|
||||
line 5
|
||||
polygon 30
|
||||
line 2
|
||||
path 2
|
||||
polygon 29
|
||||
polyline 3
|
||||
rect 1
|
||||
svg 1
|
||||
text 4
|
||||
hash 8dba1abaa7a58b48
|
||||
text 3
|
||||
hash bee2ad69ea28de30
|
||||
Reference in new issue
Block a user