[148][142] Merge Flach-/Pultdach auf beliebigem Umriss mit Schatten je Fläche (Schatten aus [142], Dach-Tests übernommen)
This commit is contained in:
15 files changed
+393
-63
No files matched your search
@@ -139,7 +139,8 @@ function decodeGeometry(b: Float64Array): RoofGeometry {
|
||||
/**
|
||||
* Dach-Geometrie aus Form/Neigung/Überstand + Traufhöhe `eavesZ` (Rust-Kern). Rechteck: auf der
|
||||
* Bounding-Box des Umrisses, um den Überstand geweitet, First entlang `ridgeAxis`; L/T/U und
|
||||
* schiefe Umrisse: Skelett mit Graten, Kehlen und Giebeln.
|
||||
* schiefe Umrisse: Skelett mit Graten, Kehlen und Giebeln; Flach/Pult: eine Ebene über dem echten
|
||||
* Umriss (konvexe Teilflächen, [148]).
|
||||
*/
|
||||
export function roofGeometry(roof: Roof, eavesZ: number): RoofGeometry {
|
||||
// Memo je Dach-Objekt: Dächer sind immutabel (structural sharing), die Geometrie wird je
|
||||
|
||||
@@ -2666,7 +2666,10 @@ export type Roof = {
|
||||
categoryCode: string;
|
||||
/** Objekt-Sperre, analog `Wall.locked`. */
|
||||
locked?: boolean;
|
||||
/** Geschlossener Grundriss-Umriss (Meter); Geometrie nutzt die Bounding-Box. */
|
||||
/**
|
||||
* Geschlossener Grundriss-Umriss (Meter). Flach/Pult/Walm/Zelt folgen dem Umriss, Sattel/Mansarde einem
|
||||
* rechtwinkligen; nur Giebelformen auf schiefem Umriss nutzen die Bounding-Box.
|
||||
*/
|
||||
outline: Array<Vec2>;
|
||||
/**
|
||||
* Innenhöfe/Lichthöfe als Ringe (Meter, jeder Ring geschlossen, Drehsinn egal). Das Dach
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
viewBox -4.2 0 37.045 17.678
|
||||
bytes 265288
|
||||
bytes 269563
|
||||
circle 4
|
||||
g 1
|
||||
line 615
|
||||
polygon 1555
|
||||
polyline 68
|
||||
line 625
|
||||
polygon 1581
|
||||
polyline 69
|
||||
rect 1
|
||||
svg 1
|
||||
text 4
|
||||
hash bc4a285700382759
|
||||
hash ea60895e1c1610dc
|
||||
@@ -1,13 +1,13 @@
|
||||
viewBox -41.5 0 95 63.6
|
||||
bytes 86753
|
||||
bytes 86150
|
||||
circle 16
|
||||
g 1
|
||||
line 314
|
||||
path 18
|
||||
polygon 105
|
||||
polygon 104
|
||||
polyline 110
|
||||
rect 1
|
||||
svg 1
|
||||
text 118
|
||||
tspan 26
|
||||
hash 0e0766fc067349b8
|
||||
hash 8e0acc6189e6a1db
|
||||
@@ -1,13 +1,13 @@
|
||||
viewBox -41.5 0 95 63.6
|
||||
bytes 115255
|
||||
bytes 114652
|
||||
circle 16
|
||||
g 1
|
||||
line 338
|
||||
path 39
|
||||
polygon 267
|
||||
polygon 266
|
||||
polyline 126
|
||||
rect 1
|
||||
svg 1
|
||||
text 121
|
||||
tspan 32
|
||||
hash abad2355b6c43693
|
||||
hash 7876b345c4febd38
|
||||
@@ -1,12 +1,12 @@
|
||||
viewBox -4.243 0 25.297 23.11
|
||||
bytes 340014
|
||||
viewBox -4.055 0 25.109 23.11
|
||||
bytes 342044
|
||||
circle 14
|
||||
g 1
|
||||
line 3310
|
||||
polygon 67
|
||||
line 3323
|
||||
polygon 66
|
||||
polyline 154
|
||||
rect 1
|
||||
svg 1
|
||||
text 91
|
||||
tspan 23
|
||||
hash 0866889e3f7d4f2e
|
||||
hash 8709adcfa69e7468
|
||||
@@ -1,13 +1,13 @@
|
||||
viewBox -4.243 0 25.297 23.11
|
||||
bytes 370821
|
||||
viewBox -4.055 0 25.109 23.11
|
||||
bytes 372851
|
||||
circle 14
|
||||
g 1
|
||||
line 3333
|
||||
line 3346
|
||||
path 21
|
||||
polygon 228
|
||||
polygon 227
|
||||
polyline 169
|
||||
rect 1
|
||||
svg 1
|
||||
text 91
|
||||
tspan 24
|
||||
hash a1f248594f92e707
|
||||
hash 2737e7ed56c6df93
|
||||
@@ -3,8 +3,9 @@ meshes[].color [3] x1930
|
||||
meshes[].indices [108] x6
|
||||
meshes[].indices [144] x36
|
||||
meshes[].indices [156642]
|
||||
meshes[].indices [192] x3
|
||||
meshes[].indices [348] x6
|
||||
meshes[].indices [36] x1861
|
||||
meshes[].indices [36] x1858
|
||||
meshes[].indices [372]
|
||||
meshes[].indices [60] x9
|
||||
meshes[].indices [72]
|
||||
@@ -19,17 +20,19 @@ meshes[].positions [216]
|
||||
meshes[].positions [24] x1826
|
||||
meshes[].positions [252] x2
|
||||
meshes[].positions [288] x6
|
||||
meshes[].positions [306] x3
|
||||
meshes[].positions [324] x6
|
||||
meshes[].positions [4746]
|
||||
meshes[].positions [72] x5
|
||||
meshes[].positions [72] x2
|
||||
meshes[].positions [78837]
|
||||
meshes[].positions [78] x36
|
||||
roofLayers [59]
|
||||
roofLayers[].color [3] x59
|
||||
roofLayers[].normal [3] x59
|
||||
roofLayers[].polygon [4] x53
|
||||
roofLayers[].polygon [17] x3
|
||||
roofLayers[].polygon [4] x50
|
||||
roofLayers[].polygon [5] x6
|
||||
roofLayers[].polygon[] [3] x242
|
||||
roofLayers[].polygon[] [3] x281
|
||||
slabs [102]
|
||||
slabs[].color [3] x102
|
||||
slabs[].outline [12]
|
||||
@@ -52,4 +55,4 @@ walls[].start [2] x1489
|
||||
walls[].startCut [4] x1164
|
||||
walls[].topDrop [2] x103
|
||||
walls[].topPlane [3] x259
|
||||
hash f90e936890c00a18
|
||||
hash f6fa8d0643a66fab
|
||||
Reference in new issue
Block a user