27 July 2025

Clip-based LEGO® Pythagorean triangles: Escaping the grid

Posted by Admin

In an unexpected bonus addition to his Escaping the Grid series of LEGO® technique articles, brick scholar Arno Knobbe (@legoarno on Instagram) returns to tie up some loose ends. The great potential of Pythagorean triangles was demonstrated in Arno’s last article, but outside the plane, things turn out to work slightly differently. This time, no new math will be introduced (thank goodness!), so no need to pull out your scientific calculator. But an abacus might come in handy.

Lego Baby Astronauts building small triangles from Lego pieces
Image by TobyMac

This article contains affiliate links to LEGO.com; we may get a small commission if you purchase.


In my last article about Pythagorean triangles, I casually dropped a clip-based Pythagorean triangle, as an alternative to the Slope 53 piece. This example raised some questions with a couple of readers, correctly observing that the geometry of such triangles is not obvious. Round about the same time, Tom Loftus reviewed LEGO® Star Wars™ 75409 Jango Fett's Firespray-Class Starship showcasing some innovative clip-based triangles. Given the subtleties involved, it’s worthwhile analysing some of the building tricks involved in detail. Let’s dive in!


Upright triangles

Most of the Escaping discussion so far has been confined to triangles in the plane, where measurements are straightforward: whether you move n modules (a.k.a studs) in one way or in another, it’s always the same distance. However, as you know, a unit LEGO brick is 20% higher than it is wide (factor 1.2), so when you put stuff upright, you’re effectively working with a different measure.

Let’s see how this works in practice with the offending (3, 4, 5) triangle from the last article.

Right angled triangle built vertically from lego pieces. To achieve the diagonal, plates with clips and plates with bars are used

Along the horizontal leg, we measure 3 modules (don’t worry about the clips just yet), so along the vertical leg, we expect 4 modules. However, we’re seeing 3 bricks and a plate here, so what’s this?

Since we need to measure with the same units going across and up, and we’re using ‘modules’ (the width of a unit brick) across, we will need to measure four modules up, and translate that to the appropriate number of bricks and plates. In this case, we divide the 4 modules by a factor 1.2, which gives us 4/1.2 = 3⅓ bricks. As you know, ⅓ brick is simply a plate, so the final vertical distance is 3 bricks and 1 plate, as indeed is the case in the figure.

This triangle doesn’t require an intimate understanding of the geometry of clips yet (we’ll get to that further down). Yes, clips involve an awkward offset in both the horizontal and vertical direction, but since the two white clips are oriented the same way, the offsets cancel out, so we can ignore them.

For the hypotenuse (the diagonal bit), the horizontal offset of the blue modified plates with bars do introduce a relevant offset. Each modified plate involves a half-module offset, so the entire length of the hypotenuse equals 4 + ½ + ½ = 5 modules, as it should. 

In some cases, Pythagorean triangle dimensions work out so well that no plates as vertical spacers are even needed, as with these two examples below.

two vertical pythagorean triangles built vertically in Lego: one measures 8, 6, 10 and the other 5, 12, 13

The left example is simply a variation on the (3, 4, 5) pattern: it is twice the (4, 3, 5) triangle. 6 divided by 1.2 happens to be an integer: 5. The same holds for the vertical leg of (5, 12, 13): 12/1.2 = 10. Any triangle with a vertical leg that’s a multiple of 6 has this attractive simplicity.

Double the size of the (8, 6, 10) triangle once more, and you get the below (16, 12, 20) triangle that makes up the roof of 10316 Rivendell. This wonderful set, packed with geometry gems, is designed by LEGO® Senior Designer Mike Psiaki, whose work we’ll see more of further below.

highly decorated Lego balcony with sloped roof from the set the roof of 10316 Rivendell

The two corners forming the hypotenuse can be recognized as red Technic axles with stops, one clearly visible in the bottom-right corner, one tucked away under the roof at the top. Due to the size, all measurements are integer: 16 modules along the balustrade, 10 bricks along the wall (harder to verify visually, but easy to compute: 12/1.2 = 10), and 20 modules along the roof.

In many other cases, we’re not this lucky, though. In some cases, the vertical leg cannot be constructed from mere bricks and plates. For instance, if we flip the (3, 4, 5) triangle on its side, we get a vertical leg of 3 modules: 3/1.2 = 2½. With bricks and plates, we can achieve 2⅓ or 2⅔, but 2½ is right in between, so requires half a plate. And with that, as any seasoned LEGO builder knows, we’re heading into bracket and SNOT territory.


2 vertical lego right angled triangles that both use  half plate measurements to achieve the vertical side. One uses a bracket placed sideways, the other uses a headlight brick (part 3070) attached sideways

This image shows two ways of constructing a vertical leg 2½ modules tall. Neither option is very satisfactory.


Plate scale

Given our modest starting point of the (3, 4, 5) triangle, scaling it by a factor 2 or 4 makes sense. But if we would like to use different triangles, for instance to benefit from the different angles they afford, dimensions tend to get prohibitively big. 

A depiction of all the primitive Pythagorean triples (a,b,c) with a and b < 1170 and a odd, where a is plotted on the horizontal axis, b on the vertical. The curvilinear grid is composed of curves of constant m − n and of constant m + n in Euclid's formula,  a = m 2 − n 2 , b = 2 m n {\displaystyle a=m^{2}-n^{2},b=2mn}. These curves can be specified parametrically as  a = ( 2 i − 1 ) ( 2 j + 1 ) , b = ( ( 2 j + 1 ) 2 − ( 2 i − 1 ) 2 ) / 2 {\displaystyle a=(2i-1)(2j+1),b=((2j+1)^{2}-(2i-1)^{2})/2}, with one of i, j held constant in {1,2,3,...} and the other varied over an interval in R. The oddness of m − n (and of m + n) required for the triple to be primitive is thus built in, with  m − n = 2 i − 1 , m + n = 2 j + 1 {\displaystyle m-n=2i-1,m+n=2j+1}. All primitive Pythagorean triples are represented on this grid. The scaled triangles are drawn with their centroids at the corresponding (a,b). Unlabeled grid intersection points correspond to non-primitive Pythagorean triples.
Adam Cunningham and John Ringland, CC BY-SA 3.0, via Wikimedia Commons

As the diagram demonstrates, Pythagorean triangles increase in size quickly.

But why count in modules? Perhaps we can build triangles from plates? 

A very small lego pythagorean triangle of sides 3, 4, 5 long. To build it, start with a 1x1 upward bracket and stack on top two 1x1 plates, a 1x1 brick and a 1x1 plate with clip. Lay this sideways to become the horizontal side. On top of the explosed stud of the bracket now facing upwards, stack a 1x1 plate, a 1x1 brick and a 1x1 plate with clip. The clip should point in the direction of the horizontal side. Then attach a Plate Special 1 x 1 with Handle on 2 Ends (part 78257) between the two clips. A perfect fit!

To start simple, consider this (3, 4, 5) triangle at plate-scale. The fact that this is a legal Pythagorean triangle is not immediately obvious. The hypotenuse is still relatively straightforward: the 2 modules of the modified plate correspond to the desired 5 plates. But why the horizontal leg is 3 plates and the vertical 4 plates remains obscure. In both directions, half-plates seem to be involved (one being the thin part of the grey bracket, one being half a tan plate), so why are these necessary?


A detour into the LEGO® Unit

In order to appreciate the intricacies of this construct, and prepare ourselves for a deep dive into Jango Fett’s craft further down, we need to digress a little. Our first diversion concerns a scarcely used, but very handy LEGO unit of measurement called …drumroll… the LEGO Unit. Most people are familiar with modules, bricks, and plates as units, or sometimes even LDraw Units (LDU), but the LEGO Unit (LU) deserves at least as much renown in my view, if not more.

Let me sell this unit a bit to you, by pointing out some cases where 1 LU is a relevant distance. 

Demonstrations of where a 1 LU measurement can be found within lego bricks

First off, 1 LU is the difference between the height of a 1x1 brick and its width. Thus, in LU, a unit brick is 5 × 5 × 6 LU. The LU also pops up in other crucial areas. To name a few: the thickness of a brick’s wall is 1 LU, as is the upright part of a bracket or panel, or the lip at the bottom of a headlight brick. In other words, 1 LU equals half a plate, but you can use it for distances in any direction, not just vertical. Plus, half-plates become awkward when we start discussing ½ LU distances (quarter-plates?).

The LEGO Unit plays a crucial role in the remainder of our story, but we have one more stop on our detour. Here, we encounter the modified plate with clip (and its counterpart, the modified plate with bar). Since clips will be our pivots for building triangles, we need to study a bit the horizontal and vertical offsets involved when using clips. 


a lego plate with clip attached to a lego plate with handle. The construction is connected to other plates below, showing that the overall construction is 3 modules wide, with the bar/handle section occupying the central module

The horizontal offset is easy: the gap between two bricks that a clip-and-bar hinge bridges is 1 module, so 5 LU wide, as the image demonstrates. (Before you get carried away: trans-clear plates with bars exist only in our dreams). Hence, the horizontal offset is just half that: 2½ LU.


the same picture but now with measurements overlaid. A dot marks the centre of the handle of the bar. Two parallel lines show where the dot is positioned between the top and the bottom of the plate section of the element: the dot is 1½ LU from the bottom, and ½ from the top.

The vertical offset is less obvious, but for good reasons, as we shall see. Relative to the bottom of the modified plate (for example Plate, Modified 1 x 1), the pivot lies 1½ LU up. Measured from the top, this is ½ LU down. For some odd reason, the centre of the clip is ½ LU too high!

The design of the modern bar-and-clip hinge, and its cousins like the locking hinge and Mixel joint, may appear silly – until you tilt them 90 degrees upward.

Examples of two kinds of lego hinge: one is the modern bar/clip, the other is the 1980s "finger" joint hinge. Each example shows two states of the hinge: with each side straight, and with one side at 90 degrees. Both examples of 90 degree bend are surrounded by other lego pieces to show how they fit - or do not fit - into the lego system

As the lefthand constructions demonstrate, the tilted blue plate at the back returns nicely in-grid after being rotated, perfectly lining up with tiles on its left and a bracket on its right. 

Compare this to the vintage finger hinge (4276b and 4275b) above right. While the geometry of the finger hinge is much more straightforward (which makes it great for stud-reversal), when rotated, it causes all manner of alignment problems with adjacent parts. The placement of the grey bracket as shown wouldn’t even be physically possible in real life, as its studs would collide with the blue plate.

The beauty of the modern design of hinges and Mixel joints is that the ½ LU offset inherent to bridging the one-module gap is compensated by the ½ LU vertical offset. When you tilt one plate, the two fractions cancel out. In terms of our Pythagorean triangles, this cancellation occurs whenever you combine horizontally and vertically oriented clips, as we’ll see below.


Clip-based triangles

After our scenic detour, we now merge back onto the main highway of our narrative. With our new-found insight, here’s a detailed analysis of our earlier plate-based triangle.

The same image of a small Lego triangle as before, but now with dimensions in LU marked on it. Key measurements are described in the text below.

We now know that the white plate with clip on the left produces a horizontal offset of 1½ LU. Add to that the 6 LU of the sideways brick plus 1 LU for half of the plate, and you get 8½ LU. But the clip at the top reduces the horizontal distance by 2½ LU again, so we get 8½ - 2½ = 6 LU. Which indeed corresponds to the expected 3 plates.

Likewise, we get 1½ + 6 + 2 + 1 – 2½ = 8 LU, which is 4 plates. We already knew that the hypotenuse was 10 LU, so 5 plates, so done and dusted! Note how the ½ LU of the one clip is always resolved by the ½ LU of the other.

Perhaps we can up the ante once more and go truly micro-scale? Let’s build a “baby-pythag” that’s 3 LU wide and 4 LU tall.


Along the bottom, we have ½ LU from the clip, plus 2 LU plus 3 LU (plate and half a brick), minus 2½ LU from the top clip. This indeed makes 3 LU. Vertically: 1½ + 2 + 2 + 1 – 2½ = 4 LU. The Brick Special 1 x 2 Rounded with Center Bars (77808) forms a 5 LU hypotenuse.


Let’s consider some larger triangles in LU-scale. Our triangles so far have had hypotenuses that were multiples of 5 LU, which allows us to use integer modules along the diagonal. If we are going to pick larger Pythagorean triangles (for example from the earlier diagram of primitive Pythagorean triples), we might make our lives easier by picking those that have a multiple of 5 along the hypotenuse. (7, 24, 25) and (33, 56, 65) fit the bill. See if you can do the math…

Lego vertical pythagorean triples of sizes (7, 24, 25) and (33, 56, 65)


Triangles in Jango Fett's Firespray-Class Starship

The "hull" of set 75409 Jango Fett's Firespray-Class Starship under construction. It forms a beautiful oval curve

Multiples of 5 LU along the hypotenuse are convenient, but quite limiting. Too limiting in fact for designer Mike Psiaki, when he was consulted for the advanced geometries of set 75409 Jango Fett's Firespray-Class Starship. The elegant curve of the bottom of this spaceship not only required the introduction of a new 1x8 curved slope, but also the construction of some interesting angles to place the curved slopes just so.

Let’s investigate two of these angles constructed from Pythagorean triangles. 

Close up of one section, with the pieces of each segment coloured differently for clarity. A large curve coloured tan is attached using bar/clip joints to the main frame. The triangle this forms has been drawn over the top of the picture, with measurements in LU of each brick

In LU, the triangle that holds the tan subassembly is (30, 16, 34), which is not primitive (meaning there’s a smaller Pythagorean triangle of which this is a multiple). But counting in plates, which apparently is what Mike did, (15, 8, 17) is a primitive Pythagorean triangle. 

The arithmetic along the two legs should be straightforward by now (note the various SNOT bricks that connect to the plates on the back). Along the diagonal, we have two clips that jointly are 2 LU thick. Apart from that, we get three varieties of SNOT bricks and a plate to produce a total distance of 34 LU.


Sugar grid and reflected triangles

As a bit of recreational geometry (isn’t that the essence of this series?), let’s see if earlier concepts of the sugar grid and reflected triangles produce anything entertaining. The latter is definitely pertinent here, because at the left of the subassembly, you can recognise a pair of reflected cheese slopes forming an interface with the remaining structure.

The sugar grid doesn’t appear to be present in this design, but as an earlier analysis demonstrated, the (15, 8, 17) triangle corresponds to a 1:4 sugar grid and its 3:5 dual ratio. The latter ratio explains the pair of cheese slopes. 


The same picture of the hull of the ship as before but now with two 8x3 lego wedge plates attached to it, forming a kite shape. These wedges are not in the actual set, they show that there is a sugar grid involved in the design but it was not used.

The 1:4 ratio is not used in the actual build, but theoretically, the bottom of the ship could have been covered with a pair of reflected wedges. Lining up these wedge plates is a bit tricky (see how the tapered corner coincides with the centre of the hinge) but could easily have been achieved with some redesigning of the ship’s bottom.


Another curve on the hull, shallower than the last, with its corresponding pythagorean triangle marked.

Angling of the second subassembly is based on the (48, 14, 50) triangle, which again is primitive in plate-scale, but not in LU scale.

Since the hypotenuse is a multiple of 5, the diagonal subassembly doesn’t require any sideways building or SNOT techniques. With a ratio combo of 1:7 and 3:4, I see no obvious opportunities for the sugar grid or reflected triangles.


How to build your own LEGO triangles

Understanding triangles designed by a LEGO Senior Designer is one thing; inventing your own is a different ballgame. Here are some pointers for building clip-based triangles of your own.

  • Select a Pythagorean triangle from the diagram based on size and angle. If it’s too small, multiply the sides by 2, 3, …
  • If the hypotenuse is a multiple of 5, you can work with modified plates that lie parallel to the hypotenuse (as in the last example from Fett’s starship). Otherwise, you have to work sideways (first example).
  • If the horizontal leg is a multiple of 5, you can build the horizontal and vertical leg studs-up. At each corner, place a modified plate with clip in the same orientation.
  • If the horizontal leg is not a multiple of 5, you have to work sideways for the horizontal leg, and vertical for the vertical leg.
  • If odd-LU distances are involved (which is often the case), involve brackets or SNOT bricks (regular or headlight).
  • The building direction of the horizontal leg can be reversed without much impact.
  • Switching between a ‘hanging’ and ‘standing’ bracket implies a 1 LU increment, so this is a good trick to fill a 1 LU gap.


I find that first lining up the parts in digital software such as BrickLink Studio helps to find the exact geometry. After placing a first clip (on its side), I attach the assembly for the hypotenuse and hinge it to the right angle (as per the length of the two legs). Then I try to line up plates and bricks until the second clip falls into place – without even calculating the required length! This helps guarantee that your candidate triangle is indeed legal, instead of trial and error in real life.


To prove that this technique has application beyond modified plates with clips, I leave you with these (digital) table scraps. 

6 further lego triangles, of various sizes, using other pieces for the hypotenuse.

Used for the hypotenuse are: Bar Ladder 7 x 3 with 4 Clips (30095); Panel 4 x 4 x 13 Curved Tapered with Clip at Each End (18969, 43030), Technic Pin Connector Round with 4 Clips (90202); Bar, Parallel Angled with 2 Connecting Bars (Train Hinge) (37494); Arm Mechanical with 2 Clips [Battle Droid] (30377) and Plate Special 1 x 2 with 2 End Towballs (3170).

Happy building!


READ MORE: Until 2 Aug 2025, get a free Kamino Training Facility GwP with purchases of 75409 Jango Fett’s Starship


Help New Elementary keep publishing articles like this. Become a Patron!

A huge thank you to all our patrons for your support, especially our 'Vibrant Coral' tier: London AFOLs, Antonio Serra, Beyond the Brick, Huw Millington, Dave Schefcik, David and Breda Fennell, Gerald Lasser, Baixo LMmodels, Sue Ann Barber and Trevor Clark, Markus Rollbühler, Elspeth De Montes, Megan Lum, Andy Price, Chuck Hagenbuch, Jf, Wayne R. Tyler, Daniel Church, Lukas Kurth (StoneWars), Timo Luehnen, Chris Wight, Jonathan Breidert, Brick Owl, BrickCats, Erin and Dale, Thunderdave, Jake Forbes and our newest top-tier patron, H.Y. Leung! You folks are better than inverted cheese slopes.

All text and images are ©2025 New Elementary unless otherwise attributed.


22 comments:

  1. Great article! You should add the definition of ‘module’ to your glossary because it’s a term that’s been used often on New Elementary but I haven’t been able to find the definition until now.

    ReplyDelete
    Replies
    1. It's the width of a 1x1 brick. Or 5 LU. But a good tip to add this, thanks.

      Delete
  2. Great article! I recently built the 10360 Space Shuttle Aircraft Carrier and was excited to learn how they managed the clip-and-triangle solution of the 747's humpback. However, the math in the instructions (step 243) don't seem to add up for me, making this a possible illegal building technique that benefits from the tolerances over the long distance?
    I would love to hear Arno's thoughts on this, as I learned more from his articles than from the official sets :-)

    ReplyDelete
    Replies
    1. Curiosity got to me and i looked up the instructions, and it seems like that's a more straightforward case of the reflected triangle method, with a 2-plate offset between the front and the back on both the main body and the sloped segment.

      Delete
    2. As far as I can tell, it's a legal technique indeed (no surprise there, in an official set). Bfa is right about the dimensions, but I would call this an instance of the rectangle trick. Viewing from the side, there's an imaginary rectangle, 2 plates (4 LU) high, and 12 modules (60 LU) wide. This rectangle should match a similar rectangle in the main assembly. The angle should be 2*arctan(4/60) = 7.6 degrees. Sounds about right?

      Delete
    3. Thanks Arno and Bfa for looking into it! I know about reflected triangles, but here it is an ordinary Right Triangle. The “sloped part” forms the hypothenuse and spans 12 modules (60 LU) between the rotation points of the clips (just like Arno said). The vertical cathetus is 2 plates (4 LU), but then the horizontal cathetus (snotted center structure) is -also- 12 modules (30 plates, 60 LU) long, violating the math of a Right triangle. In this case, the hypothenuse should actually be 12.0266 units long (which practically is really close to 12 accounting for tolerances), but that would make it an illegal technique.

      Delete
    4. The 12-module slope length isn't the true hypotenuse, because the two clip-bar connections on the sloped segment are vertically offset by two plates; on the slope the front is two plates "below" the back, while on the body the front is two plates "above" the back. Arno's right that I misidentified the given name of the technique, though. (I'd screenshotted a half-assed mockup of it in studio but then realized one of my heights was off by one but had already closed the unsaved build file and don't feel like recreating it lmao.)

      Delete
    5. Now I see it! (The 2 plate vertical offset is in the main structure as well as the humpback subsection) Thank you so much for explaining so patiently!

      Delete
  3. Random fact about Pythagorean triangles: the rule applies to 16:9 aspect ratio TV's and makes it very easy to calculate their height (60%) or width (80%) as a percentage of diagonal length

    ReplyDelete
    Replies
    1. 16:9 is not Pythagorean.

      Delete
    2. On a 4 : 3 screen, the diagonal would be 5, so then, width/diagonal = 4/5 and height/diagonal = 3/5.
      On 16/9, there is no easy ratios (the diagonal would be sqrt(256 + 81) = 18.357...), so width/diag = 0.871... and height/diag = 0.490...

      Delete
  4. General trons bricks28 Jul 2025, 05:45:00

    Ive found an inaccuracy in all this.. the stud with hole on the headlight brick is more than 1 LU.. as it actually sticks out ever so slightly farther than the lip below it. This has been a bane to my building many a time as a headlight brick wont sit flush against another brick if on the stud side

    ReplyDelete
    Replies
    1. Thanks for pointing this out, absolutely right! I had to pull out the old callipers to find it's indeed 0.37 mm taller than I had always thought. Most annoying. We'll update the diagram.

      Delete
    2. Yeah it definitely sticks out and has always been a problem. I believe it's related to the general problem that makes 99780 bracket plates not usable in a mirror design, and the difference between 99206 and its new mould that makes it as bad as brackets. Brackets from some Chinese brands don't have that problem, so I wouldn't be surprised if there were headlight brick moulds out there that don't have this problem.
      It's strange how some other brands have a "better" system. Like, I've seen technic bricks with holes at the same placement as bracket bricks, not some fraction of a mm too high like LEGO's, making them perfectly "in system".
      I'd like to see an article on all these shenanigans, because I've seen people claim that LEGO has a good reason for these choices, but the truth is, moulds made with different design choices do exist out there, we can play with them, and they simply expose less problems (generally, leaving out slight gaps instead of stressing parts) than the LEGO ones.

      Delete
    3. I've also used LU as the preferred units for describing LEGO part anatomy for many years. For example, in this talk that I gave at BrickCon: https://www.youtube.com/watch?v=5PNGCbo5Qfw

      It's a fantastic unit for describing sub-part measurements since almost everything can be described as a whole number multiple of LU's. (The wall of a hollow stud is one of the rare examples of something smaller than 1LU - the wall is only 1/2 LU thick.)

      Thanks for helping to popularize this measurement system since it is extremely useful for understanding how LEGO works!

      Delete
    4. General trons bricks28 Jul 2025, 20:36:00

      The LU is nice but the LDU has more precision with 20 draw units from stud to stud.. but that is just my opinion respectfully

      Delete
    5. Yes LDU certainly have a lot more precision, but for others who don’t need that much precision (or not very often), LU is perhaps the sweet spot of granularity… The Goldilocks measurement

      Delete
    6. Thanks Tom, that's a really fun video, super complete. No surprise that I'm a big fan of LU because of the many situations where that unit just produces integer values, without getting ridiculous numbers (Goldilocks zone indeed). The only notable exception that I see where integer LUs are not sufficient is the jumper offset, which is always 2½ LU. And the clip geometry of course... But I can deal with ½s. I know there are building techniques for tiny offsets that justify the use of LDU, but those feel more like a curiosity than a practical technique. Anyway, everyone is free to use the unit of their preference. For me LU works.

      Delete
    7. Because of jumper plates being 0.5 studs = 2.5 LU, I often work with 'tenths of studs' as my unit.
      Plate = 0.4 stud -> 4 units
      Stud diameter = 0.6 stud -> 6 units
      Stud radius = 0.3 stud -> 3 units
      Brick = 1.2 stud -> 12 units
      Jumper = 0.5 stud -> 5 units
      etc.

      Delete
  5. Thanks for this excellent series! Amazing material for newbies (like me) who want to level up their building skills! In this article you define "modules (a.k.a studs)" but it's the only article (1 out of 4 so far) that makes this clarification. May I suggest adding this definition/clarification to the rest of the articles, to make them more accessible to people unfamiliar with the terms?

    ReplyDelete
  6. If you want to blow people's minds, the podcast (and thus the model) of the Spiderman ART set (#31209) talks about double pythagoran triangles...

    ReplyDelete