Merge branch 'worktree-agent-a751fb43a1e6ff4e8' into claude/practical-noether-1hb2s1
This commit is contained in:
24 files changed
+777
-95
No files matched your search
@@ -1,5 +1,5 @@
|
||||
viewBox -41.5 0 95 63.6
|
||||
bytes 68384
|
||||
bytes 68731
|
||||
circle 16
|
||||
g 1
|
||||
line 141
|
||||
@@ -10,4 +10,4 @@ rect 1
|
||||
svg 1
|
||||
text 116
|
||||
tspan 25
|
||||
hash 73ca22505d4b088b
|
||||
hash b5e7427144bad44d
|
||||
@@ -1,13 +1,13 @@
|
||||
viewBox -41.5 0 95 63.6
|
||||
bytes 110549
|
||||
bytes 109923
|
||||
circle 16
|
||||
g 1
|
||||
line 365
|
||||
path 67
|
||||
line 353
|
||||
path 55
|
||||
polygon 231
|
||||
polyline 102
|
||||
polyline 106
|
||||
rect 1
|
||||
svg 1
|
||||
text 116
|
||||
tspan 25
|
||||
hash 757bff4a0a52194b
|
||||
hash aecdddaa4127edb5
|
||||
@@ -1,5 +1,5 @@
|
||||
viewBox -13.448 0 38.615 33.813
|
||||
bytes 45105
|
||||
bytes 45451
|
||||
circle 14
|
||||
g 1
|
||||
line 114
|
||||
@@ -10,4 +10,4 @@ rect 1
|
||||
svg 1
|
||||
text 87
|
||||
tspan 19
|
||||
hash c7704fd40741d5cc
|
||||
hash 96061b1dfd0ceb9d
|
||||
@@ -1,13 +1,13 @@
|
||||
viewBox -12.974 0 37.808 33.406
|
||||
bytes 355316
|
||||
bytes 354689
|
||||
circle 14
|
||||
g 1
|
||||
line 3254
|
||||
path 38
|
||||
line 3242
|
||||
path 26
|
||||
polygon 165
|
||||
polyline 156
|
||||
polyline 160
|
||||
rect 1
|
||||
svg 1
|
||||
text 86
|
||||
tspan 18
|
||||
hash 7003cc6954740f63
|
||||
hash b700554574b11f56
|
||||
@@ -1,5 +1,5 @@
|
||||
viewBox -13.693 0 38.86 33.813
|
||||
bytes 41775
|
||||
bytes 41997
|
||||
circle 16
|
||||
g 1
|
||||
line 97
|
||||
@@ -10,4 +10,4 @@ rect 1
|
||||
svg 1
|
||||
text 71
|
||||
tspan 15
|
||||
hash 140af5eec3465b69
|
||||
hash 7782442e8ae49a88
|
||||
@@ -1,13 +1,13 @@
|
||||
viewBox -13.693 0 38.527 33.406
|
||||
bytes 48751
|
||||
bytes 48673
|
||||
circle 16
|
||||
g 1
|
||||
line 94
|
||||
path 38
|
||||
line 90
|
||||
path 34
|
||||
polygon 84
|
||||
polyline 87
|
||||
polyline 89
|
||||
rect 1
|
||||
svg 1
|
||||
text 71
|
||||
tspan 15
|
||||
hash 4aa844c87458df0d
|
||||
hash 191d78593303ecf6
|
||||
@@ -153,4 +153,4 @@ walls[].start [2] x439
|
||||
walls[].startCut [4] x270
|
||||
walls[].topDrop [2] x22
|
||||
walls[].topPlane [3] x22
|
||||
hash dbb576d85f8fea00
|
||||
hash b66e5414bedc6358
|
||||
@@ -235,6 +235,11 @@ export interface RMesh {
|
||||
/** [T4] Glatt schattieren mit Knickwinkel (Grad); fehlt = kantig. Matcht
|
||||
* `render3d::types::MeshInput.creaseAngle`. */
|
||||
creaseAngle?: number;
|
||||
/**
|
||||
* [216] Geschlossener Wandkörper (Formöffnung, Bogenwand, Giebel): Schnitt-Stil der Schicht für den 3D-Live-Schnitt
|
||||
* (render3d schneidet das Netz, `section_mesh.rs`). Matcht `render3d::types::MeshInput.section`.
|
||||
*/
|
||||
section?: { hatch?: RHatch; cut?: RCutMeta };
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -35,8 +35,8 @@ const WALL_BODY_CREASE_DEG = 20;
|
||||
|
||||
/**
|
||||
* [216] Wandstücke, deren Band einen fertigen Körper hat (Wand mit Formöffnungen, Kern `model3d/wall_body.rs`):
|
||||
* render3d bekommt statt der Stücke (`noMesh`) das Netz des Körpers als Mesh; Schnitt, Ansicht und Export
|
||||
* rechnen im Kern mit den Stücken. Rest und Netze getrennt.
|
||||
* render3d bekommt statt der Stücke (`noMesh`) das Netz des Körpers als Mesh (mit Schnitt-Stil `section`: der
|
||||
* 3D-Live-Schnitt schneidet das Netz); Schnitt, Ansicht und Export rechnen im Kern mit den Stücken. Rest und Netze getrennt.
|
||||
*/
|
||||
export function splitWallBodies(walls: readonly RWall[]): { walls: RWall[]; meshes: RMesh[] } {
|
||||
const rest: RWall[] = [];
|
||||
@@ -55,6 +55,8 @@ export function splitWallBodies(walls: readonly RWall[]): { walls: RWall[]; mesh
|
||||
color: w.color,
|
||||
...(w.materialIndex !== undefined ? { materialIndex: w.materialIndex } : {}),
|
||||
creaseAngle: WALL_BODY_CREASE_DEG,
|
||||
// Live-Schnitt: render3d schneidet den Körper selbst (echte Öffnungsform statt der Stücke).
|
||||
section: { ...(w.hatch ? { hatch: w.hatch } : {}), ...(w.cut ? { cut: w.cut } : {}) },
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user