[303] Plan 1💯 Bogenmasszahlen mit Abstand zwischen den Begrenzungen, Dreh-Kipp in der Ansicht nur mit Dreh-Linien
check / check (push) Has been cancelled
check / licenses (push) Has been cancelled
check / e2e (push) Has been cancelled
macos / native (push) Has been cancelled

This commit is contained in:
Claude committed 2026-11-19 23:46:13 +00:00
1 parent 2e76954e1c
commit 45d62feba1
17 files changed
+213 -28

No files matched your search

-2
View File
@@ -32,8 +32,6 @@
<polygon points="4,6.18564 4.08,6.18564 4.08,5.06564 4,5.06564" fill="#a7adb5" stroke="none" stroke-width="0"/>
<line x1="4.88" y1="6.06564" x2="4.12" y2="5.58564" stroke="#7d858f" stroke-width="0.01" stroke-dasharray="0.22 0.18" stroke-dashoffset="0.06056"/>
<line x1="4.88" y1="5.10564" x2="4.12" y2="5.58564" stroke="#7d858f" stroke-width="0.01" stroke-dasharray="0.22 0.18" stroke-dashoffset="0.06056"/>
<line x1="4.12" y1="6.06564" x2="4.5" y2="5.10564" stroke="#7d858f" stroke-width="0.01" stroke-dasharray="0.22 0.18" stroke-dashoffset="0.19376"/>
<line x1="4.88" y1="6.06564" x2="4.5" y2="5.10564" stroke="#7d858f" stroke-width="0.01" stroke-dasharray="0.22 0.18" stroke-dashoffset="0.19376"/>
<polygon points="0.6,1.88564 6.4,1.88564 6.4,2.05885 0.6,2.05885" fill="#b8735c" stroke="none" stroke-width="0"/>
<polyline points="1.8,7.08564 1.8,4.98564 2.7,4.98564 2.7,7.08564" fill="none" stroke="#2b3039" stroke-width="0.013"/>
<polygon points="5,6.18564 4,6.18564 4,4.98564 5,4.98564" fill="none" stroke="#2b3039" stroke-width="0.013"/>

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

@@ -1,12 +1,12 @@
viewBox -31.5 0 93 18.478
bytes 178114
bytes 175192
circle 4
g 1
line 254
line 234
path 4
polygon 980
polyline 118
rect 1
svg 1
text 4
hash ca5b9d8e326d18a0
hash d76c3e4e1f03a2ec
@@ -1,5 +1,5 @@
viewBox -41.5 0 95 64.4
bytes 67491
bytes 67487
circle 16
g 1
line 135
@@ -10,4 +10,4 @@ rect 1
svg 1
text 112
tspan 25
hash bb054ef07709f74b
hash 663823a19e0632f5
@@ -10,4 +10,4 @@ rect 1
svg 1
text 112
tspan 25
hash 0f68242c551eb646
hash 261827072e28d96f
@@ -1,5 +1,5 @@
viewBox -13.448 0 38.615 33.813
bytes 43023
bytes 43019
circle 14
g 1
line 108
@@ -10,4 +10,4 @@ rect 1
svg 1
text 81
tspan 18
hash 4451c82d52f96726
hash 602612ae9e29b19d
@@ -1,5 +1,5 @@
viewBox -12.974 0 37.808 33.406
bytes 353608
bytes 353606
circle 14
g 1
line 3244
@@ -10,4 +10,4 @@ rect 1
svg 1
text 81
tspan 18
hash e69ce25be0717ade
hash f024c8739931ecf9
@@ -1,5 +1,5 @@
viewBox -13.693 0 38.86 33.813
bytes 41843
bytes 41839
circle 16
g 1
line 99
@@ -10,4 +10,4 @@ rect 1
svg 1
text 69
tspan 15
hash 08412a4e8e7bf065
hash f131d64fdd40ad29
@@ -1,5 +1,5 @@
viewBox -13.693 0 38.527 33.406
bytes 49295
bytes 49293
circle 16
g 1
line 94
@@ -10,4 +10,4 @@ rect 1
svg 1
text 69
tspan 15
hash d759b9b0c4df4d7e
hash 30c495bd4bb540d7
@@ -1,9 +1,9 @@
viewBox -1.9 0 10.8 7.586
bytes 4776
bytes 4494
g 1
line 7
line 5
polygon 30
polyline 4
rect 1
svg 1
hash 4c01cac8fced6722
hash a9cbbbae2c865eb3
+3 -2
View File
@@ -313,9 +313,9 @@ describe("toElevation — Öffnungen: Verdeckung + Reveal-Schatten", () => {
},
],
}) as unknown as Project;
const symCount = (kind: "schiebe" | "fest" | "drehkipp"): number => {
const symCount = (kind: "schiebe" | "fest" | "drehkipp", scaleDenominator = 50): number => {
const p = mkProject(kind);
const plan = generateElevationPlan(p, p.drawingLevels[1])!;
const plan = generateElevationPlan(p, p.drawingLevels[1], { scaleDenominator })!;
return plan.primitives.filter(
(pr) => pr.kind === "line" && (pr as { cls?: string }).cls === "elevation-opening-symbol",
).length;
@@ -323,6 +323,7 @@ describe("toElevation — Öffnungen: Verdeckung + Reveal-Schatten", () => {
expect(symCount("schiebe")).toBe(3); // Pfeil: Schaft + 2 Spitzen
expect(symCount("fest")).toBe(0); // Festverglasung ohne Symbol
expect(symCount("drehkipp")).toBe(4); // Dreh (2) + Kipp (2)
expect(symCount("drehkipp", 100)).toBe(2); // [303] ab 1:100 nur die Dreh-Linien
});
it("Kämpfer-Zeilen (mullionRows): teilen das Glasfeld horizontal (Glas + Trennlinien)", () => {