Loading files
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/../.."
# Bootstrap workspace venv if missing
if [[ ! -d .venv ]]; then
python3 -m venv .venv
fi
# Determine venv paths based on actual venv layout
if [[ -d .venv/Scripts ]]; then
PIP=".venv/Scripts/pip"
SCADM=".venv/Scripts/scadm"
else
PIP=".venv/bin/pip"
SCADM=".venv/bin/scadm"
fi
# Upgrade scadm from PyPI
"$PIP" install --upgrade --quiet scadm
# Install/update OpenSCAD and libraries
"$SCADM" install
988743a91This file is pinned to the selected release. Download the original to open it in your design tool.