Integrate sketch mode debug (#186)

integrate sketch mode debug
This commit is contained in:
Kurt Hutten
2023-07-21 16:53:06 +10:00
committed by GitHub
parent b89faa4a28
commit 87aecf7f50
6 changed files with 160 additions and 13 deletions

View File

@ -47,7 +47,7 @@ interface XYZ {
y: number
z: number
}
interface EngineCommand {
export interface EngineCommand {
type: 'ModelingCmdReq'
cmd: {
StartPath?: {}
@ -74,6 +74,13 @@ interface EngineCommand {
CameraDragMove?: MouseDrag
CameraDragStart?: MouseStuff
CameraDragEnd?: MouseStuff
DefaultCameraEnableSketchMode?: {
origin: XYZ
x_axis: XYZ
y_axis: XYZ
distance_to_plane: number
ortho: boolean
}
}
cmd_id: uuid
file_id: uuid