Code
Programming for AEC
Code taught through engineering problems, not generic language tours. Tutorials appear here as they are published.
Your first elastic model in OpenSeesPy
Detect the OpenSeesPy install on your machine, build a 2D elastic cantilever, and check tip displacement against the Euler–Bernoulli closed form. This site does not bundle OpenSees.
Reading a simple quantity from an IFC file
Use IfcOpenShell to read a quantity already stored on an element — and to detect when the file has no quantity set at all. Geometry-derived takeoff is a different problem.
Unit conversion pitfalls in civil engineering scripts
Why a script that “converges” can still be wrong by 10⁹ — mixed millimetres and metres, MPa versus pascals, and density versus unit weight.
Validate a beam deflection formula against a cited reference
Implement the simply-supported uniform-load Euler–Bernoulli midspan deflection, check it with scaling identities, and refuse to treat an uncited coefficient as engineering output.