Merge branch 'worktree-agent-a70a8e4a2bbd76737' into claude/practical-noether-1hb2s1

# Conflicts:
#	TODO.md
This commit is contained in:
Claude committed 2026-11-07 15:59:06 +00:00
commit 58fd92b6ce
32 files changed
+1695 -347

No files matched your search

+21 -37
View File
@@ -2,7 +2,7 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-0.6725 0 6.345 5.345" width="63.45mm" height="53.45mm">
<rect x="-0.6725" y="0" width="6.345" height="5.345" 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="#f0f0f0" stroke="none" stroke-width="0"/>
<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"/>
<text x="0.98291" y="2.31972" font-family="Inter, sans-serif" text-anchor="start"><tspan font-size="0.3528" fill="#111111">Wohnen</tspan></text>
<text x="2.5" y="2.77833" font-family="Inter, sans-serif" text-anchor="middle"><tspan font-size="0.28222" fill="#111111">17.01 m²</tspan></text>
@@ -19,42 +19,26 @@
<polygon points="2.475,4.5 2.475,0.845 2.325,0.845 2.325,4.5" fill="#0f0f0f" stroke="none"/>
<line x1="2.475" y1="4.5" x2="2.475" y2="0.845" stroke="#1a1a1a" stroke-width="0.025"/>
<line x1="2.325" y1="0.845" x2="2.325" y2="4.5" stroke="#1a1a1a" stroke-width="0.025"/>
<polygon points="3.2,4.2725 3.2,4.05917 4.2,4.05917 4.2,4.2725" fill="none" stroke="#1a1a1a" stroke-width="0.0126"/>
<line x1="3.2" y1="4.05917" x2="4.2" y2="4.05917" stroke="#1a1a1a" stroke-width="0.018"/>
<polygon points="3.2,4.05917 3.2,3.84583 4.2,3.84583 4.2,4.05917" fill="none" stroke="#1a1a1a" stroke-width="0.0126"/>
<line x1="3.2" y1="3.84583" x2="4.2" y2="3.84583" stroke="#1a1a1a" stroke-width="0.018"/>
<polygon points="3.2,3.84583 3.2,3.6325 4.2,3.6325 4.2,3.84583" fill="none" stroke="#1a1a1a" stroke-width="0.0126"/>
<line x1="3.2" y1="3.6325" x2="4.2" y2="3.6325" stroke="#1a1a1a" stroke-width="0.018"/>
<polygon points="3.2,3.6325 3.2,3.41917 4.2,3.41917 4.2,3.6325" fill="none" stroke="#1a1a1a" stroke-width="0.0126"/>
<line x1="3.2" y1="3.41917" x2="4.2" y2="3.41917" stroke="#1a1a1a" stroke-width="0.018"/>
<polygon points="3.2,3.41917 3.2,3.20583 4.2,3.20583 4.2,3.41917" fill="none" stroke="#1a1a1a" stroke-width="0.0126"/>
<line x1="3.2" y1="3.20583" x2="4.2" y2="3.20583" stroke="#1a1a1a" stroke-width="0.018"/>
<polygon points="3.2,3.20583 3.2,2.9925 4.2,2.9925 4.2,3.20583" fill="none" stroke="#1a1a1a" stroke-width="0.0126"/>
<line x1="3.2" y1="2.9925" x2="4.2" y2="2.9925" stroke="#1a1a1a" stroke-width="0.0108" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
<polygon points="3.2,2.9925 3.2,2.77917 4.2,2.77917 4.2,2.9925" fill="none" stroke="#1a1a1a" stroke-width="0.0126"/>
<line x1="3.2" y1="2.77917" x2="4.2" y2="2.77917" stroke="#1a1a1a" stroke-width="0.0108" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
<polygon points="3.2,2.77917 3.2,2.56583 4.2,2.56583 4.2,2.77917" fill="none" stroke="#1a1a1a" stroke-width="0.0126"/>
<line x1="3.2" y1="2.56583" x2="4.2" y2="2.56583" stroke="#1a1a1a" stroke-width="0.0108" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
<polygon points="3.2,2.56583 3.2,2.3525 4.2,2.3525 4.2,2.56583" fill="none" stroke="#1a1a1a" stroke-width="0.0126"/>
<line x1="3.2" y1="2.3525" x2="4.2" y2="2.3525" stroke="#1a1a1a" stroke-width="0.0108" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
<polygon points="3.2,2.3525 3.2,2.13917 4.2,2.13917 4.2,2.3525" fill="none" stroke="#1a1a1a" stroke-width="0.0126"/>
<line x1="3.2" y1="2.13917" x2="4.2" y2="2.13917" stroke="#1a1a1a" stroke-width="0.0108" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
<polygon points="3.2,2.13917 3.2,1.92583 4.2,1.92583 4.2,2.13917" fill="none" stroke="#1a1a1a" stroke-width="0.0126"/>
<line x1="3.2" y1="1.92583" x2="4.2" y2="1.92583" stroke="#1a1a1a" stroke-width="0.0108" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
<polygon points="3.2,1.92583 3.2,1.7125 4.2,1.7125 4.2,1.92583" fill="none" stroke="#1a1a1a" stroke-width="0.0126"/>
<line x1="3.2" y1="1.7125" x2="4.2" y2="1.7125" stroke="#1a1a1a" stroke-width="0.0108" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
<polygon points="3.2,1.7125 3.2,1.49917 4.2,1.49917 4.2,1.7125" fill="none" stroke="#1a1a1a" stroke-width="0.0126"/>
<line x1="3.2" y1="1.49917" x2="4.2" y2="1.49917" stroke="#1a1a1a" stroke-width="0.0108" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
<polygon points="3.2,1.49917 3.2,1.28583 4.2,1.28583 4.2,1.49917" fill="none" stroke="#1a1a1a" stroke-width="0.0126"/>
<line x1="3.2" y1="1.28583" x2="4.2" y2="1.28583" stroke="#1a1a1a" stroke-width="0.0108" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
<polygon points="3.2,1.28583 3.2,1.0725 4.2,1.0725 4.2,1.28583" fill="none" stroke="#1a1a1a" stroke-width="0.0126"/>
<line x1="3.2" y1="1.0725" x2="4.2" y2="1.0725" stroke="#1a1a1a" stroke-width="0.0108" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
<line x1="3.2" y1="3.03917" x2="4.2" y2="3.03917" stroke="#1a1a1a" stroke-width="0.018"/>
<line x1="3.2" y1="3.15917" x2="4.2" y2="3.15917" stroke="#1a1a1a" stroke-width="0.018"/>
<line x1="3.7" y1="4.16583" x2="3.7" y2="1.1045" stroke="#1a1a1a" stroke-width="0.018"/>
<line x1="3.579" y1="1.3245" x2="3.7" y2="1.1045" stroke="#1a1a1a" stroke-width="0.018"/>
<line x1="3.821" y1="1.3245" x2="3.7" y2="1.1045" stroke="#1a1a1a" stroke-width="0.018"/>
<polygon points="3.2,4.2725 4.2,4.2725 4.2,1.0725 3.2,1.0725" fill="none" stroke="#1a1a1a" stroke-width="0.018"/>
<polygon points="3.2,4.2725 4.2,4.2725 4.2,1.0725 3.2,1.0725" fill="none" stroke="none" stroke-width="0"/>
<polyline points="4.2,3.09917 4.2,1.0725 3.2,1.0725 3.2,3.09917" fill="none" stroke="#1a1a1a" stroke-width="0.013" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.12333"/>
<line x1="3.2" y1="4.05917" x2="4.2" y2="4.05917" stroke="#1a1a1a" stroke-width="0.01"/>
<line x1="3.2" y1="3.84583" x2="4.2" y2="3.84583" stroke="#1a1a1a" stroke-width="0.01"/>
<line x1="3.2" y1="3.6325" x2="4.2" y2="3.6325" stroke="#1a1a1a" stroke-width="0.01"/>
<line x1="3.2" y1="3.41917" x2="4.2" y2="3.41917" stroke="#1a1a1a" stroke-width="0.01"/>
<line x1="3.2" y1="3.20583" x2="4.2" y2="3.20583" stroke="#1a1a1a" stroke-width="0.01"/>
<line x1="3.2" y1="2.9925" x2="4.2" y2="2.9925" stroke="#1a1a1a" stroke-width="0.01" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
<line x1="3.2" y1="2.77917" x2="4.2" y2="2.77917" stroke="#1a1a1a" stroke-width="0.01" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
<line x1="3.2" y1="2.56583" x2="4.2" y2="2.56583" stroke="#1a1a1a" stroke-width="0.01" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
<line x1="3.2" y1="2.3525" x2="4.2" y2="2.3525" stroke="#1a1a1a" stroke-width="0.01" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
<line x1="3.2" y1="2.13917" x2="4.2" y2="2.13917" stroke="#1a1a1a" stroke-width="0.01" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
<line x1="3.2" y1="1.92583" x2="4.2" y2="1.92583" stroke="#1a1a1a" stroke-width="0.01" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
<line x1="3.2" y1="1.7125" x2="4.2" y2="1.7125" stroke="#1a1a1a" stroke-width="0.01" stroke-dasharray="0.2 0.1" stroke-dashoffset="0.05"/>
<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="1.1045" stroke="#1a1a1a" stroke-width="0.01"/>
<line x1="3.579" y1="1.3245" x2="3.7" y2="1.1045" stroke="#1a1a1a" stroke-width="0.01"/>
<line x1="3.7" y1="1.1045" x2="3.821" y2="1.3245" stroke="#1a1a1a" stroke-width="0.01"/>
<line x1="-1" y1="2.6725" x2="6" y2="2.6725" stroke="#1f242c" stroke-width="0.018" stroke-dasharray="0.6 0.15 0.04 0.15" stroke-dashoffset="0.09"/>
<polyline points="-1,2.9725 -1,2.3725 -1,1.7725" fill="none" stroke="#1f242c" stroke-width="0.025"/>
<line x1="-1" y1="1.7725" x2="-0.85" y2="2.0125" stroke="#1f242c" stroke-width="0.025"/>

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

+1 -1
View File
@@ -204,7 +204,7 @@ function findLevel(project: Project, kinds: string[], name: string | undefined)
}
/** Ansichts-Felder einer Vorlage, die am Geschoss/Schnitt/Ansicht stehen (wie `state/viewTemplates.ts`). */
const TEMPLATE_LEVEL_KEYS = ["cutHeight", "viewTop", "viewBottom", "viewDepth", "shadows", "hiddenLines", "sketch", "cutHatch"] as const;
const TEMPLATE_LEVEL_KEYS = ["cutHeight", "viewTop", "viewBottom", "viewDepth", "shadows", "hiddenLines", "sketch", "cutHatch", "floorFinish"] as const;
/**
* [33]/[34] `--template <Name|id>`: Ansichtsvorlage auf die Ebene anwenden (Override-Regeln nach
+5
View File
@@ -1162,6 +1162,10 @@ export const de = {
"resources.viewTemplates.shadows": "Schatten",
"resources.viewTemplates.hiddenLines": "Verdeckte Kanten",
"resources.viewTemplates.cutHatch": "Schnittflächen 1:100 schraffiert (statt schwarz)",
"resources.viewTemplates.floorFinish": "Bodenbelag zeigen (ohne: ab 1:50 bzw. „fein“)",
"resources.viewTemplates.floorFinish.off": "aus",
"resources.viewTemplates.floorFinish.wet": "Nassräume (Platten, gröber als 1:50)",
"resources.viewTemplates.floorFinish.all": "alle",
"resources.viewTemplates.rules": "Override-Regeln festlegen",
"resources.viewTemplates.rulesHint": "Eingeschaltete Regeln gelten in Ansichten/Ausschnitten mit dieser Vorlage, alle übrigen sind dort aus.",
"resources.viewTemplates.ruleBlock": "Baustein übernehmen",
@@ -1255,6 +1259,7 @@ export const de = {
"resources.overrides.val.element_kind.shadow": "Schatten",
"resources.overrides.val.element_kind.terrain": "Gelände",
"resources.overrides.val.element_kind.mesh": "Importiertes Netz",
"resources.overrides.val.element_kind.floor_finish": "Bodenbelag (Muster im Grundriss)",
"resources.overrides.action.hide": "Ausblenden",
"resources.overrides.value.material": "Name, Kennung oder std-c-…",
"resources.overrides.and": "und",
+5
View File
@@ -1156,6 +1156,10 @@ export const en: Record<TranslationKey, string> = {
"resources.viewTemplates.shadows": "Shadows",
"resources.viewTemplates.hiddenLines": "Hidden lines",
"resources.viewTemplates.cutHatch": "Hatched cut areas at 1:100 (instead of solid black)",
"resources.viewTemplates.floorFinish": "Show floor finish (unset: from 1:50 or “fine”)",
"resources.viewTemplates.floorFinish.off": "off",
"resources.viewTemplates.floorFinish.wet": "Wet rooms (tiles, coarser than 1:50)",
"resources.viewTemplates.floorFinish.all": "all",
"resources.viewTemplates.rules": "Set override rules",
"resources.viewTemplates.rulesHint": "Checked rules apply in views and snapshots using this template, all others are off there.",
"resources.viewTemplates.ruleBlock": "Add building block",
@@ -1249,6 +1253,7 @@ export const en: Record<TranslationKey, string> = {
"resources.overrides.val.element_kind.shadow": "Shadow",
"resources.overrides.val.element_kind.terrain": "Terrain",
"resources.overrides.val.element_kind.mesh": "Imported mesh",
"resources.overrides.val.element_kind.floor_finish": "Floor finish (plan pattern)",
"resources.overrides.action.hide": "Hide",
"resources.overrides.value.material": "Name, id or std-c-…",
"resources.overrides.and": "and",
+12
View File
@@ -1123,6 +1123,10 @@ export type DrawingLevel = {
* schwarze Fläche (Poché). Fehlt/aus: ab 1:100 schwarz, 1:50 und Detail „fein" schraffiert.
*/
cutHatch?: boolean;
/**
* [156] Bodenbelag-Muster im Grundriss: fehlt = automatisch (ab 1:50 bzw. Detail „fein" alle, gröber keine).
*/
floorFinish?: FloorFinishDisplay;
/**
* Grundriss-Unterlage (nur Schnitt/Ansicht): ID eines Geschosses, dessen
* Grundriss AUSGERICHTET unter dem Schnitt/der Ansicht gezeigt wird (Schnitt-
@@ -1287,6 +1291,12 @@ export type ExtrudedSolid = {
brep?: { spec: Record<string, unknown>; origin: Vec2; label?: string };
};
/**
* [156] Bodenbelag-Muster im Grundriss (Ansichtsvorlage/Ebene): „aus" nie, „Nassräume" ab 1:50/„fein"
* alle und gröber nur Plattenbeläge in Nassräumen (Bad/WC/Dusche), „alle" in jedem Massstab.
*/
export type FloorFinishDisplay = "off" | "wet" | "all";
/**
* Ein Türtyp (Türstil) — wiederverwendbares Preset für {@link Opening} mit
* `kind: "door"`. Bündelt Bauart, Blattausführung und Standardmaße. Werte am
@@ -3482,6 +3492,8 @@ export type ViewTemplate = {
sketch?: boolean;
/** [140] Schnittflächen ab 1:100 schraffiert statt schwarz (s. `DrawingLevel::cut_hatch`). */
cutHatch?: boolean;
/** [156] Bodenbelag-Muster im Grundriss (s. `DrawingLevel::floor_finish`). */
floorFinish?: FloorFinishDisplay;
/** Strichstärken mit dem Massstab skalieren. */
scaleLineWeights?: boolean;
/** Schnitthöhe über OKFF ([36]). */
@@ -1,12 +1,12 @@
viewBox -4.243 0 23.243 18.205
bytes 298010
bytes 23064
circle 14
g 1
line 3222
line 91
polygon 22
polyline 70
polyline 20
rect 1
svg 1
text 36
tspan 12
hash 735e870f40a3c586
hash 476f813f443d315d
@@ -1,12 +1,12 @@
viewBox -4.243 0 23.243 18.205
bytes 308573
bytes 307254
circle 14
g 1
line 3223
line 3202
polygon 76
polyline 75
polyline 78
rect 1
svg 1
text 36
tspan 12
hash ab8f9617d6f7d16b
hash 24e2377802dd7bbc
@@ -1,13 +1,13 @@
viewBox -41.5 0 95 63.6
bytes 83229
bytes 77791
circle 16
g 1
line 269
line 158
path 18
polygon 106
polyline 120
polygon 91
polyline 124
rect 1
svg 1
text 118
tspan 26
hash 9e9501052d5dfb39
hash 152d5241c7868827
@@ -1,13 +1,13 @@
viewBox -41.5 0 95 63.6
bytes 112023
bytes 128960
circle 16
g 1
line 294
line 403
path 39
polygon 268
polyline 137
polygon 253
polyline 145
rect 1
svg 1
text 121
tspan 32
hash 3a31318c028477f0
hash d4d84942c135622a
@@ -1,12 +1,12 @@
viewBox -4.243 0 25.297 23.11
bytes 340824
bytes 49755
circle 14
g 1
line 3307
polygon 67
polyline 156
line 128
polygon 52
polyline 111
rect 1
svg 1
text 91
tspan 23
hash bacb8f3cc9970a80
text 90
tspan 22
hash f34a5df35938ec79
@@ -1,13 +1,13 @@
viewBox -4.243 0 25.297 23.11
bytes 371899
bytes 361442
circle 14
g 1
line 3334
line 3227
path 21
polygon 228
polyline 171
polygon 213
polyline 180
rect 1
svg 1
text 91
tspan 24
hash eccc034e26cbd3c2
hash 4d3f45b22f1bbcc7
@@ -1,13 +1,13 @@
viewBox -10.004 0 31.058 26.958
bytes 48741
bytes 51629
circle 14
g 1
line 110
path 2
polygon 60
line 115
path 4
polygon 44
polyline 81
rect 1
svg 1
text 75
tspan 20
hash a9f5556e41861d67
hash c69c51600b89e05d
@@ -1,13 +1,13 @@
viewBox -10.004 0 31.058 26.958
bytes 59010
bytes 61927
circle 14
g 1
line 115
path 13
polygon 105
line 120
path 15
polygon 89
polyline 87
rect 1
svg 1
text 75
tspan 20
hash e38a3134bcc0c0d4
hash 313f8c57cbd6ef78
@@ -1,11 +1,11 @@
viewBox -0.672 0 6.345 5.345
bytes 8216
bytes 6549
g 1
line 32
polygon 30
polyline 4
line 29
polygon 16
polyline 5
rect 1
svg 1
text 7
tspan 3
hash 261fa3c016628c74
hash 9dad2d2e8cad8951
@@ -1,11 +1,11 @@
viewBox -0.672 0 6.345 5.345
bytes 11919
bytes 10294
g 1
line 33
polygon 62
polyline 8
line 30
polygon 48
polyline 9
rect 1
svg 1
text 7
tspan 3
hash 81055535667e58fc
hash e23122bd0fdcd298
+5
View File
@@ -35,6 +35,11 @@ function withTemplate(p: Project): Project {
}
describe("viewTemplates", () => {
it("[156] setzt „Bodenbelag zeigen“ am Geschoss", () => {
const p = applyOps(base(), addTemplateOps({ id: "tb", name: "Nass", floorFinish: "wet" }));
const q = applyOps(p, applyToLevelOps(p, "tb", "eg", false));
expect(q.drawingLevels.find((l) => l.id === "eg")?.floorFinish).toBe("wet");
});
it("erfasst Geschoss- und Anzeigewerte", () => {
const p = base();
const t = captureTemplate("t", "V", p.drawingLevels.find((l) => l.id === "eg"), ui);
+1 -1
View File
@@ -29,7 +29,7 @@ export interface ViewTemplateUi {
}
/** Geschoss-Felder, die eine Vorlage setzt (fehlt das Vorlagen-Feld, bleibt die Ansicht unberührt). */
const LEVEL_KEYS = ["cutHeight", "viewTop", "viewBottom", "viewDepth", "shadows", "hiddenLines", "sketch", "cutHatch"] as const;
const LEVEL_KEYS = ["cutHeight", "viewTop", "viewBottom", "viewDepth", "shadows", "hiddenLines", "sketch", "cutHatch", "floorFinish"] as const;
/** Teilobjekt für das Geschoss aus den gesetzten Feldern der Vorlage. */
export function levelPatch(t: ViewTemplate): Partial<DrawingLevel> {
+1 -1
View File
@@ -28,7 +28,7 @@ const OVERRIDE_TYPE_OPTIONS: { value: OverrideConditionType; labelKey: string }[
/** [33] Feste Werte je Kriterium (Auswahl statt Freitext); Beschriftung `resources.overrides.val.<typ>.<wert>`. */
const ENUM_VALUES: Partial<Record<OverrideConditionType, readonly string[]>> = {
element_kind: ["wall", "slab", "ground_slab", "roof", "stair", "column", "opening", "room", "shadow", "terrain", "mesh"],
element_kind: ["wall", "slab", "ground_slab", "roof", "stair", "column", "opening", "room", "shadow", "terrain", "mesh", "floor_finish"],
layer_function: ["structure", "insulation", "screed", "finish", "plaster", "substructure", "membrane", "cladding", "air"],
layer_position: ["above", "structure", "below"],
view_kind: ["plan", "section", "elevation"],
@@ -157,6 +157,15 @@ function TemplateDetail({
{bool("scaleLineWeights", t("resources.viewTemplates.scaleLineWeights"))}
{bool("sketch", t("resources.viewTemplates.sketch"))}
{bool("cutHatch", t("resources.viewTemplates.cutHatch"))}
<Optional label={t("resources.viewTemplates.floorFinish")} on={tpl.floorFinish !== undefined} onToggle={(on) => patch({ floorFinish: on ? "off" : null })}>
<select className="res-input" aria-label={t("resources.viewTemplates.floorFinish")} value={tpl.floorFinish ?? "off"} onChange={(e) => patch({ floorFinish: e.target.value })}>
{(["off", "wet", "all"] as const).map((v) => (
<option key={v} value={v}>
{t(`resources.viewTemplates.floorFinish.${v}`)}
</option>
))}
</select>
</Optional>
<RulesSection tpl={tpl} project={project} h={h} />
<div className="res-hint">{t("resources.viewTemplates.rangeHint")}</div>
{num("cutHeight", t("resources.viewTemplates.cutHeight"), 1.0)}