Complete 3axis tutorial native and Web/WASM parity tools
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user