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>
This commit is contained in:
2026-01-21 17:22:38 +00:00
parent 04d8515a73
commit a8144a5903
48 changed files with 157235 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/env bash
set -e
if command -v python3 >/dev/null 2>&1; then
echo "Python is already installed." && exit 0
fi
echo "Python not found. Attempting installation..."
if command -v apt-get >/dev/null 2>&1; then
sudo apt-get update && sudo apt-get install -y python3 python3-pip
elif command -v yum >/dev/null 2>&1; then
sudo yum install -y python3 python3-pip
elif command -v brew >/dev/null 2>&1; then
brew install python
else
echo "Unsupported package manager. Please install Python manually." >&2
exit 1
fi
if ! command -v python >/dev/null 2>&1 && command -v python3 >/dev/null 2>&1; then
sudo ln -s "$(command -v python3)" /usr/local/bin/python || true
fi
echo "Python installed successfully."