Chapter 9
IN THIS CHAPTER
Dividing your model into layers
Using SketchUp files for 3D printing
Preparing a SketchUp model for 3D printing
Knowing your 3D printers
Going beyond basics with joints and motion
Seeing your masterpiece in SketchUp is cool. You can twist and turn and view it from every angle. But wouldn’t the world be so much cooler if you could hold your creation in your hands?
This chapter talks about using SketchUp with a 3D printer.
To follow along with this chapter, you need a working understanding of SketchUp and its tools. We assume you’ve heard about 3D printers and are curious to learn more. The focus is on desktop 3D printers, the most common class of 3D printers on earth. You get a look at 3D printing technology in general and touch briefly on a few types of professional machines.
Most of this chapter discusses guidelines, methods, and tools to help you modify your SketchUp models to be 3D printed. We also point out a few limitations of 3D printers, and how you can work within them.
It may sound like magic, but 3D printing is a process that uses the 3D information from your SketchUp model to build a physical version of that model in the real world. It’s science fiction come true.
3D printing got its start as the hot new technology of the mid-1970s — and spent 35 years stuck as the high-priced plaything of prototyping engineers and the lucky people who build fighter jets. And that’s where it stayed until the first DIY desktop 3D printers appeared in 2009. Overnight, the cost of a 3D printer fell from $500,000 to $500. What was once the coveted technology of the chosen few is now found on the desk of any well-equipped designer, engineer, or model maker.
There are many different 3D printing technologies and manufacturers, but they all use a process called additive manufacturing: An object is built from thin horizontal slices of material, with each new layer extruded slightly above the previous layer and then fused to it. Layer by layer, the printer builds up the object until it's finished.
SketchUp’s world is an amazing place where you can rapidly build a 3D model while ignoring little things like the laws of physics. An object being 3D printed, however, is subject to all the forces of the physical world, including that pesky omnipresent one, gravity. New layers can’t be printed floating in open space; they need to have something below them.
With a little forethought, you can avoid the use of support material entirely by adhering to a few basic guidelines:
Bridging is a feature on 3D printers that lets you print a structure across a gap without using support material. To bridge a gap, the structure being printed must be parallel to the build platform and have a secure point of attachment on either side, as with the top of the door frame shown in Figure 9-4. The printer will attach plastic to one side of the gap and stretch a line across to the other side. The process is repeated until the gap is filled. Future layers are printed on top as usual.
The longer you work on a SketchUp model, the more it tends to fill with illogical intersections, free-floating cantilevers, and other quick shortcuts. When you’re making an image or walkthrough, these are minor trade-offs that help get a big job quickly. Drawing something that looks right on the outside in SketchUp doesn’t necessarily mean it can be 3D printed with one click of a button. A 3D printer can’t interpret that mishmash of geometry to guess what you were really thinking.
In this section, you discover how to clean up that SketchUp madness and make it into a 3D printable object. The cleanup process uses tools discussed in earlier chapters, but the way you use these tools differs. Cleaning up a messy SketchUp model can look like a daunting task when you start. Remind yourself that it’s just like eating an elephant: Divide the job into manageable chunks and work on them one at a time … even if the trunk can be a bit chewy.
Although you can use the Section Plane tool to create sectional views through your model, this awesome tool has another use: It can show you what’s going on inside your model’s geometry. 3D printers see a SketchUp model as a series of 2D horizontal slices. Figure 9-5 moves the Section Plane through the model horizontally to show what the 3D printer is going to see.
To get a watertight solid object, all groups need to be combined into one, and all that extraneous geometry has to be eliminated from the model. Chapter 11 discusses the Section Plane tool in detail.
To 3D print your parts successfully, they need to be solid objects, or as close to solid as possible. No missing or extra faces, overlapping sections, or extraneous bits allowed. Your SketchUp model needs to describe all aspects of the outer surface of the shape. For example, to print an egg, a SketchUp model would need to describe 100 percent of the outside of the egg’s shell. That’s not as simple as it sounds.
A solid model that's 3D-printable meets the following criteria:
Groups and components are merged. Chapter 5 explains groups and components, and how to use them to keep your SketchUp model organized as you work. Groups and components are great for keeping parts from sticking together as you work, but to make your SketchUp model a solid shell that can be 3D printed, you need to merge everything together.
Before you start exploding things and sticking them together, spend a moment thinking about how you want your actual 3D printed model to work. For most projects, you need to merge all your groups and components into one printable object before exporting your model from SketchUp. For larger projects, think about assembling the blocks into sections that you can 3D print and attach together later.
The upshot is that 3D printers aren’t very smart. If you make them guess what your part should look like, they will usually guess wrong. Figure 9-6 is a testament to the carnage.
Chapter 6 explains how to use SketchUp’s Pro’s Solid Tools to perform Boolean operations. Solid Tools are great for unifying groups made up of simple solid parts. They can save significant time. Unfortunately, complex shapes cause the Solid Tools to act unexpectedly — and, after multiple iterations, to break down.
In Figure 9-7, Solid Tools had no problem intersecting several simple cubes together, but adding a complex shape to the object caused the tools to break down. The accompanying sidebar takes a closer look at why this happens.
Two tools from the SketchUp Extension Warehouse are essential for 3D printing: CleanUp3 and Solid Inspector2, both created by Thomas Thomassen.
CleanUp3 checks and simplifies the geometry of your SketchUp model. It combines multiple faces, eliminates extraneous data, and erases any lines that don’t make a face. Two of the most useful CleanUp3 options are Erase Duplicate Faces and Repair Split Edges, which can be enabled in the CleanUp3 menu. Duplicate faces and split edges are errors that inevitably appear in your model as you work in SketchUp, and they drive 3D printers nuts. Both errors are hard to recognize and repair manually.
CleanUp3 is also great at simplifying STL files (3D-printable files) you import into SketchUp. In Figure 9-8, which shows the triangulated data you get from an imported STL file, the faces have been broken into hundreds of triangles. By removing that triangulation, CleanUp3 makes files downloaded from 3D printing communities (such as Thingiverse at www.thingiverse.com
) easier to edit in SketchUp.
An alternative way to assemble your groups into one object is to use the Intersect Faces command, introduced in Chapter 4. For 3D printing, Intersect Faces can eliminate overlapping geometry and leave behind a solid object. You can use Intersect Faces on very complex objects and groups that aren’t already solid.
In a complex model, isolate and work on one small part of the SketchUp model at a time, making each section into one solid part. Repeat the process on those sections until you have one solid model. The following steps outline this process in more detail:
Select the groups you want to combine and group them together.
Your original groups are now subgroups that exist together inside a new group.
Choose Edit ⇒ Intersect Faces with Context.
Doing so opens your new group and selects all the subgroups, drawing lines at all the places that groups intersect. These new lines of intersection exist outside the subgroups and aren’t stuck to anything yet, as shown in Figure 9-10.
Open each of the subgroups and paste the lines of intersection into them, using Edit ⇒ Paste in Place.
Figure 9-10 shows the procedure.
Open each subgroup and erase all the areas of overlap beyond the lines of intersection.
Work deliberately, moving back and forth between the subgroups to make sure you’re erasing the right areas.
Back in the main group, select all the subgroups, context-click the selection, and choose Explode on the menu that appears.
You end up with one outer shell of an object in its own group. Figure 9-10 shows this result.
Run CleanUp3 on the new part and use Solid Inspector2 to check for any accidental holes.
Individual faces and short line segments can get lost during this process. You may need to make minor touch-ups with the Line tool.
From a highly technical computer-science perspective, every face in your model has two sides: an inside and an outside. The two sides are set apart by a bit of data called the face’s normal.
SketchUp is smart enough that it doesn’t matter how the normals (also known as the front and back) are oriented; both sides are treated the same. 3D printers aren’t that clever; they need to have all the normals oriented so the outsides are pointing out and the insides are pointing in.
To check your model’s normals, you’ll need to look at it styled with SketchUp’s default texture. Choose View ⇒ Face Style ⇒ Monochrome to hide any colors or textures you’ve added to the model and see the default material. (Chapter 10 covers styles in detail.)
Any faces that are shaded the default blue have reversed normals. These faces will need to be corrected, or the 3D printer will see them as missing.
Every 3D printer has a minimum and maximum size of object it can build, as shown in Figure 9-12. These sizes are usually set by the size of the tool printing the material and by the overall size of the printer. To build something bigger, you have to get creative. To build something smaller, you’ll need a more expensive 3D printer.
In the SketchUp world, you can design a skyscraper small enough to fit on the head of a pin, but the 3D printer can’t print it. Every 3D printer has a minimum size for what it can build; anything smaller than that won’t be printed. You find these values listed as Minimum Feature Size and Minimum Wall Thickness. Feature Size and Wall Thickness can turn into stumbling blocks when you’re trying to 3D print a SketchUp model that was constructed at full size and then scaled down.
If you're modeling a small object for 3D printing, create the model in small units, such as millimeters, from the beginning. To set or change the default units in your SketchUp model template, choose Window ⇒ Preferences (SketchUp ⇒ Preferences on a Mac) and select a template that uses millimeters. You can also adjust the default units in the Model Info window by choosing Window ⇒ Model Info and selecting the Units option on the left.
The biggest object you can 3D print at one time is set by the printer’s build volume. If your model won't fit in the build volume, you have to either scale your object down, or print it in parts. The next section talks about how to split up a model so you can print it in parts.
Here are some handy hints for making best use of build volume:
As you do more 3D printing with SketchUp, you’ll run into the need to split your model into parts. Some ideas are just too big to fit into your 3D printer’s build volume. Other ideas want to be 3D printed in a rainbow of colored plastic. And sometimes a model just needs to be split to make it easy to print.
When subdividing a SketchUp model into printable parts, start by thinking about what you’re going to do with the seams. If you’re going to sand, paint, and finish the model, then have at it and cut wherever you want. But sanding and finishing is a huge amount of work, especially if you’ve never done it before. It’s much easier to make your cuts and seams look like they’re intentional parts of the model.
Another good place to hide a cut is at a change in elevation, curvature, or color, as shown in Figure 9-14. Placing a seam where the surface of a part is already interrupted or in transition will make it far less noticeable. This is the strategy most commonly employed for injection-molding parts. Pick up something around you that’s made of plastic and find the seams where the parts come together. If you can imitate that type of seam, people will readily accept that your object is a “real” thing. It will feel correct among manufactured things in our injection-molded world, and you’ll fool people into thinking your 3D printed part came from a factory somewhere.
For very large constructions, the only option may be to establish a grid and cut into build-volume-size blocks. Sanding, finishing, and painting can work well on large parts, but expect to spend substantial time doing it right. If you’ve spent the energy to build something that big, it’s worth the extra time to make it amazing.
Cutting a model into parts is very similar to using the Intersect Faces tool to combine groups (discussed earlier in the chapter). You use a piece of geometry as a cutter that will be intersected with the larger object and become the new edges of the cut.
If your model is fairly simple and you have SketchUp Pro, you can use the Solid Tools to short-circuit this process. Create a solid block as a cutting object and use the Solid Tools ⇒ Trim command. Remember to run CleanUp3 and Solid Inspector2 on the new parts when you’re done. For more complex models, or users with SketchUp Make, use the Intersect Faces method:
Select the group you want to cut and make a new group around it.
The original group becomes a subgroup.
Working inside the new group, create geometry in the shape of the cut you want to make.
Work on top of the subgroup, so you place the cut correctly, as shown in Figure 9-15.
Select the Cutter object and choose Edit ⇒ Intersect Faces with Context (or choose Edit from the context-click menu).
Doing so draws a line at every place where groups touch. These new lines of intersection exist outside the subgroups and aren’t stuck to anything yet, as shown in Figure 9-16.
Inside each group, use Explode to stick the intersection lines, cutting object, and base object together.
The surface of the cutting object becomes the sides of the new part.
In each copy, open the group for editing and erase everything you don't need in that part. Do the same in the other parts.
Just make sure you don’t erase what the object needs to do its job.
After you’ve cleaned up your SketchUp model and you’re ready to print it, you have to get your 3D model out of SketchUp and into your 3D printer’s control software. Before your 3D printer can open your model, you have to export the model in either the STL or OBJ file format.
If you're using SketchUp Pro, you already have the option of exporting an OBJ file. To export an STL file from either version of SketchUp, you’ll need to install a free extension from the SketchUp Extension Warehouse called SketchUp STL. It’s a great tool created by the SketchUp team to make 3D printing easier.
3D printers are available that print objects in materials ranging from plastic to titanium. The medical research world has even created machines that can build structures from human tissue. All that separates these technologies is cost. Affordable desktop 3D printers are limited to printing in plastics. So that 3D printer you bought for $500 can’t print you a new kidney. (Not yet, anyway, but don’t hold your breath.)
The two main ways 3D printers are compared to each other are in terms of cost per cm3 (that is, cost per cubic centimeter of printed object) and minimum layer height. Cost per cm3 is the cost of one cubic centimeter of printed volume; it’s typically the number used when comparing the cost of one 3D printing technology to that of another. Minimum layer height is the thickness of one layer in the object. The smaller the height between layers, the smoother the surface of the finished object will look and feel.
Desktop 3D printers are still an emerging technology. When starting out with your first desktop 3D printer, don’t expect it to work perfectly the first time out of the box. The machines haven’t reached that level of polish yet. It helps to see a 3D printer as a tool you’re learning to use, rather than as an appliance you just plug in. Before you dive into printing your own creations, spend some time going through the printer’s training materials. Print a few test objects and get a feel for using the machine.
Desktop 3D printers tend to be based on tried-and-true technologies that have been used in industrial machines for decades. The two technologies that are available now are fused deposition modeling and stereolithography. The following sections give you an overview.
FDM printers represent the mostly widely available type of desktop 3D printer. They build objects using solid plastic fed through a fancy robotic glue gun-style nozzle. FDM printers are inexpensive to buy, with desktop models ranging from $500 to $2,500. FDM-printed parts are done the moment the printer is finished; no secondary process is needed to finish or strengthen the object. The parts that FDM printers make can be as strong as parts from injection molding, and cost around $0.04 per cm3. On the downside, FDM 3D printers have limited maximum resolution and tend to have a lot of moving parts, which can impact their reliability.
FDM printers consume plastic filament as they build objects. Filament is drawn into the printer, heated, and then fused to form the object. Filament comes coiled on spools that look a bit like brightly colored weed-whacker wire. Spools are available inexpensively through vendors online and are starting to become available in large office supply stores.
Examples of FDM 3D printers are MakerBot Replicator (www.makerbot.com
), Ultimaker (www.ultimaker.com
), 3D Systems Cube (http://cubify.com
), Affinia H-Series (www.afinia.com
), and Solidoodle (www.solidoodle.com
).
SLA 3D printers represent one of the oldest 3D printing technologies. They use a laser to build solid parts in a vat of liquid resin, selectively hardening the resin layer by layer. Desktop SLA machines cost between $2,500 and $8,000, but you’ll hear ongoing speculation about a printer emerging at a price below $1,000. Stereolithography offers superior printing resolution, which gives finished parts a glassy smooth surface. The machines are typically small and nearly silent, with a few moving parts. Prints from an SLA machine typically cost around $0.15 per cm3 and require some cleanup after printing. Also, due to the resin’s toxicity, printed objects must be washed in isopropyl alcohol before handling.
Stereolighography’s consumable resin is an amazing bit of chemical engineering. It’s a liquid at room temperature until it’s exposed to intense ultraviolet light, which hardens the resin into a solid plastic. Resin comes as a bottle of liquid; usually you have to buy it from the maker of your 3D printer to ensure compatibility. Resin has a set shelf life and needs to be stored with some care; it can begin to harden if left in sunlight.
Two examples of SLA machines are Formlabs Form 1 (http://formlabs.com
) and B9 Creator (http://b9creator.com
).
Both FDM and SLA printers are available as kits and open-source DIY plans. In general, these 3D printers are good options for people who are interested in exploring printer technology and modifying their printers. Kits are cheaper than buying a printer, but often less reliable. The saying is, “If you build it yourself, you fix it yourself.”
Two examples of DIY and kit machines are RepRap (http://reprap.org
) and Printrbot (http://printrbot.com
).
Professional 3D printers are typically housed in a dedicated department and operated by full-time employees. They are expensive, with prices in the hundreds of thousands of dollars, but offer capabilities beyond what is available in desktop models. As desktop 3D printing grows, and patents continue to expire, expect to see these technologies becoming cheaper and move into the desktop realm. Here’s the current lineup:
3D printing services offer access to professional-level machines on a pay-per-print basis. Cost is based on volume of material printed, and you receive your printed object by mail in a few working days. Each company offers detailed instructions on minimum part sizes, wall thicknesses, and feature size. Pay attention to these rules. The services know what their machines can do, and you don’t want to be stuck waiting a week for a part that didn’t come out right.
Two examples of 3D printing services are Shapeways (www.shapeways.com
) and Ponoko (www.ponoko.com
).
Your new 3D printer’s manufacturer will have documentation to help you learn how to use the printer and the software, so we don't go into detail on specific machines. The following sections touch on a few general concepts of 3D printing that are often not explained well. For a closer look at 3D printers, check out 3D Printing For Dummies by Kalani Kirk Hausman and Richard Horne.
Desktop 3D printing is cheap. Really, unbelievably, remarkably cheap. Cost for running a typical desktop 3D printer is about 60 cents an hour. Once you’ve started the printer, it doesn't need any more input from you, which frees you to continue working on the design. With such an amazing tool that’s so cheap to use, don’t be afraid to print constantly. Print your SketchUp model over and over as you improve it; doing so develops it.
3D printers are built to print; they don’t like to stand idle. Print more often! You’ll become an old hand at using your machine, and get to see your design as it evolves in real time.
3D printed parts are unique in the world of fabrication. After you’ve created the outside of your part, you also get to decide what happens on its inside. Usually you let the 3D printer automatically handle the inside of the part, filling it with automatically generated structure. It’s also possible to model a part’s interior structure to change how it behaves. For example, you might want to hollow out the center of a part to make it lighter or add space for internal components. Some possible variations include
The more you use your 3D printer, the more you may find it affecting your SketchUp designs. Don’t be surprised if your designs become a bit more ambitious and mechanically complex. This section of the chapter outlines some possible directions and factors to watch out for.
So you cut your model into parts. Now you need a way to get it to all stay together after it’s printed. In this section, you discover different strategies and features, mechanical and otherwise, that you can build into your model for attaching its parts together.
Before we get into a discussion about mechanical connections, you need to understand two more of those pesky realities that crop up when you move out of SketchUp’s idealized environment: tolerance and clearance.
You’ll come to an inherent understanding of clearance and tolerance as you do more designing in SketchUp for 3D printing. As you use your 3D printer, you’ll be able to find values that work well with your equipment.
Glue, shown in Figure 9-19, is the universal way to stick something to something else. Unfortunately, it’s also the weakest and most unreliable method. Glue joints in plastics have very little strength and will tend to break under stress, in response to temperature change, or if you look at them funny. If your part is meant to be anything more than a visual model, use one of the other attachment systems.
Snap fittings are an awesome way to take advantage of your 3D printer. Properly designed, they’ll let you pop your model together as soon as the parts come off the printer. Snap fittings can also be removable, so you can change out various parts of your model as the design evolves.
In SketchUp, you create snap fittings like those shown in Figure 9-20 by following two general steps:
A press fit is when two parts are designed with very little clearance between them. When the parts are forcibly pressed together, friction keeps the joint together with no additional hardware or glue.
To make a press fit like the one shown in Figure 9-21, use the Offset tool to create an outer lip on one side of the connection and an inner lip on the other side. Include a clearance of 0.2mm or less between parts, so you can still assemble them. Keep a few points in mind about press fits:
The strongest connection you can make between 3D printed parts is one held together with metal hardware. These connections are great for things that are more than just prototypes — for example, parts for robots or mechanisms.
When integrating hardware into your design, include the hardware in your SketchUp model. Take measurements of the parts you’re planning to use and model them in SketchUp. After you make these components, save them to the component library so that you can use them again with one click. Keep these points in mind:
Whatever connection system you are using, always test it first. Before you start printing a giant project, build a small version of the attachment. It only takes a few minutes to design and 3D print, and will give you a chance to make sure the joint works properly. Nothing is worse than modeling a system of joints and then discovering they don't fit together properly.
3D printing something you’ve designed in SketchUp is cool. 3D printing something that moves is even cooler. This section focuses on a few features you can include to make your creations more than just interestingly shaped hunks of immobile plastic.
A captive joint is a moveable connection that comes out of your 3D printer already assembled and working. Captive joints tend to be mechanically simple hinges, ball joints, and chain links. Their simplicity is their power. A 3D printer can quickly build objects with hundreds of captive joints that would take days to construct by hand. Poseable action figures, clothing, and the chainmail in Figure 9-23 are examples of simple captive joints assembled into complex structures.
Creating a captive joint requires trial and error. You’ll have to experiment to get the right combination of clearances and shapes. Keep these principles in mind while you work on captive joints:
Pins are small, round snap fittings that are pressed into place to make a connection. They can be a versatile replacement for hardware. In Figure 9-24, a single pin acts as a point of rotation, and two or more will hold parts firmly together.
Pins are like bolts, except you get to make them in exactly the size and shape you need. You can also print more when you run out.
Gears are great for creating complex motions or transferring movement through a mechanism. That is probably the most understated description of the deepest rabbit hole of the industrial age. Gears are in every mechanical device you can imagine. They have existed in some form or other since before recorded history, and are the basis for an incalculable number of clever devices that make everyday life possible.
Making gears is fun and inspires lots of folks to start experimenting with 3D printing. Figure 9-25 shows a simple gear system that can become so much more. To help you get started, here a few basic principles for making gears: