[133] Merge: Ausschnitt-Zoom aus Massstab, Dach über Schnitt strichpunktiert, keine Kleinmasse am Erker
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NTYBZBvLYCtugMJoKXaB67
This commit is contained in:
15 files changed
+168
-40
No files matched your search
@@ -678,9 +678,11 @@ const LEVEL_VIS: Record<string, boolean> = Object.fromEntries(LEVELS.map((l) =>
|
||||
const PLAN_VIS = vis(["01", "02", "10", "11", "13", "14"]);
|
||||
/** Kontext (Gelände, Baugrube, Höhenlinien, Kataster, Raster) aus — für das Detail. */
|
||||
const HIDE_SITE = vis(["00", "01", "02", "07", "10", "11", "13", "14"]);
|
||||
/** Bildschirm-px je Meter, bei denen die Ansicht genau im Papier-Massstab 1:`scale` steht (96 dpi, wie `geometry.ts::dpi`). */
|
||||
const pxPerMeterAt = (scale: number) => Math.round((96 / 25.4) * 1000 / scale * 100) / 100;
|
||||
const snap = (id: string, name: string, level: string, scale: number, center: Vec2, extra: Partial<NonNullable<Project["viewSnapshots"]>[number]> = {}) => ({
|
||||
id, name, viewType: "grundriss" as const, view3d: "iso" as const, scaleDenominator: scale, detail: (scale <= 50 ? "fein" : "mittel") as "fein" | "mittel",
|
||||
activeLevelId: level, layerVisibility: PLAN_VIS, drawingVisibility: LEVEL_VIS, cameraCenter: center, cameraPxPerMeter: 40, ...extra,
|
||||
activeLevelId: level, layerVisibility: PLAN_VIS, drawingVisibility: LEVEL_VIS, cameraCenter: center, cameraPxPerMeter: pxPerMeterAt(scale), ...extra,
|
||||
});
|
||||
|
||||
function views(): Pick<Project, "viewTemplates" | "viewSnapshots" | "viewSnapshotFolders" | "layouts" | "masterLayouts" | "layoutFolders" | "publishSets" | "overrideRules"> {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
viewBox -16.5 0 49 35.22
|
||||
bytes 339400
|
||||
bytes 341535
|
||||
circle 14
|
||||
line 3495
|
||||
path 8
|
||||
@@ -7,4 +7,4 @@ polygon 91
|
||||
rect 1
|
||||
svg 1
|
||||
text 36
|
||||
hash 777a7a1ebaaae5c0
|
||||
hash e731a92f2cb2750e
|
||||
@@ -1,5 +1,5 @@
|
||||
viewBox -16.5 0 49 35.22
|
||||
bytes 342779
|
||||
bytes 344914
|
||||
circle 14
|
||||
line 3495
|
||||
path 8
|
||||
@@ -7,4 +7,4 @@ polygon 91
|
||||
rect 1
|
||||
svg 1
|
||||
text 36
|
||||
hash 1e90615f2149b374
|
||||
hash d06086b0252984eb
|
||||
@@ -1,10 +1,10 @@
|
||||
viewBox -41.5 0 95 63.6
|
||||
bytes 151519
|
||||
bytes 150642
|
||||
circle 16
|
||||
line 869
|
||||
line 859
|
||||
path 68
|
||||
polygon 263
|
||||
rect 1
|
||||
svg 1
|
||||
text 123
|
||||
hash 00c7b1a95fe41aa2
|
||||
text 121
|
||||
hash 6dd46dcd2c09da31
|
||||
@@ -1,10 +1,10 @@
|
||||
viewBox -41.5 0 95 63.6
|
||||
bytes 151930
|
||||
bytes 151037
|
||||
circle 16
|
||||
line 869
|
||||
line 859
|
||||
path 68
|
||||
polygon 263
|
||||
rect 1
|
||||
svg 1
|
||||
text 123
|
||||
hash 6e0589f30494b4b0
|
||||
text 121
|
||||
hash 50fd0c9417c9454c
|
||||
@@ -1,10 +1,10 @@
|
||||
viewBox -16.5 0 49 35.22
|
||||
bytes 425217
|
||||
bytes 424275
|
||||
circle 14
|
||||
line 4040
|
||||
line 4030
|
||||
path 40
|
||||
polygon 236
|
||||
rect 1
|
||||
svg 1
|
||||
text 93
|
||||
hash b85a09c1cc75aa1b
|
||||
text 91
|
||||
hash f097be93d1c9870b
|
||||
@@ -1,10 +1,10 @@
|
||||
viewBox -16.5 0 49 35.22
|
||||
bytes 428731
|
||||
bytes 427773
|
||||
circle 14
|
||||
line 4040
|
||||
line 4030
|
||||
path 40
|
||||
polygon 236
|
||||
rect 1
|
||||
svg 1
|
||||
text 93
|
||||
hash 3bbeb3cd79f1a439
|
||||
text 91
|
||||
hash c9f6b9f7a79f637f
|
||||
@@ -1,10 +1,10 @@
|
||||
viewBox -16.5 0 49 35.22
|
||||
bytes 84125
|
||||
bytes 83534
|
||||
circle 14
|
||||
line 493
|
||||
line 488
|
||||
path 29
|
||||
polygon 110
|
||||
rect 1
|
||||
svg 1
|
||||
text 74
|
||||
hash 97d2f7e97ef77a9b
|
||||
text 73
|
||||
hash b3e48fc435c3fb7b
|
||||
@@ -1,10 +1,10 @@
|
||||
viewBox -16.5 0 49 35.22
|
||||
bytes 84235
|
||||
bytes 83634
|
||||
circle 14
|
||||
line 493
|
||||
line 488
|
||||
path 29
|
||||
polygon 110
|
||||
rect 1
|
||||
svg 1
|
||||
text 74
|
||||
hash fad902cb1fc95e90
|
||||
text 73
|
||||
hash faae47b733862385
|
||||
@@ -1,9 +1,9 @@
|
||||
viewBox -0.9 0 6.8 5.8
|
||||
bytes 7180
|
||||
bytes 7485
|
||||
line 35
|
||||
path 4
|
||||
polygon 23
|
||||
rect 1
|
||||
svg 1
|
||||
text 4
|
||||
hash 5b480a1ff81665ec
|
||||
hash b27877c94cb8dbfb
|
||||
@@ -1,9 +1,9 @@
|
||||
viewBox -0.9 0 6.8 5.8
|
||||
bytes 7202
|
||||
bytes 7507
|
||||
line 35
|
||||
path 4
|
||||
polygon 23
|
||||
rect 1
|
||||
svg 1
|
||||
text 4
|
||||
hash f1c8c391382719b8
|
||||
hash d614790cd50f9817
|
||||
Reference in new issue
Block a user