SIA-Wandschraffuren: Beton-Kreuz, Backstein/Dämmung wandrelativ, hairline
- HatchStyle.relativeToWall: der Wandwinkel (aus wall.start/end) wird in addWallPoche und resolveWallSectionStyle auf hatch.angle addiert (Vorzeichen zur SVG-CW-Konvention passend), sodass die Schraffur der Wandachse folgt. - sampleProject: sia-concrete (crosshatch 45° absolut), sia-brick (diagonal wandrelativ), sia-insulation (diagonal 90° wandrelativ, solide Haarlinie); Komponenten Beton/Backstein/Dämmung darauf umgehängt. Dichte Muster (scale 0.5/0.5/0.45), hairline (Strichgewicht 0.05 → 0.6px-Boden). - Poché-Hinterlegung: mehrschichtige Wände (und einschichtige) weiss, solid schwarz (Fill + Schraffurfarbe), konsistent in SVG- und glPlan-Fill; Mono behält Schwarz für solid. Gilt auch für den Schnitt-Cut. - ResourceManager: Wandbezug-Schalter im Hatch-Manager. exportDxf: Dash- Splitting für gestrichelte Schraffuren.
This commit is contained in:
@@ -860,12 +860,13 @@ const HATCH_COLUMNS: ResColumn[] = [
|
||||
{ titleKey: "resources.col.pattern" },
|
||||
{ titleKey: "resources.col.scale", align: "right" },
|
||||
{ titleKey: "resources.col.angle", align: "right" },
|
||||
{ titleKey: "resources.col.relativeToWall" },
|
||||
{ titleKey: "resources.col.color" },
|
||||
{ titleKey: "resources.col.lineStyle" },
|
||||
{ titleKey: "" },
|
||||
];
|
||||
const HATCH_TEMPLATE =
|
||||
"minmax(110px, 1fr) minmax(120px, 0.9fr) 64px 60px auto minmax(120px, 0.9fr) 36px";
|
||||
"minmax(110px, 1fr) minmax(120px, 0.9fr) 64px 60px 64px auto minmax(120px, 0.9fr) 36px";
|
||||
|
||||
function HatchRow({
|
||||
hatch,
|
||||
@@ -918,6 +919,14 @@ function HatchRow({
|
||||
step={5}
|
||||
/>
|
||||
</ResCell>
|
||||
<ResCell>
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={!!hatch.relativeToWall}
|
||||
onChange={(e) => onPatch({ relativeToWall: e.target.checked })}
|
||||
title={t("resources.col.relativeToWall.hint")}
|
||||
/>
|
||||
</ResCell>
|
||||
<ResCell>
|
||||
<ColorField color={hatch.color} onChange={(color) => onPatch({ color })} />
|
||||
</ResCell>
|
||||
|
||||
Reference in New Issue
Block a user