From d686ad77990983e32e6c987a96caa71dc91933ed Mon Sep 17 00:00:00 2001 From: Seth Hamilton Date: Mon, 15 Sep 2025 09:23:09 -0500 Subject: [PATCH] remove hacky testing script --- tester.py | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 tester.py diff --git a/tester.py b/tester.py deleted file mode 100644 index 9fb06cb..0000000 --- a/tester.py +++ /dev/null @@ -1,22 +0,0 @@ -import numpy as np -import subprocess -from pathlib import Path -import time - -p = subprocess.Popen(Path("bin", "demo.exe"), cwd="bin", stdin=subprocess.PIPE) - -lines = None -with open("assets/gpoints_rotate.obj", "r") as f: - lines = f.readlines() - -period = 0.01 - -for i in range(len(lines)): - time.sleep(period) - words = lines[i].split() - x = words[1] - y = words[2] - z = words[3] - name = "".join(words[4:]) - p.stdin.write(f"{name} {x} {y} {z}\n".encode("utf8")) - p.stdin.flush()