Complete 3axis tutorial native and Web/WASM parity tools

This commit is contained in:
2026-08-24 14:01:30 +08:00
parent 938654b19d
commit 7e90142b63
147 changed files with 17639 additions and 557 deletions

View File

@@ -82,6 +82,7 @@ def run(output: Path) -> dict[str, Any]:
source.write_text("G21 G90\nG0 X0 Y0 Z0\nG1 X1 Y1 F60\nG91\nG1 Z-1 F30\nG90\nM2\n", encoding="utf-8")
environment = os.environ.copy()
environment["DISPLAY"] = environment.get("DISPLAY", ":1")
environment["AXIS_OPEN_FILE"] = str(source)
log_path = case_dir / "native-sequence.log"
with log_path.open("w", encoding="utf-8") as log:
process = subprocess.Popen(["linuxcnc", str(case_dir / "3axis-tutorial.ini")], cwd=LINUXCNC_ROOT, env=environment, stdout=log, stderr=subprocess.STDOUT, start_new_session=True)