Parametric Taj Mahal (Architectural Assembly)¶
Description¶
An ambitious procedural recreation of one of the world's most famous landmarks. This script demonstrates advanced assembly logic in CadQuery, combining the main mausoleum, the iconic onion domes, and the four flanking minarets into a single parametric scene. It is a masterclass in using "top-down" design, where the entire complex scales proportionally based on a few master variables.
Key Features¶
- Complex Dome Geometry: Features the characteristic Indo-Islamic "onion" dome, modeled using spline revolutions for smooth, authentic curves.
- Minaret Positioning: Automated placement of the four towers on the corners of the plinth using mirrored arrays.
- Ornate Iwan Arches: Detailed recessed arches (iwans) on all four facades, utilizing the same logic seen in the Ornate Facade section.
- Procedural Finials: Includes the decorative "kalash" (spires) atop the domes, adding a final level of architectural detail.
Dimensions¶
- Plinth Width: 100 mm
- Main Dome Height: 50 mm
- Minaret Height: 54 mm