diff --git a/BUILD.md b/BUILD.md index f87e1c9..79455c2 100644 --- a/BUILD.md +++ b/BUILD.md @@ -1,6 +1,6 @@ -# Build guide +# Gyre - build guide -This guide takes you from a pile of parts to a table drawing in sand. It follows the order that works: case first, then the electronics, the arm on the bench, the arm into the table, a test run without sand, and finally the floor, sand and glass. +This guide takes you from a pile of parts to Gyre, a sand art table, drawing in sand. It follows the order that works: case first, then the electronics, the arm on the bench, the arm into the table, a test run without sand, and finally the floor, sand and glass.  diff --git a/README.md b/README.md index bf4797a..564fe3c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# sandTable +# Gyre - Sand Art Table -A 12" kinetic sand table that draws patterns in sand. A steel ball rolls under glass, pulled by a magnet on a polar arm underneath. The case is about 12.5" across and 5" tall. The parts are 3D-printed for a Bambu P1S and designed in SolidCraft. +Gyre is a 12" kinetic sand table that draws patterns in sand. A steel ball rolls under glass, pulled by a magnet on a polar arm underneath. The case is about 12.5" across and 5" tall. The parts are 3D-printed for a Bambu P1S and designed in SolidCraft. **Building one? Start with [BUILD.md](BUILD.md):** parts to buy, what to print, assembly in order, wiring, the first run and troubleshooting. diff --git a/software/README.md b/software/README.md index fe1f429..bbeb81b 100644 --- a/software/README.md +++ b/software/README.md @@ -1,4 +1,4 @@ -# Sand table software +# Gyre software A small Python program that drives the table from your computer over USB. It has a web page with a library of designs, plays `.thr` pattern files (yours or the built-in ones), and erases the sand with a spiral between patterns. diff --git a/software/previews/web-page.png b/software/previews/web-page.png index 6100082..ef0362a 100644 Binary files a/software/previews/web-page.png and b/software/previews/web-page.png differ diff --git a/software/sandtable/__init__.py b/software/sandtable/__init__.py index 868aceb..f6ad7c7 100644 --- a/software/sandtable/__init__.py +++ b/software/sandtable/__init__.py @@ -1 +1 @@ -"""Sand table pattern player: .thr files and built-in patterns -> GRBL / FluidNC over USB.""" +"""Gyre sand art table: pattern player for .thr files and built-in patterns -> GRBL / FluidNC over USB.""" diff --git a/software/sandtable/cli.py b/software/sandtable/cli.py index eb58f00..46f0256 100644 --- a/software/sandtable/cli.py +++ b/software/sandtable/cli.py @@ -52,7 +52,7 @@ def alert(title, msg): return try: import subprocess - subprocess.run(['notify-send', '-u', 'critical', '-a', 'Sand table', title, msg], + subprocess.run(['notify-send', '-u', 'critical', '-a', 'Gyre', title, msg], timeout=5, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) except Exception: pass @@ -71,15 +71,15 @@ def guarded(fn): try: return fn() except SwitchTripped as e: - alert('Sand table stopped: home switch pressed', + alert('Gyre stopped: home switch pressed', f'{e}.\nThe motors were stopped at once. Check the arm, belts and carriage, then run ' f'`play` again; it homes first.') sys.exit(1) except GrblError as e: - alert('Sand table stopped', str(e)) + alert('Gyre stopped', str(e)) sys.exit(1) except OSError as e: # pyserial's SerialException is an OSError: the USB link dropped - alert('Sand table: USB connection lost', + alert('Gyre: USB connection lost', f'{e}\nThe Uno restarts when it is plugged back in, so the table stops where it is. ' f'Run `play` again; it homes first.') sys.exit(1) diff --git a/software/sandtable/ui.py b/software/sandtable/ui.py index 5751c1f..a7ba79e 100644 --- a/software/sandtable/ui.py +++ b/software/sandtable/ui.py @@ -13,7 +13,7 @@ from .grbl import RT_HOLD, RT_JOG_CANCEL, GrblError PAGE = r"""
-