feat(hatch): HPASSOC sets whether new hatches are associative

HPASSOC (0 or 1, default 1) is the starting state of the hatch
command's associative option. It is an application setting: typed
directly or through SETVAR, it persists across sessions and does not
mark the drawing modified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-13 15:32:55 +03:00
1 parent dd45ac4039
commit 2ddf2a31da
6 files changed
+29 -1

No files matched your search

+6
View File
@@ -248,6 +248,12 @@ impl HatchCommand {
command
}
/// HPASSOC: whether the hatch starts out associative.
pub fn with_associative(mut self, associative: bool) -> Self {
self.associative = associative;
self
}
pub fn with_origin(mut self, origin: [f64; 2]) -> Self {
self.default_origin = origin;
self