按源验证G10坐标UVW偏置
This commit is contained in:
@@ -1144,6 +1144,9 @@ for case in "${nurbs_error_cases[@]}"; do
|
||||
fi
|
||||
grep -Fq "$expected" "$output_dir/cnc_sim_linuxcnc_$fixture.err"
|
||||
done
|
||||
# Source basis: LinuxCNC src/emc/rs274ngc/interp_convert.cc convert_setup()
|
||||
# stores G10 L2 U/V/W through PROGRAM_TO_USER_LEN, and
|
||||
# convert_coordinate_system() emits them through SET_G5X_OFFSET.
|
||||
cp "$base_var_file" "$var_file"
|
||||
CNC_SIM_RS274_VAR="$var_file" "$build_dir/linuxcnc_rs274_dump" tests/gcode/linuxcnc_coordinate_offsets.ngc >"$output_dir/cnc_sim_linuxcnc_coordinate_offsets.json"
|
||||
cp "$base_var_file" "$var_file"
|
||||
@@ -2944,7 +2947,10 @@ if not any(
|
||||
event["tool"] == 1 and
|
||||
event["start"]["x"] == 12.5 and
|
||||
event["start"]["y"] == -3 and
|
||||
event["start"]["z"] == 4
|
||||
event["start"]["z"] == 4 and
|
||||
event["start"]["u"] == 7 and
|
||||
event["start"]["v"] == 8 and
|
||||
event["start"]["w"] == 9
|
||||
for event in g5x
|
||||
):
|
||||
raise SystemExit("missing G10 L2 G5X offset event")
|
||||
|
||||
Reference in New Issue
Block a user