raygeo.trace
Binary trace-file reader and shared move-type classification.
MoveKind — standard move-type classification shared by all operations. TraceFile — read a .bin trace file with span/event access. Span — one span record from a trace file. Event — one event record from a trace file. ToolSnapshot — tool position and heading snapshot. ProgressSnapshot — step progress snapshot.
Event
One trace event (init / move / resume / exit).
kind
kind: str
meta
meta: Any
move_kind
move_kind: Optional[str]
progress
progress: Optional[ProgressSnapshot]
seq
seq: int
source
source: str
span
span: int
tool
tool: Optional[ToolSnapshot]
MoveKind
Standard move-type classification shared by all operations.
Every toolpath point is tagged with one of these so that renderers can colour and categorise moves generically.
name
name: str
value
value: int
ProgressSnapshot
Snapshot of step progress during trace execution.
ops_len
ops_len: int
status
status: int
step_idx
step_idx: int
Span
One span record from a trace file.
attrs
attrs: Any
children
children: list[Span]
events
events: list[Event]
id
id: int
label
label: str
parent
parent: int