Files
metabuilder/cadquerywrapper/setup.sh
johndoe6345789 a8144a5903 feat: Add CadQuery wrapper library for parametric CAD modeling
Python wrapper around CadQuery for simplified 3D CAD operations with
clean API for creating shapes, performing boolean operations, and
exporting to various formats.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 17:22:38 +00:00

21 lines
434 B
Bash
Executable File

#!/usr/bin/env bash
set -e
case "$(uname)" in
Linux*) script="setup_linux.sh" ;;
Darwin*) script="setup_mac.sh" ;;
MINGW*|MSYS*|CYGWIN*) script="setup_windows.ps1" ;;
*) echo "Unsupported OS: $(uname)" && exit 1 ;;
esac
if [ "$script" = "setup_windows.ps1" ]; then
if command -v pwsh >/dev/null 2>&1; then
pwsh "$script"
else
powershell.exe -ExecutionPolicy Bypass -File "$script"
fi
else
bash "$script"
fi