Procedural CAD Gems¶
Welcome to a gallery of parametric 3D models where code meets engineering and art. Each model in this collection is "baked" from Python scripts using the CadQuery framework.
ποΈ Architecture & Heritage¶
-
Taj Mahal
---
A grand procedural recreation of the iconic landmark, showcasing complex assembly and onion dome geometry.
Explore Model -
Byzantine Basilica
---
A structural study of central-plan church architecture with hierarchical domes and arches.
Explore Model -
Ornate Facade
---
A parametric study of decorative architectural elements and repetitive facade patterns.
Explore Model
𧬠Science & Mathematics¶
-
DNA Double Helix
---
A biological masterpiece featuring color-coded base pairs and precise helical geometry.
Explore Model -
Trefoil Knot
---
A topological wonder defined by a single continuous (2,3)-torus knot spline.
Explore Model -
Hyperboloid Lattice
---
A demonstration of doubly ruled surfaces, combining structural efficiency with mathematical beauty.
Explore Model -
Platonic Solids: The Dodecahedron
---
The dodecahedron is one of the five Platonic solids, a regular polyhedron with twelve equal pentagonal faces
Explore Model -
Platonic Solids: The Icosahedron
---
The Icosahedron is the water element among the Platonic solids, featuring 20 equilateral triangular faces
Explore Model -
Small Stellated Dodecahedron
---
Moving beyond the Platonic solids, these "Star Polyhedra" are non-convex regular solids discovered by Johannes Kepler
Explore Model -
Great Stellated Dodecahedron
---
Moving beyond the Platonic solids, these "Star Polyhedra" are non-convex regular solids discovered by Johannes Kepler
Explore Model -
Disco Ball
---
A study of multifaceted spherical surfaces and complex light reflection.
Explore Model
π οΈ Engineering & Objects¶
-
High-Voltage Tower
---
A procedural lattice structure based on standard industrial blueprints (U35-type).
Explore Model -
Faceted Glass
---
The "Soviet Classic" industrial design, featuring parametric facets and a tapered body.
Explore Model -
π« The Royal Teapot
---
The Royal Teapot (A Study in Classical Curves)
Explore Model -
Spiral Staircase
---
A functional parametric assembly where step count and rotation are fully adjustable.
Explore Model
π¨ Artistic Experiments¶
-
Voronoi Shattered Text
---
A simulation of structural decay using Voronoi partitioning on a 3D volume.
Explore Model -
Parametric Umbrella
---
A combination of smooth revolved surfaces and structural support logic.
Explore Model -
βοΈ The Parametric Pencil
---
A masterclass in "Digital Lathe" modeling. Unlike standard geometric approximations, this pencil is constructed through a multi-layered assembly (Skin, Body, Coal) and then "sharpened" using a dedicated tool object.
Explore Model -
π·Crystal Wineglass
---
A sophisticated study in complex surface detailing using helical intersections.
Explore Model -
π Wineglass v2
---
Procedural Goblet with Parabolic Stem
Explore Model -
π Parametric Diamond-Cut Ellipsoidal Vase
---
A sophisticated exploration of complex surface texturing on organic forms. This model transcends basic geometric primitives by utilizing an ellipsoid of revolution as its base body.
Explore Model -
π Parametric Diamond-Cut Spline Vase
Explore Model -
π Parametric Candy Bowl
Explore Model
Unlike traditional CAD software where you draw with a mouse, every object in this collection is "baked" from Python scripts using the CadQuery framework. Instead of static files, these are living algorithms that can generate infinite variations of a design just by changing a few variables.
Why Procedural CAD?¶
- Precision through Logic: Geometry is defined by mathematical relationships, ensuring perfect symmetry and alignment (e.g., in the Hyperboloid Lattice).
- Infinite Scalability: Need a staircase with 10 steps or 100? Just update the n_steps parameter and the model rebuilds itself instantly.
- Algorithmic Creativity: Some shapes, like the Voronoi Shattered Cube, would be nearly impossible to model manually, but are simple for a well-written script.
- Version Control Ready: Since these models are code, they can be tracked, branched, and improved using Git, just like any other software project.
How to Explore¶
- Each model page includes:
- Interactive 3D Preview: Powered by
, allowing you to inspect the geometry, shadows, and reflections directly in your browser. - Technical Description: A breakdown of the engineering logic behind the model.
- Feel free to use the Camera icon in the 3D viewer to take high-quality snapshots of the models for your own use.
- Source Code: A link to the original Python script on GitHub so you can run it, modify it, and use it in your own projects. source.