FOSSCON 2018: Where Open Source And LEGO Collide

It probably won’t come as a surprise to anyone reading this, but hackers and makers absolutely love LEGO. We think you’d be hard pressed to find a Hackaday reader, young or old, that hasn’t spent some quality time with the little plastic bricks from Billund, Denmark. So it follows that there’s a considerable community of individuals who leverage their better than average technical prowess to utilize LEGO in new and unique ways. But the activities and history of these LEGO hackers is not exactly common knowledge to those who aren’t heavily vested in the hobby.

During the recent FOSSCON 2018 in Philadelphia, Daniel Pikora gave attendees a comprehensive look at the intersection of open source development and the world’s most popular brand of construction toys. A software developer with a penchant for open source code by trade, he’s also an avid member of what’s known as the Adult Fan of LEGO (AFOL) community who’s exhibited his creations at shows across the United States and Canada. Such a unique perspective, with a foot in both the FOSS and LEGO camps, makes Daniel an ideal tour guide for this particular microcosm of toys and tech.

In a whirlwind presentation that took attendees through 49 slides in about as many minutes, Daniel covered LEGO’s beginnings in the 1930s to the rise of 3D printed custom bricks, and everything in between. Some of the engineering-centric product lines, such as Technic and Mindstorms, were already fairly well known to the types of folk who spent a beautiful Saturday in Philadelphia at an open source conference. But Daniel’s deep-dive into the long history of open source LEGO projects brought to light the work of so many dedicated developers that everyone walked away with a newfound respect for the amount of work the AFOL community has put into elevating LEGO from a child’s toy to a legitimate tool. Join me below for a look at the particulars of that deep dive.

Open Source Spirit

One of the key points Daniel made early on in the presentation is that, contrary to common misconceptions, LEGO products (I.E. the physical “bricks”) are not open source. In fact, the LEGO company is very aggressive about protecting their intellectual property and any unauthorized use of their brand or designs is likely to be met with legal action. That said, LEGO appreciates the near ubiquity of their products in the hacker’s toolkit, and they’ve occasionally made some concessions to their otherwise strict terms of use.

For example, in 2010 LEGO released a document describing the protocol for their “Power Functions RC” product line which opened with the following “license”:

Please feel free to use any information from this document for personal, non-commercial use only,
provided you keep intact copyright, trademark and other proprietary rights of the The LEGO Group –
have fun.

While this simplistic license is unlikely to get the approval of the Free Software Foundation anytime soon, open source licenses with non-commercial clauses aren’t unheard of. Even though LEGO doesn’t often use official open source licenses for their products, few could argue that LEGO doesn’t embrace the spirit of open source. The exchange of information and a culture of “remixing” is pervasive in not only the AFOL community but the LEGO company itself.

In 2016, after hearing that some customers had come up with an alternate way of assembling the gearbox in the Technic Porsche 911 GT3 RS kit, LEGO released a statement encouraging customers to experiment and find their own solutions. The statement closed with a line that encapsulates LEGO’s feelings on open source, at least in spirit if not in letter:

LEGO Technic really is the ultimate open source design product and now that it is finally available, we look forward to seeing all the ‘improved’ models our fans create. After all, that is what LEGO building is all about.

The World of LDraw

Datsville, a collaborative city built with LDraw tools

While the LEGO hardware might not be open, there’s no shortage of open source software that has sprung up surrounding it. Primarily these tools are designed to help builders plan and document their projects using the open source LDraw file format. It would be fair to say that these tools are a cornerstone of the AFOL community, and have enabled collaborative efforts that might otherwise have been impossible.

The original LDraw, and its eponymous file format, was released for DOS in 1995 by James Jessiman as the first unofficial LEGO CAD package. He put considerable effort into making the file format modular and extendable, so others naturally adopted it in their own programs. Sadly, James passed away just a few years after the release of LDraw due to complications from the flu. As a fitting memorial, the community continues to use and develop the LDraw format that he pioneered.

Accordingly, there’s a huge list of software packages that utilize the now Creative Commons licensed LDraw format. Even LEGO’s official CAD program, Digital Designer, offers support for it. Daniel walked attendees through over a dozen LDraw-compatible tools, with a specific focus on those which are released under an open source license and for multiple platforms.

Playtime Goes High Tech

Daniel wrapped up the presentation with some details about the latest advancements in the AFOL community, including 3D printing custom or rare pieces and the latest generation of Linux-powered LEGO Mindstorms. These technologies are allowing for LEGO creations that go far beyond what was capable in the early days, and further cement LEGO as a practical system for rapidly developing hardware projects.

AFOL members point to a detail in 2008’s Iron Man that shows Tony Stark using some open source Mindstorms code during the construction of the Mk I suit as validation that LEGO has transcended its humble beginnings as a replacement for wooden children’s blocks in the late 1940’s. While the reference is obviously tongue-in-cheek, it does go to show the pervasive influence LEGO has had on the generations of engineers who got their start rummaging through piles of multicolored bricks.

10 thoughts on “FOSSCON 2018: Where Open Source And LEGO Collide

  1. I’m more of a meccano/erector-set man for my rapid mechanical prototyping and noodling, but was seeing single color packs of knockoff blocks in a dollar store the other day and contemplating them for some housings/cases. Probably need a lot of kragle with those ones though. I’d probably be more of a fan of the technic lego if the pricing wasn’t insane cubed.

    Here’s a story about a guy who used the eastern European equivalent of meccano, Merkur to prototype soft contact lens production… https://en.wikipedia.org/wiki/Otto_Wichterle#Prototype_development

    1. The patent for the brick wasn’t actually for interlocking bricks: it was the the interior cylinder on the bricks that let them grip the studs on the top of the bricks. The original Kiddiecraft bricks had a gap in the side of the brick, and flexed slightly to allow the bricks to grip the studs below them.

    2. Literally has nothing to do with this post, unless you’re saying it’s this dude’s job to tell everyone about nearly 100 year old potential IP theft everytime he gives his lego talk.

  2. When the original Mindstorms kit came out, people took it apart, reverse engineered the firmware (both the thing that gets downloaded to the device by the PC software and the core firmware on the device itself), published technical specs and such, wrote alternative options for development on the device and otherwise opened the whole thing up to hackers. Rather than do what other less friendly companies might have done and send cease-and-desist notices and such, they allowed it to stay up and continue.

    I own the original Mindstorms kit but dont use it because I can’t get the software working on newer versions of Windows. The latest EV3 kit with an ARM9 Linux computer for a brain is cool but I can’t afford the huge price tag on that one :(

    1. Yes keeping the original Mindstorms running has been a challenge. When I last used it I had some hoops to jump through to get it running. But I can’t remember if I did it on OSX or used on XP

  3. Really cool that LDraw has been around this long, I used it in 8th grade to make custom instructions for the two robot chassis’ I made for my science project comparing different powertrain capabilities on off road terrain.

Leave a Reply to DanCancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.