forked from 1b-agent/opencadstudio-upstream
feat(automation): replay pointer events on the canvas
The new pointer op sends moves (canvas pixels, or a world point projected through the camera the cursor edits with), button presses/releases and wheel steps in order, and reports the cursor's world point after each, so grip drags and picks go through the same cursor path as the mouse. click now projects through that editing camera too (it used the model camera inside an entered viewport), and the grips read reports each grip's constraint axis. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
006be8909e
commit
df94117fe5
4 files changed
+121
-15
No files matched your search
@@ -1070,6 +1070,7 @@ impl OpenCADStudio {
|
||||
"property" => self.control_set_property(req)?,
|
||||
"grip_drag" => self.control_grip_drag(req)?,
|
||||
"click" => self.control_click(req)?,
|
||||
"pointer" => self.control_pointer(req)?,
|
||||
"set_properties" => self.control_set_record_properties(req)?,
|
||||
"action" => self.control_ui_action(req)?,
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
|
||||
Reference in new issue
Block a user