forked from 1b-agent/opencadstudio-upstream
VPCLIP arc options, visible linked clip boundaries, XCLIP depth rejection
- VPCLIP arc mode takes Angle, CEnter, Direction, Radius and Second pt with the reference prompts, and CLose closes with a tangent arc; the arc math is shared with PLINE. - Viewport clip boundaries from MVIEW and VPCLIP stay visible; picking or erasing a boundary takes its viewport along. - XCLIP Clipdepth: a rejected front plane keeps the old front plane and clears the back plane. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bd17e7e0d4
commit
2e397aec99
5 files changed
+329
-163
No files matched your search
@@ -220,10 +220,11 @@ impl XclipCommand {
|
||||
self.step = Step::Back;
|
||||
CmdResult::NeedPoint
|
||||
}
|
||||
// A front plane behind the back one changes nothing.
|
||||
// A front plane behind the back one is not applied; the back
|
||||
// plane is cleared and the old front one kept.
|
||||
_ if self.front.is_some_and(|front| front < d) => self.act(XclipAction::Depth {
|
||||
front: None,
|
||||
back: None,
|
||||
back: Some(None),
|
||||
rejected: true,
|
||||
}),
|
||||
_ => self.act(XclipAction::Depth { front: Some(self.front), back: Some(Some(d)), rejected: false }),
|
||||
|
||||
Reference in new issue
Block a user