Feld/Array-Befehl: dupliziert Auswahl N-mal in einer Geste

Neuer Ändern-Befehl "Feld": Basispunkt, Zielpunkt (Länge/Winkel per Tab-
Feld), Anzahl per Option zyklisch (2..12). Nutzt den bestehenden
Transform-Modus "array" (tools/transform.ts), der schon länger existierte
aber bisher über keinen Befehl erreichbar war — nur ein Command-Wrapper
nötig, keine neue Transform-Logik.
This commit is contained in:
2026-08-22 02:55:49 +02:00
parent cad544ebd7
commit 19beb8e632
7 changed files with 280 additions and 1 deletions
+4
View File
@@ -28,6 +28,7 @@ import { moveCommand } from "./cmds/move";
import { mirrorCommand } from "./cmds/mirror";
import { joinCommand } from "./cmds/join";
import { copyCommand } from "./cmds/copy";
import { arrayCommand } from "./cmds/array";
import { offsetCommand } from "./cmds/offset";
import { extrudeCommand } from "./cmds/extrude";
import { trimCommand } from "./cmds/trim";
@@ -69,6 +70,7 @@ export const COMMANDS: Record<string, Command> = {
mirror: mirrorCommand,
join: joinCommand,
copy: copyCommand,
array: arrayCommand,
offset: offsetCommand,
extrude: extrudeCommand,
trim: trimCommand,
@@ -130,6 +132,8 @@ export const ALIASES: Record<string, string> = {
j: "join",
verbinden: "join",
cp: "copy",
ar: "array",
feld: "array",
o: "offset",
ex: "extrude",
tr: "trim",