Parametric bridge modeling app built with pythonOCC and PySide6.
Use Conda for the easiest and most reliable install of pythonOCC.
macOS/Linux/Windows (PowerShell):
git clone https://github.com/OmPathania21/Parametric_3D_CAD.git cd paran3d
macOS/Linux:
conda create -n param3d python=3.11 -y conda activate param3d
Windows (PowerShell):
conda create -n param3d python=3.11 -y conda activate param3d
conda install -c conda-forge pythonocc-core pyside6 -y
From the repository root:
python param3d/ui_app.py
This builds/exports using bridge_model.py. Add --no-viewer if you do not want the OCC viewer window.
python param3d/bridge_model.py python param3d/bridge_model.py --no-viewer
- If you see ModuleNotFoundError for OCC or PySide6, your conda environment is not active. Run:
conda activate param3d
- If you already had another environment active, deactivate it first:
conda deactivate conda activate param3d