Complete XYZAC LinuxCNC WASM parity and smooth 3D preview

This commit is contained in:
2026-08-28 06:24:50 +08:00
parent e8fe323aab
commit 1a7995fa9b
181 changed files with 36854 additions and 215 deletions

25
run-gmoccapy.sh Executable file
View File

@@ -0,0 +1,25 @@
#!/usr/bin/env bash
set -euo pipefail
REPO_ROOT="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
LINUXCNC_ROOT="${REPO_ROOT}/linuxcnc"
CASE_DIR="${LINUXCNC_ROOT}/configs/sim/gmoccapy"
CASE_NAME="${1:-gmoccapy.ini}"
if [[ "${CASE_NAME}" == */* || "${CASE_NAME}" != *.ini ]]; then
printf 'case must be an .ini filename in %s\n' "${CASE_DIR}" >&2
exit 2
fi
CASE_INI="${CASE_DIR}/${CASE_NAME}"
if [[ ! -f "${CASE_INI}" ]]; then
printf 'gmoccapy configuration not found: %s\n' "${CASE_INI}" >&2
exit 1
fi
if [[ ! -x /usr/bin/linuxcnc ]]; then
printf 'LinuxCNC launcher not found: /usr/bin/linuxcnc\n' >&2
exit 1
fi
cd "${LINUXCNC_ROOT}"
exec /usr/bin/linuxcnc -r "${CASE_INI}"