If you prefer creating your own 3D models, instead of downloading and printing open-source designs, the most important aspect, when choosing your preferred 3D modeling software, is how easy the process is. You can’t create successful 3D prints if you’re spending more time trying to decipher the program than you are modeling. While we all have our favorites, from ImplicitCAD to SketchUp, OpenSCAD is always a popular choice: we’ve written about many objects that were created using this free CAD software, like these Magic: The Gathering tokens. OpenSCAD was created in 2009 and allows users to create their own 3D models. It is definitely more focused for small parts, and not for organic structures or art projects. The versatile program is available for download through Windows, Mac, and Linux.
3D printing service i.materialise is a fan of the software. In fact, it recently posted an “OpenSCAD Tutorial & Cheat Sheet: Getting Started with a Free CAD Software” tutorial in the company blog. Using step-by-step instructions, a cheat sheet, and four helpful videos, you can learn how to use the powerful software, and how to create your first model for 3D printing.
The blog notes that David, with i.materialise, is running the tutorial. In his first video for “Part 1 – Introduction to OpenSCAD, Resizing, Moving, Subtracting,” he explains how OpenSCAD actually works, and teaches you about the basic commands. The complex shapes you can create using the software are made up of a large amount of “primitives,” which are simple 3D shapes like cubes and spheres. You can move the primitives around in a three-dimensional space, and do all sorts of things: rotate them, rescale them, add them together or subtract them (to make cut-outs and holes in your model). This creates complex 3D models.
The tutorial states, “Think about an OpenSCAD 3D model like a LEGO project. In order to create a stunning design, you just have to use the right LEGO bricks in the right places.”
When you begin working on a new design in OpenSCAD, the split-screen interface automatically comes up. The left-hand side is called the editor, or console, and instead of drawing shapes using your cursor, that’s where you type your commands. The right-hand side shows the result of your typed command as a 3D model. So for example, if you type “sphere3” into the editor, you’ll see a sphere, with the dimensions 3 x 3 x 3 mm, pop up on the right-hand side of your screen.
If you want to make the sphere look cleaner and more, well, sphere-like, you can type the command “$fn=30” to make your sphere out of 30 different parts. To make a flatter cylinder, instead of a taller one, you can specify the radius and height of the primitive separately, but still in the same command, using “cylinder (r = 5, h = 1).” You can also always see the X, Y, and Z axes displayed, down in the lower left-hand corner of the right-hand side of the screen.
Once you’ve learned some of the more basic OpenSCAD commands, you’re ready to create a simple 3D print! You accomplish this by “putting simple primitives into the bigger picture and creating a simple functional 3D printable object.” For example, in his video tutorial, David subtracts the shape of a cylinder to create a plate with a hole in it. You can create a cube, and then create a separate cylinder, and use the “translate” command to put the cylinder “inside” the cube. Remember, typing an exclamation mark in front of the cylinder will let you see only the cylinder, and not the cube.
As soon as you’re able to use the difference operation to cut out holes in your models, you’ll learn how to resize and rotate your objects, and why it’s helpful to “name” a group of primitives. Finally, you’ll learn how to use flexible variables, like length, thickness, and width, to design objects. Variables can be changed very quickly, and while they’re not always necessary for simple designs, this is an important skill to master, as it makes editing complex models much easier.
Now you know how to create a complex object by “patching primitives together.” It’s time you learned why copying and pasting is useful, like using two copies of a plate in order to create a right angle bracket. Instead of just putting primitives together, you’re now putting complex objects together to create sophisticated designs. But it’s not quite as simple as typing Control C and Control V!
David says, “The thing about OpenSCAD is you have to think very carefully about what you want to do before you do it.”
He explains how copying, pasting, and rotating your objects works in his short video; take a look:
Finally, David’s last video will teach you how to create a 3D model for a simple motor mount, which looks sort of like a square piece of cheese. He first explains what exactly the holes in the motor mount do: for example, the largest hole is “where the output shaft will stick through.”
“This is a fairly simple part, you’re just gonna have the difference of a cube with a couple cylinders for your holes. The only important thing, obviously, is that everything be the right size and the right place,” David explains.
His video guides you through the process, and also “focuses on how you can use a variable to your advantage and how to set the perfect values for units.”
There are a lot of OpenSCAD commands to remember, otherwise you will have a pretty hard time creating anything, much less a complex part. But luckily, there is an OpenSCAD ‘cheat sheet’ that summarizes all of the commands you’ll need to create your own 3D model. Remember, once you’ve learned how to use OpenSCAD and have successfully created a 3D model, you can use 3D printing services, just like i.materialise, to complete a high-quality print.
You May Also Like
COVID-19: Ivaldi’s Nora Toure on 3D Printing and the Supply Chain
Last year, Nora Toure made a very interesting talk on the impact of 3D printing on the global supply chain. The topic was a prescient one, given the events to...
Straumann Group 3D Printing Ceramic End-Use Dental Parts with XJet Tech
In 2017, Israeli additive manufacturing solutions provider XJet announced a new inkjet method of 3D printing ceramics, based on its existing NanoParticle Jetting (NPJ) 3D printing technology. According to a...
Velo3D Lands Largest Metal 3D Printer Order to Date, from Aerospace Customer
Recently, Velo3D received its largest order in company history since its launch commercially in 2018. An existing aerospace customer placed an order worth $20 million for Velo3D’s innovative, industrial metal...
ORNL Licenses ExOne to 3D Print Parts for Neutron Scattering
It is always exciting to see the work of dynamic industry players merging, as in the latest deal between The Department of Energy’s Oak Ridge National Laboratory (ORNL) and ExOne,...
View our broad assortment of in house and third party products.