对齐 LinuxCNC NURBS 事件行号

This commit is contained in:
cnc
2026-05-24 22:02:46 +08:00
parent dd4b7d9314
commit 86734622d7
2 changed files with 4 additions and 2 deletions

View File

@@ -2038,6 +2038,7 @@ if not any(event["type"] == "program-end" and event["line"] == 7 for event in g5
g52_xz_nurbs = json.loads(Path("/tmp/cnc_sim_linuxcnc_source_g52_xz_nurbs.json").read_text())
if not any(
event["type"] == "linear-feed" and
event["line"] == 6 and
event["plane"] == 18 and
event["end"]["x"] == 3 and
event["end"]["y"] == 0 and
@@ -2049,6 +2050,7 @@ if not any(
g62_xz_nurbs = json.loads(Path("/tmp/cnc_sim_linuxcnc_source_g62_xz_nurbs.json").read_text())
if not any(
event["type"] == "linear-feed" and
event["line"] == 16 and
event["plane"] == 18 and
event["end"]["x"] == 100 and
event["end"]["y"] == 0 and