Open source CAD programs

3 open source alternatives to AutoCAD

Open source CAD programs
Image credits : 

4334ATA, via Wikimedia Commons. Creative Commons Attribution-Share Alike 3.0.

Have you ever used an open source CAD tool?

CAD—computer aided design, or computer aided drafting, depending on who you ask—is technology created to make it easier to create specifications for real-world objects. Whether the object you're building is a house, car, bridge, or spaceship, chances are it got its start in a CAD program of one type or another.

Among the best-known CAD programs is AutoDesk's AutoCAD, but there are many others out there, both proprietary and open source alike. So how do the open source alternatives to AutoCAD stack up? The answer depends on how you plan to be using them.

Let's start by being honest and upfront about something: If you're looking for a drop-in replacement for your existing CAD program that will provide identical functionality and workflow without making any changes to the processes you use, you're going to be disappointed. But I would argue that the reason for your disappointment has nothing to do with the licensing of the product—drop-in replacements for complex programs with long-time users who have specific needs and expectations for their software are hard.

The trick for deciding whether a replacement piece of software, whether open or closed, is a good choice for you is to tease out exactly what your needs are. The situation is no different than discovering that the person who insists that they "need" Photoshop is just using it to draw a few geometric shapes and remove red eye from photos; what they really need is a graphics editing tool that can replace those specific functions. Whether it has all of the bells and whistles of the original is irrelevant if those features sit paid for but unused.

My personal journey through open source CAD programs was no different. I had worked with AutoCAD briefly in grad school, and so when I wanted to play with drawing three-dimensional plans for something, it was pretty much all I knew. But that alone didn't make AutoCAD the best choice.

As I've strived to replace more and more of software in my life with open source options, Blender turned out to just as good for my 3D modeling needs, whether I was playing with models created for a 3D printer or looking at landscapes exported from other programs. And for the relatively simple task of planning out my home landscaping projects, Sweet Home 3D has been an excellent open source alternative.

If your needs are a little more specific, and what you need is really a dedicated CAD program, here are great open source choices to consider:

BRL-CAD

BRL-CAD is a cross-platform CAD tool that dates back to 1979, although for the source code to be released under an open source license would take 25 years. In fact, BRL-CAD is so old that it has been credited with being the oldest source code repository of an application currently in active development.

Originally developed by Mike Muuss at the Army Research Laboratory, BRL-CAD is been used for decades by the United States military for modeling weapon systems, but also has been used for much more everyday design tasks, from academic to industrial design to health applications.

So what does more than 35 years of development bring you? BRL-CAD is made up of more than 400 different constituent tools and applications spread across more than a million lines of source code. Not all parts are under the same license, with licenses ranging from BSD to LGPL to simple public domain; the COPYING file within the project's source code on SourceForge has more details.

FreeCAD

FreeCAD is a parametric open source CAD program that was created to be able to design "real-life objects of any size," and although it's clear that many of the showcased examples created by users are smaller objects, there's no specific reason it couldn't be used for architectural applications as well. FreeCAD is written primarily in C++, and if you're a Python coder you'll want to take advantage of the ability to extend and automate FreeCAD using its Python interface.

FreeCAD can import and export from a variety of common formats for 3D objects, and its modular architecture makes it easy to extend the basic functionality with various plug-ins. The program has many built-in interface options, from a sketcher to renderer to even a robot simulation ability. Currently in beta, FreeCAD is being actively developed with the most recent version hitting release last month.

FreeCAD's source code is hosted on GitHub, and is made available as open source under an LGPL license.

LibreCAD

LibreCAD is a another CAD program that is designed to work across Windows, Mac, and Linux alike. A fork of QCAD (mentioned below), LibreCAD has an interface that will look familiar to AutoCAD users, and by default it uses the AutoCAD DXF format for importing and saving, though it can use other formats as well. LibreCAD is 2D only, though, so it makes more sense if you're intended use is a site plan or something similarly, err, flat.

LibreCAD is licensed under the GPL and you can find its complete source code on GitHub.


These aren't the only options. Other good choices that are worth your time to check out include:

  • OpenSCAD, which is billed as "the programmer's solid 3D CAD modeller," owing to the fact that it is not an interactive modeler, but one where modeling is done with a script file.
  • QCAD, which is cross-platform but limited to two-dimensional applications.
  • SolveSpace, which is a parametric two- and three-dimensional CAD program.

But we can't include all of the options here. If you have a favorite, let us know in the comments below

About the author

Jason Baker - Jason is passionate about using technology to make the world more open, from software development to bringing sunlight to local governments. Linux desktop enthusiast. Map/geospatial nerd. Raspberry Pi tinkerer. Data analysis and visualization geek. Occasional coder. Cloud nativist. Follow him on Twitter.