# Python

## Parabolas, Rectangles, Triangles & Snakes (Part 6)

Part 6 – Slicing & Dicing Based on the last two posts, I’d now reached the stage where I’d determined the general basis for calculating the force and centroid of the concrete compression force. This seemed like one of the…

## Parabolas, Rectangles, Triangles & Snakes (Part 5)

Part 5 – Centroids, More Integrals…. In the last post we went through a process to find a general force integral which involved knowing the width and height of the stress block in terms of how far from the neutral…

## Parabolas, Rectangles, Triangles & Snakes (Part 4)

In the first post in this series, I posted the following integral for the x direction centroid of a part of the compression block for EC2 parabolic-rectangular derivation. At first glance the following integral looks a bit intimidating....

## Parabolas, Rectangles, Triangles & Snakes (Part 3)

Part 3 – Class Hell Week At some point I came to the realisation that I’m going to need classes in my code, I didn’t know what they were exactly, but I needed them! Everyone else used them, so I…

## Parabolas, Rectangles, Triangles & Snakes (Part 2)

Part 2 – Bits & Pieces of Geometry A large part of the previous issues I was having with implementing a tool like this in Excel is the fact you have to generate your own routines (or find suitable ones…

## Parabolas, Rectangles, Triangles & Snakes (Part 1)

Part 1 – Prelude So for a while I have been playing around with the idea of creating some kind of tool for the analysis, design and detailing of reinforced concrete sections. In the past I have used SPColumn at…