[77] Zauberstab in der Werkzeugleiste (2D)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTYBZBvLYCtugMJoKXaB67
This commit is contained in:
Claude committed 2026-11-04 14:12:39 +00:00
1 parent ff3a115d26
commit 51be36829a
6 files changed
+19 -1

No files matched your search

+1 -1
View File
@@ -1740,7 +1740,7 @@ Reihenfolge = Abhängigkeiten. Neue Geometrie entsteht in Rust ([K]).
Fläche (2D-Zeichnungen + Modellkanten des Geschosses, Kreise/Bögen als Sehnenzüge, Kreuzungen werden geteilt) →
geschlossene Polylinie mit der ersten Projekt-Schraffur; Vorschau beim Überfahren. Kern `magic_wand.rs`
(planarer Graph, kleinste Masche, `kernel2d::room_from_point_inside_faces`), Tests Rust + vitest. Offen: Wahl der
Schraffur/Option „nur Umriss", Inseln (Löcher) in der Fläche, Knopf in der Werkzeugleiste; nicht in der App geklickt.
Schraffur/Option „nur Umriss", Inseln (Löcher) in der Fläche; Knopf in der Werkzeugleiste (2D) seit 4.11.; nicht in der App geklickt.
- ✅ **[78] Autotext im Plankopf.** Titelblock löst Projekt/Blatt/Massstab/Datum auf; Plannummer laufend
oder `Layout.planNumber` (27.10.).
- ◐ **[79] Publikationssätze.** (30.10.) Modell (Rust, optional): `Project.publishSets` (`PublishSet`: Layouts in Reihenfolge,
+2
View File
@@ -209,6 +209,8 @@ export const de = {
"tool.revcloud.hint": "Revisionswolke: Punkte wie Polylinie klicken, Enter beendet offen, Klick nahe Start oder \"Schliessen\" schliesst",
"tool.pointmarker": "Punktmarker",
"tool.pointmarker.hint": "Punktmarker: Punkt setzen — Kreuz-in-Kreis-Symbol markiert einen Referenzpunkt",
"tool.wand": "Zauberstab",
"tool.wand.hint": "In eine umschlossene Fläche klicken: schraffierte Polylinie entlang ihres Rands",
"tool.grid": "Achsraster",
"tool.grid.hint": "Achsraster: Ursprung setzen, dann Feldweiten eingeben — Achsen mit Blasen in allen Plänen, Schnitten und Ansichten",
"tool.wipeout": "Maskenregion",
+2
View File
@@ -207,6 +207,8 @@ export const en: Record<TranslationKey, string> = {
"tool.revcloud.hint": "Revision cloud: click points like a polyline, Enter finishes open, clicking near start or \"Close\" closes it",
"tool.pointmarker": "Point marker",
"tool.pointmarker.hint": "Point marker: set a point — a cross-in-circle symbol marks a reference point",
"tool.wand": "Magic wand",
"tool.wand.hint": "Click inside an enclosed area: hatched polyline along its boundary",
"tool.grid": "Structural grid",
"tool.grid.hint": "Structural grid: set the origin, then enter bay widths — axes with bubbles in all plans, sections and elevations",
"tool.wipeout": "Mask region",
+12
View File
@@ -264,6 +264,17 @@ export const ToolIcon = memo(function ToolIcon({ id }: { id: ToolId }) {
<circle cx="11" cy="3" r="2" fill="none" />
</svg>
);
case "wand":
// Zauberstab ([77]): Stab mit Funken.
return (
<svg {...common}>
<line x1="3" y1="13" x2="10" y2="6" />
<line x1="12" y1="1" x2="12" y2="4" />
<line x1="15" y1="4" x2="12" y2="4" />
<line x1="9" y1="2" x2="10" y2="3.5" />
<line x1="14" y1="7" x2="12.5" y2="6" />
</svg>
);
case "pointmarker":
// Kreuz-in-Kreis (Punkt-/Knotenmarker).
return (
@@ -360,6 +371,7 @@ const TOOLS_2D: ToolId[] = [
"pointmarker",
"grid",
"wipeout",
"wand",
"text",
"leader",
"textpath",
+1
View File
@@ -43,6 +43,7 @@ const TOOLS: Record<ToolId, ToolInfo> = {
scalebar: { labelKey: "tool.scalebar", hintKey: "tool.scalebar.hint", command: "scalebar" },
revcloud: { labelKey: "tool.revcloud", hintKey: "tool.revcloud.hint", command: "revcloud" },
pointmarker: { labelKey: "tool.pointmarker", hintKey: "tool.pointmarker.hint", command: "pointmarker" },
wand: { labelKey: "tool.wand", hintKey: "tool.wand.hint", command: "wand" },
grid: { labelKey: "tool.grid", hintKey: "tool.grid.hint", command: "grid" },
wipeout: { labelKey: "tool.wipeout", hintKey: "tool.wipeout.hint", command: "wipeout" },
text: { labelKey: "tool.text", hintKey: "tool.text.hint", command: "text" },
+1
View File
@@ -31,6 +31,7 @@ export type ToolId =
| "scalebar"
| "revcloud"
| "pointmarker"
| "wand"
| "grid"
| "wipeout"
| "text"