Mount Angel Abbey Crest Mount Angel Abbey Library Alvar Aalto · 1970
Constructive Python · IngeTrazo 0.6.0 · Iterative CAD

Building the Forms with Code

In Aalto’s radial fan, almost no two walls, roof bays, or bookcases share the same length or angle. Rather than pushing vertices by hand, every solid in this model is generated from Python functions driven by Aalto’s survey dimensions.

When a blueprint re-read changed a roof elevation or column angle, the entire building regenerated cleanly in two seconds.

7,231
Lines of CAD Python
9
Modular Builders
166,645
Faces · 8 Layers
0
Unpaired Seam Edges
01 · Strategy & Organization

Three Tiers from Blueprint Feet to 3D Solids

Keeping survey dimensions, solid-modeling math, and architectural components separate meant we could fix a dimension once and update the 2D blueprint proofs, the visitor floor plans, and the 3D model together.

Tier 1 · Survey Truth

Working Points & Elevations

Stores Aalto’s polycentric Working Points (WP #1–#10), analytical radial angles, grid lines, and archival section datums in decimal feet relative to WP #3 = (0, 0) on the main floor.

vectors.py (1,242 lines) →
Tier 2 · Solid Kernel

Watertight Primitives

Converts feet to metres, triangulates polygons with holes, extrudes mitered walls and revolved lamps, adds 2.5 mm clearances, and applies the 35-material palette.

primitives.py (1,273 lines) →
Tier 3 · Architecture

Domain Builders

Eight focused modules build the bluff, lower stacks, reading room, Aalto bookcases, South Wing rooms, H-columns, and three-tier roof into named scene layers.

ingetrazo_3d/components/ →
aalto_bookcases.py · Parametric Radial Stack View source ↗
def add_aalto_bookcase_ft(mesh, center_ft, length_ft, depth_ft, angle_deg, ...):
    # Every radial stack in Aalto's fan has its own length (4 to 28 ft).
    # Subdivide into ~3'-1" bays (Sheet 13-a13 Details 9-12).
    n_bays = max(1, round(length_ft / 3.10))
    bay_span_ft = (length_ft - (n_bays + 1) * DIVIDER_THICK_FT) / n_bays

    # 1. Recessed linoleum kick plinth (Detail 10: 1.5" face inset)
    _add_box_local_ft(
        mesh, cx, cy, ux, uy, nx, ny,
        -half_l + 0.07, half_l - 0.07, -half_d + 0.125, half_d - 0.125,
        z_floor_m + TOL_M, z_shelf_bot - TOL_M, plinth_mat,
    )

    # 2. Solid 1" birch dividers + shelves + deterministic book clusters
    for i in range(n_bays + 1):
        s0 = -half_l + i * (bay_span_ft + DIVIDER_THICK_FT)
        _add_box_local_ft(
            mesh, cx, cy, ux, uy, nx, ny,
            s0, s0 + DIVIDER_THICK_FT, -half_d, half_d,
            z_shelf_bot, z_canopy_bot, birch_mat,
        )
Module Scene Layer & Role
regulating_lines.py 0_Regulating_Grid — Working points, fan rays & arcs.
site_terrain.py 1_Abbey_Hillside_Site — Bluff plinth, quad, Abbey Church & Bell Tower.
lower_levels.py 2_Level_1 & 3_Level_2_And_Mezzanine — Terraced stacks, carrels & stairs.
level3_reading_room.py 4_Level_3_Reading_Room — Control desk, workbench, lamps & glazed office wall.
south_wing_interiors.py Lobby wood privacy screen, Rare Book Vault & Auditorium wave ceiling.
aalto_bookcases.py Parametric radial stacks, curved bookwalls & 5-batten directory screens.
envelope_and_south_wing.py 5_Structural_Frame & 6_Envelope — Irregular H-columns, brick curtain wall & pergolas.
roof_and_skylights.py 7_Roof_And_Daylight_Scoop — 3-tier roofs, 3′-11″ plenum, scoop, 14 skylights & 3 exhaust fans.
02 · The IngeTrazo Feedback Loop

Write Code, Inspect in 3D, Check Topology, Repeat

Writing geometry in code is fast, but blind on its own: a wrong sign or wall offset can send a staircase straight through a brick facade. Coupling the Python builders with IngeTrazo and automated checks turned modeling into a tight visual loop.

STEP 01 · BUILD

Hot-Reload into IngeTrazo

build_ingetrazo_library.py reloads all modules over IngeTrazo’s live TCP/MCP bridge (--live), updating scene.groups in one undoable step and saving .igz + .obj.

STEP 02 · VERIFY

Zero-Leak Manifold Gate

A directed-edge check verifies unpaired == 0 on every solid. Any missing cap or reversed polygon is caught immediately before it can break stencil section cuts.

STEP 03 · CLEAN

Crease & Normal Filtering

On export to WebGL2, internal triangulation diagonals on flat walls and curved plaster vaults are stripped automatically so edges read like architectural ink lines.

STEP 04 · COMPARE

20 Locked Studio Cameras

Headless Chromium renders 20 fixed exterior, interior, section, and sun views after each pass—revealing collisions, shadow artifacts, and blueprint mismatches right away.

03 · Iterative Refinement

Five Passes Through the Same Cameras

Because camera presets stayed locked across Git commits, we can step straight from the first grey massing study to the blueprint-calibrated model. Click a stage or switch cameras below.

Model evolution stage view STAGE 4 · NORTH BLUFF

True Polycentric Geometry, Exact Elevations & Full Campus

Archival WP #3/#2/#3A radial system, exact floor datums (−28′-6″ to +21′-4″), 3-shelf Mezzanine bookwalls, 6-shelf radial stacks, 14 conical skylights, 3 outer-fan exhaust fans, and full Abbey campus context (166,645 faces).

v0.7.0 · 166,645 faces
04 · Case Study · Seven Overlay Passes

Honing In on the Three H-Columns

At 700 pixels tall, the dimension text on Sheet 06-a6 around the three north perimeter piers (B, C, and D) was illegible. Rather than guessing, we projected Python test polygons onto the scan and refined the generator across seven passes—then carried the same loop into 3D.

Rotated 1-foot measuring grid over H-Column B on Sheet 06-a6
Pass 0 · Rotated 1-ft Grid Grid aligned to Ray B (138.3°) reveals the column is turned 90°: radial web, splayed curtain-wall flanges.
First symmetric polygon attempt missing outer brick flange on Sheet 06-a6
Pass 1 · Symmetric Trial First get_h_pier_polygons_ft() assumed equal offsets—landing 1′-8″ shy of the outer brick flange.
Fourth pass adding cyan curtain-wall chord lines on Sheet 06-a6
Pass 4 · Facade Chords Plotting the cyan curtain-wall chords showed why the two flanges splay at different angles to meet each window bay.
Seventh pass locking red H-column polygon directly onto Sheet 06-a6 ink
Pass 7 · Locked to Ink Per-flange lengths and radial web offset register cleanly onto Aalto’s masonry outline.
All three irregular H-columns B, C, and D registered simultaneously across Sheet 05-a5
Cross-checking the same Python function across Sheet 05-a5: all three columns (B, C, and D—no two alike) lock simultaneously onto the faceted north curtain wall.
First 3D Extrusion Early 3D extrusion of the three north H-columns before clerestory sill and Mt. Hood window
Commit 58266f5: stepped fins in place, but Level 3 glass drops too low, parapet caps shimmer, and Column D is solid.
Refined 3D Form Final 3D North H-columns with +7'-2' brick clerestory wall and Mt. Hood window in H-Column D
Sheets 11-a11 & 12-a12 applied: +7′-2″ brick clerestory band, clean scupper pockets, and Column D’s eye-level Mt. Hood window.
05 · Caught in the Viewport & Overlays

Seven Bugs Visual Inspection Exposed

Even when code runs cleanly and every mesh is watertight, architectural logic can still drift from Aalto’s drawings or photographs. Here are seven real issues spotted in viewport renders and blueprint proofs—and fixed at the source in Python.

Catch 01 · Diagonal Wall Math

Carrel Panels & Staircase Bleeding Through the East Flank

Early radial stack and stair placement ignored the inward thickness of the angled East brick wall (PT_E → PT_LOUNGE_JUNC), leaving two white carrel partitions and a stair stringer poking outside. Shifting both along the wall’s inward normal tucked them cleanly inside.

Before Before fix: two white panels and stair poking through the East brick wall
Two white carrel panels and the East stair bleeding through exterior brick.
After After fix: clean East brick flank wall and upward roof step
Inward normal offset applied; clean masonry flank and upward Fan roof step.
Catch 02 · Section Re-read

Inverted Roof Step Between the Lobby and the Fan

Our first pass stepped the South Wing roof up above a flat grey Fan roof. Checking Sheet 13-a13 Section A-A and aerial photos showed the opposite: the Fan’s 3′-11″ structural plenum steps +2′-7″ above the lower Lobby roof, while the SE Auditorium rises higher still.

Before Before fix: grey roof with South Wing stepping higher than the Fan roof
Uniform grey roof with the step reversed (South roof higher than Fan).
After After fix: terracotta Fan roof stepping up above South Wing and dark Auditorium roof
True three-tier hierarchy: lower Lobby, higher Fan, and taller dark-membrane Auditorium.
Catch 03 · Coplanar Z-Fighting (v0.4.1)

Shadow Tearing Across the Auditorium Roof

Turning on 4096×4096 solar shadows revealed jagged brown triangles across the SE Auditorium roof. The closed-loop brick wall builder had capped its own interior footprint at z = +5.69 m—the exact elevation of the dark roof membrane. Dropping internal wall caps below the slab cured it.

Before Before fix: coplanar triangle artifacts across the Auditorium roof
Coplanar brick cap fighting the dark membrane slab at z = +5.69 m.
After After fix: clean slate-grey Auditorium roof membrane
Wall loop extruded as a hollow perimeter ring; crisp shadow and membrane.
Catch 04 · Detail Sheet Check (v0.4.2)

Continuing the Step Parapet Behind the Daylight Scoop

Looking down from the South roof showed the copper-coped brick step parapet stopping abruptly at the two ends of the curved skylight. Sheet 18-a18 Detail 4 showed the parapet continues unbroken along the 24′-0″ arc right behind the scoop’s plaster springing.

Before Before fix: step parapet stopping at the two ends of the curved scoop
Step parapet interrupted at 45° and 156° where the scoop begins.
After After fix: continuous copper-capped parapet running behind the scoop arc
Continuous brick parapet and copper coping running behind the full scoop arc.
Catch 05 · Polycentric Working Points & 2% Plan Scale (v0.7.0)

Re-Locking the Three Radial Hubs on Sheet 06-a6

Close inspection of the radial guide lines showed our early fitted origins drifting by up to 2° and shrinking the building ~2% in plan. Re-reading Aalto’s W.P. DIMENSIONS table on Sheet 06-a6 restored the exact 3-hub system: WP #3 = (0, 0) for Rays B/C/D (137.0°, 99.4°, 64.5°), WP #2 = (+2′-10″, −5′-3″) for Flanks A & E (168.3°, 40.3°), and WP #3A exactly 3′-9″ along Ray D for the circular well and scoop. Every well column now sits within 0.0000″ of its ray.

Before (v0.6.2) Before fix: Sheet 06-a6 overlay with drifted radial guide lines and ~2% scale shrinkage
Fitted origins drifted off Aalto’s printed radial axes and paired-column centers.
After (v0.7.0) After fix: Sheet 06-a6 overlay with archival WP #3, WP #2, WP #3A rays locked sub-pixel to ink
Analytical WP #3 / #2 / #3A derivation locks every ray, column, and H-pier onto the scan.
Catch 06 · The Missing Third Mezzanine Shelf (v0.7.0)

Auditing Vertical Floor Datums from a Single Photograph

Looking across the Reading Well in our photo comparison revealed a telling clue: photographs showed three full open shelves on the Mezzanine bookcases, while our model only showed two. Checking Sheets 13-a13, 17-a17, and 22-a22 exposed two compounding errors: the Mezzanine was 10″ too high (−4′-6″ instead of archival −5′-4″, with Level 2 at −14′-0″, Level 1 at −28′-6″, and 10R + 16R stairs), and aalto_bookcases.py divided vertical span by n_tiers − 1 instead of n_tiers, quietly dropping one shelf on every unit. Fixing both restored 3-shelf Mezzanine bookwalls tucked under Level 3’s 4″ drop lip and 6-shelf full-height stacks.

Before (2 Shelves · −4′-6″) Before fix: Mezzanine Reference Bookwall showing only two shelves beneath an oversized plaster band
Mezzanine 10″ too high + off-by-one shelf bug left only 2 shelves under an empty plaster band.
After (3 Shelves · −5′-4″) After fix: Mezzanine Reference Bookwall showing all three shelves and six-shelf Level 3 radial stacks
True −5′-4″ datum + shelf-spacing fix: 3 full Mezzanine shelves & 6-shelf Level 3 stacks.
Catch 07 · Roof Plan & Framing Forensics (v0.7.0)

Fourteen Conical Skylights & Three Outer-Fan Exhaust Fans

Reviewing the Roof Plan proof (07-a7) caught two subtle roof errors: every conical skylight needed to shift 3–4′ South, and two more domes lined the West elevator corridor (14 conical skylights total, up from 12). Meanwhile, three bright white circular units along the outer fan edge beside Rays B, C, and D looked like skylights from the air—until cross-checking Roof Framing Sheet 36-s5 and Reflected Ceiling Plan 10-a10 proved they are three rooftop EXHAUST FAN mushroom hoods with no ceiling wells below.

Section A-A Locked (0.10 px) Sheet 13-a13 Section A-A proof locked to exact archival floor and roof elevations
Sheet 13-a13 calibrated to exact archival datums (+1′-4″ Lobby to −28′-6″ Level 1).
Roof 07-a7 · 14 Skylights + 3 Exhaust Fans Sheet 07-a7 Roof Plan proof locking all 14 yellow conical skylights and 3 cyan outer-fan exhaust fans
All 14 conical skylights (yellow) and 3 outer-fan exhaust hoods (cyan) locked onto 07-a7.