diff --git a/wasm-port/docs/porting-steps-standalone.md b/wasm-port/docs/porting-steps-standalone.md index 584136a..80773c1 100644 --- a/wasm-port/docs/porting-steps-standalone.md +++ b/wasm-port/docs/porting-steps-standalone.md @@ -384,6 +384,10 @@ Current verified progress: `tests/fixtures/canon/length_units.events` pin `G20`/`G21` unit switching and the `USE_LENGTH_UNITS` canonical boundary emitted by vendored `interp_convert.cc::convert_length_units()`. +- `tests/fixtures/gcode/plane_selection.ngc` and + `tests/fixtures/canon/plane_selection.events` pin `G17`/`G18`/`G19` plane + switching and the `SELECT_PLANE` canonical boundary emitted by vendored + `interp_convert.cc::convert_set_plane()`. - `runtime/core/linuxcnc_wrap/linuxcnc_interp_minimal_runtime.cpp` now records feed/control canonical boundary calls emitted by vendored LinuxCNC conversion and queue code: `SET_TRAVERSE_RATE`, `SET_FEED_REFERENCE`, diff --git a/wasm-port/docs/scope-and-baseline.md b/wasm-port/docs/scope-and-baseline.md index a8d92ee..f72eb1d 100644 --- a/wasm-port/docs/scope-and-baseline.md +++ b/wasm-port/docs/scope-and-baseline.md @@ -36,6 +36,7 @@ G-code fixture coverage includes: - arc semantics - modal incremental and absolute distance modes - length unit switching +- plane selection - position parameters - canned cycles - coordinate offsets diff --git a/wasm-port/tests/fixtures/canon/plane_selection.events b/wasm-port/tests/fixtures/canon/plane_selection.events new file mode 100644 index 0000000..6fcf84a --- /dev/null +++ b/wasm-port/tests/fixtures/canon/plane_selection.events @@ -0,0 +1,3 @@ +canon_event=SELECT_PLANE plane=3 +canon_event=SELECT_PLANE plane=2 +canon_event=SELECT_PLANE plane=1 diff --git a/wasm-port/tests/fixtures/gcode/plane_selection.ngc b/wasm-port/tests/fixtures/gcode/plane_selection.ngc new file mode 100644 index 0000000..fe62d57 --- /dev/null +++ b/wasm-port/tests/fixtures/gcode/plane_selection.ngc @@ -0,0 +1,3 @@ +G18 +G19 +G17