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
# Install the wireBender layout where the Hydrogen 3D editor looks for
# layouts: $HOME/project/project-content/layouts/. The editor's layout
# picker lists every .json in that folder.
set -e
LAYOUT_DIR="$HOME/project/project-content/layouts"
TARGET="$LAYOUT_DIR/wireBender.json"
mkdir -p "$LAYOUT_DIR"
# Preserve local edits: if a different wireBender.json is already there
# (for example one the user re-saved from the editor), keep a backup
# beside it before overwriting with the packaged layout.
if [ -f "$TARGET" ] && ! cmp -s "$PWD/wireBender.json" "$TARGET"; then
cp "$TARGET" "$TARGET.bak"
echo "existing wireBender.json differed; saved a copy at $TARGET.bak"
fi
cp "$PWD/wireBender.json" "$TARGET"
echo "installed: wireBender layout at $TARGET"
echo "open it from the 3D Editor's layout picker, or ask the AI:"
echo " \"open the wireBender layout in the 3D editor\""