26216064e0
将原来的 main.py/step_model.py 拆分为 step_editor 包,补充测量、同域高亮、模型修复、历史导出、槽宽/凸台/边长等 MVP 编辑能力,并更新 README 和忽略规则。
17 lines
461 B
Python
17 lines
461 B
Python
from __future__ import annotations
|
|
|
|
from dataclasses import dataclass
|
|
|
|
|
|
@dataclass
|
|
class OperationRecord:
|
|
summary: str
|
|
detail: str
|
|
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
|