[38][112] Achsraster (rechtwinklig/radial, Blasen, Fang, Schnitt/Ansicht, DXF, Griffe), Bemassung an Rasterachsen, Bogenwänden, Treppen; Radius-/Durchmesser-/Bogenlängen-Mass; Autodim für nicht mittige Wände

This commit is contained in:
Claude committed 2026-10-30 09:16:40 +00:00
1 parent 265e3e25a4
commit dfa4e5a32e
41 files changed
+2351 -72

No files matched your search

+13
View File
@@ -346,6 +346,18 @@ const pointmarkerTool: Tool = {
onCancel: (s) => [s, { draft: null, done: true }],
};
// Achsraster ([112]): Platzhalter-Werkzeug, gekoppelt an den `grid`-Befehl (Ursprung + Feldweiten).
const gridTool: Tool = {
id: "grid",
labelKey: "tool.grid",
hintKey: () => "tool.grid.hint",
init: () => ({ phase: "idle" }),
onClick: (s) => [s, { draft: null }],
onMove: (s) => [s, { draft: null }],
onCommitGesture: (s) => [s, { draft: null, done: true }],
onCancel: (s) => [s, { draft: null, done: true }],
};
// Wipeout/Maskenregion: Platzhalter-Werkzeug, gekoppelt an den
// `wipeout`-Befehl (Punktfolge, schliesst automatisch → weisse Maskenfläche).
// Freies 2D-Element (nicht floorOnly).
@@ -456,6 +468,7 @@ const TOOLS: Record<ToolId, Tool> = {
scalebar: scalebarTool,
revcloud: revcloudTool,
pointmarker: pointmarkerTool,
grid: gridTool,
wipeout: wipeoutTool,
text: textTool,
leader: leaderTool,