按源验证单位切换UVW线性轴
This commit is contained in:
@@ -1927,6 +1927,10 @@ if units_rapid[2]["start"] != units_rapid[2]["end"]:
|
||||
)
|
||||
if (units_rapid[1]["end"]["a"], units_rapid[1]["end"]["b"], units_rapid[1]["end"]["c"]) != (4, 5, 6):
|
||||
raise SystemExit("source-linked LinuxCNC G21 unit change unexpectedly scaled rotary axes")
|
||||
if (units_rapid[1]["end"]["u"], units_rapid[1]["end"]["v"], units_rapid[1]["end"]["w"]) != (177.8, 203.2, 228.6):
|
||||
raise SystemExit("source-linked LinuxCNC G21 unit change did not scale U/V/W linear axes")
|
||||
if (units_rapid[2]["end"]["u"], units_rapid[2]["end"]["v"], units_rapid[2]["end"]["w"]) != (7, 8, 9):
|
||||
raise SystemExit("source-linked LinuxCNC G20 unit change did not restore U/V/W linear axes")
|
||||
|
||||
units_g92_restore = load("cnc_sim_linuxcnc_source_units_g92_restore.json")
|
||||
units_g92_states = [
|
||||
|
||||
Reference in New Issue
Block a user