forked from 1b-agent/opencadstudio-upstream
feat: HATCHEDIT command to edit existing hatch pattern, scale, and angle
Add HATCHEDIT (HE alias) command. Works on pre-selected hatch or via entity pick. Accepts text options: P <pattern>, S <scale>, A <angle>. Enter applies changes; rebuilds hatch entity and GPU model via add_hatch. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
1 parent
8078c4c9da
commit
f6d716dfc5
7 files changed
+206
-2
No files matched your search
@@ -126,6 +126,8 @@ pub enum CmdResult {
|
||||
SetPlotWindow { p1: Vec3, p2: Vec3 },
|
||||
/// Replace the text content of a Text/MText entity in-place.
|
||||
DdeditEntity { handle: Handle, new_text: String },
|
||||
/// Apply new pattern/scale/angle to an existing hatch entity.
|
||||
HatcheditApply { handle: Handle, name: String, scale: f32, angle: f32 },
|
||||
}
|
||||
|
||||
// ── Trait ─────────────────────────────────────────────────────────────────
|
||||
|
||||
Reference in new issue
Block a user