[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:
41 files changed
+2351
-72
No files matched your search
@@ -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,
|
||||
|
||||
@@ -35,6 +35,7 @@ export type ToolId =
|
||||
| "scalebar"
|
||||
| "revcloud"
|
||||
| "pointmarker"
|
||||
| "grid"
|
||||
| "wipeout"
|
||||
| "text"
|
||||
| "leader"
|
||||
|
||||
Reference in new issue
Block a user