forked from 1b-agent/opencadstudio-upstream
feat(draw): Arc Continue command; 3-Point default
Arc ribbon default + icon + dropdown order set to 3-Point. New ARC_CONT: tangent-continuing arc from the last line/arc endpoint, pick end only; Ctrl flips direction. Exit anchor recorded on commit (disambiguated by last pick) so chaining continues from the correct end. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
1 parent
b808fc2f86
commit
c4fcfacb18
10 files changed
+212
-13
No files matched your search
@@ -552,6 +552,11 @@ pub trait CadCommand: Send {
|
||||
/// ignore it. Called before each point / preview dispatch.
|
||||
fn set_ucs(&mut self, _ucs: glam::Mat4) {}
|
||||
|
||||
/// Push the live Ctrl-key state into the command before each preview/commit
|
||||
/// dispatch. Commands that offer a Ctrl toggle (e.g. arc-direction flip on
|
||||
/// `ARC_CONT`) store it; most commands ignore it. Default no-op.
|
||||
fn set_ctrl(&mut self, _ctrl: bool) {}
|
||||
|
||||
/// Called when the user left-clicks in the viewport (point pick).
|
||||
fn on_point(&mut self, pt: DVec3) -> CmdResult;
|
||||
|
||||
|
||||
Reference in new issue
Block a user