mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-28 07:44:56 +00:00
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:
29
cadquerywrapper/install_python.bat
Normal file
29
cadquerywrapper/install_python.bat
Normal file
@@ -0,0 +1,29 @@
|
||||
@echo off
|
||||
where python >NUL 2>NUL
|
||||
if %ERRORLEVEL%==0 (
|
||||
echo Python is already installed.
|
||||
exit /B 0
|
||||
)
|
||||
|
||||
echo Python not found. Attempting installation...
|
||||
where choco >NUL 2>NUL
|
||||
if %ERRORLEVEL%==0 (
|
||||
choco install -y python
|
||||
) else (
|
||||
where winget >NUL 2>NUL
|
||||
if %ERRORLEVEL%==0 (
|
||||
winget install -e --id Python.Python.3
|
||||
) else (
|
||||
echo No supported package manager found. Please install Python manually.
|
||||
exit /B 1
|
||||
)
|
||||
)
|
||||
|
||||
where python >NUL 2>NUL
|
||||
if %ERRORLEVEL%==0 (
|
||||
echo Python installed successfully.
|
||||
exit /B 0
|
||||
) else (
|
||||
echo Python installation failed. Please install manually.
|
||||
exit /B 1
|
||||
)
|
||||
Reference in New Issue
Block a user