app
COSMIIC Implantables
Public Unreviewedby cosmiic
The COSMIIC implantables project as a ready-to-open Adom 3D editor layout (wireBender). Three eval frame molecules (PG4 pulse generator, PM1 power module, BP2 biopotential amplifier) sit on 6x6 scaffolds chained over the two-wire implant network bus, next to a 5x10 scaffold carrying the COSMOCOIL wireless charger, the PM charging coil, four adipose spacer molecules, and a wireless link. Installing places wireBender.json into project-content/layouts so the Hydrogen 3D editor lists it in its layou
#!/bin/sh
# Remove the installed layout, but never a version the user has edited:
# only delete it when it still matches the packaged copy.
set -e
TARGET="$HOME/project/project-content/layouts/wireBender.json"
if [ -f "$TARGET" ]; then
if cmp -s "$PWD/wireBender.json" "$TARGET"; then
rm "$TARGET"
echo "uninstalled: removed $TARGET"
else
echo "kept $TARGET: it differs from the packaged layout (local edits)"
fi
else
echo "nothing to remove: $TARGET not present"
fi