Files
pythonocc-step-editor/step_editor/records.py
T

21 lines
615 B
Python
Raw Normal View History

from __future__ import annotations
from dataclasses import dataclass
@dataclass
class OperationRecord:
summary: str
detail: str
operation_name: str | None = None
target: str | None = None
parameters: dict[str, object] | None = None
result_message: str | None = None
target_kind: str | None = None
target_id: int | None = None
target_logical_id: int | None = None
pick_position: tuple[float, float, float] | None = None
before_snapshot: dict[int, object] | None = None
after_snapshot: dict[int, object] | None = None
diff_stats: dict[str, object] | None = None