SketchUp: How to assign materials to groups and components

Everybody knows that faces in SketchUp can be painted with different materials. What lots of folks don’t know is that you can apply materials to groups and components, too. The following illustration shows the Entity Info dialog box, which is a great place to see which materials are applied to your geometry.

The Entity Info dialog box (Window > Entity Info) shows thumbnails for the materials assigned to selected entities. When you select a face, it shows thumbnails for the front and back sides of that face (top). Groups and components have material thumbnails, too (bottom).

 

When you paint a group or component red, only the faces inside it that are painted with the Default* material turn red. Faces that have already been painted with another material don’t change at all.

The above group (top) includes faces that are painted with different materials (bottom). Only the top face is assigned the Default material.

 

Applying a material to the entire group only changes the color of faces that are painted the Default material.

 

This trick also works with groups and components that are nested inside one another. When you apply a material to a top level group or component, all the Default-colored faces that are inside nested, Default-colored groups and components inherit that material automatically. The following diagram is my best attempt at a visual explanation of this phenomenon.

Applying a material to a group or component that in turn contains sub-groups and component instances can be a confusing experience. Just remember that the color you’re painting “trickles down” to Default-colored faces contained within Default-colored groups and components. It’s easier done than said : )

 

*SketchUp automatically applies the Default material to faces you create from scratch. You can also paint anything with the Default material at any time; just pick it in the Materials Browser (which looks completely different on PCs and Macs.)

The Windows and Mac versions of the Materials Browser. On the former, the Default material is included as a permanent thumbnail; on the latter, it’s the first material in the “Colors In Model” list.

 

As you can see, this technique is a godsend for building complicated objects that need to change color easily. In the case of the George Nelson Marshmallow Sofa in the images that follow, the cushions are individual component instances nested inside the main Sofa component. These are assigned the Default material.

I downloaded this George Nelson Marshmallow Sofa component from FormFonts.

The individual cushions are instances of the same component. Each instance is assigned the Default material.

The faces that make up the surface of each cushion are also painted with the Default material.

 

All of the metal and rubber frame pieces are also groups and components, but their faces are all assigned specific materials.

The faces in the non-cushion parts of the sofa are all assigned materials other than Default.

 

When you use the Paint Bucket to paint a color—in this case orange—on the main Marshmallow Sofa component, only the cushions take on that color. Everything not assigned the Default material stays exactly the way it is.

Painting the sofa component orange causes all Default-painted faces to turn that color. Non-Default-colored faces remain unchanged.

Fabrication with SketchUp: An Example

With all the hullabaloo about Personal Fabrication lately, scads of committed SketchUp modelers are getting very excited about turning their digital models into honest-to-goodness, physical things. The idea is thrilling, but the process of actually going “from idea to object” can be intimidating. The PF train is just leaving the station, but with a little bit of help, anyone who knows their way around SketchUp can climb aboard. I promise.

Getting Started

The first thing to realize is that there are basically two types of personal fabrication (at least when it comes to SketchUp.) The technologies are completely different and each is appropriate for specific kinds of objects. Which one you choose depends entirely on what you’re trying to make.

2D CNC Fabrication

2D CNC Fabrication is all about cutting parts out of flat sheets of material. These flat pieces are then manually assembled into a 3D object by means of slots, fasteners or glue. The challenge lies in designing the “kit of parts” such that everything fits together. You’re actually making two models: one to design the final assembly (Image 1) and one that lays out all the pieces for cutting (Image 2).

Image 1: Build the first model to design the final assembly of parts and pieces. This is John Bacus’ design for the SKPRbot that we’re giving away at Maker Faire this weekend.

 

Image 2: Your second model lays out the pieces on a flat cut sheet. Since cost is directly related to the amount of material you use, you’ll save money by designing efficiently. The cut sheets on the right are just Top views of the model on the left (with Perspective turned off.)

 

Image 3: A rendering of a completed SKPRbot. This one’s been cut out of several different-colored sheets of translucent acrylic.

 

The cost of CNC-made stuff is generally a function of two things: material type and material quantity. Because of this, it behooves you to design your “cut sheets” as efficiently as possible. Squeeze parts together to save money. The materials available to you are many; wood, metal, cardboard and plastic are all options.

One more thing about CNC: There are lots of ways to cut things out. Some machines use lasers, some use water and some use metal bits like the ones you find on a router. Knowing which cutting technology you’ll be using is important because lasers, water and metal bits have different kerfs, or cutting widths (Image 4, below). Obviously, that’s something to keep in mind as you’re designing your cut sheets.

Image 4: Kerf is the width of the cut left by whatever tool is doing the cutting. Lasers have negligible kerfs; CNC routers have more significant ones.

 

If you’re planning to buy your own CNC hardware, I’d recommend having a look at ShopBot. Their machines are of the “metal router bits” variety; their focus is predominantly on woodworking.

If, on the other hand, you’d prefer to work with a service provider who can cut out your project and ship you the parts, you’d do well to peruse Ponoko’s website. It’s well-designed, beginner-friendly and affordable. To send a 2D cut sheet file to Ponoko, you’ll need to export an EPS file using Google SketchUp Pro. Beyond that, their 2D Design Tips page is super-helpful.

Additive Manufacturing

Additive manufacturing (or 3D printing, as less fancy people call it) involves squirting material onto a platform. Starting at the bottom and working up, layers are “printed” on top of each other until a 3D object is formed. Different 3D printing machines use plastic, resin, powder (which is hardened into a solid) and even metal. Printed objects can be monochrome or multi-colored.

Image 5: No matter how you’re 3D printing, the first step is to make a “solid” model. Skip down a few paragraphs to learn more about what this means.

 

Image 6: 3D printers build up layers of material in order to create 3D objects. Temporarily floating elements sometimes need sprues or other forms of support, but these aren’t show in the pictures above.

 

Image 7: A rendering of a solid-printed SKPRbot. This one is monochromatic because it’s made from a single material, but 3D prints can also be multicolored if you use the right machine.

 

In general, the cost of additive manufacturing is based on the physical size of the thing you’re trying to print. Most machines top out at objects that are about the size of a lampshade. Choosing fancy materials (like stainless steel) can be pricey, but palm-sized objects printed in resin or plastic are surprisingly economical.

Some machines can even produce interconnected, moving parts by printing a second type of material where voids occur. After the whole thing is made, the second material (it’s often wax) is melted away, leaving just the main components. This is a great way to prototype close-fitting connections like ball-and-socket joints and threaded parts.

The biggest gotcha when it comes to modeling 3D printables with SketchUp has to do with solidity. Every printed object is made out of solid material, whereas every SketchUp model is completely hollow. What’s a devoted SketchUpper to do?

The answer is to create a model which can be considered solid. A solid model (as far as SketchUp’s concerned) is completely enclosed; if you filled it with water and shook it, none would leak out. Happily, one of the features we added to SketchUp 8 is a solidity-checker. The Entity Info dialog box tells you if a group or component is solid. (See Image 5, above.) You can read more about this (and about the Solid Tools in SketchUp Pro 8) in this post from last year.

Buying your own professional-quality 3D printer will set you back about as much as buying a nice car. If that’s a problem for you (it is for me) there are hobbyist machines that you can buy and assemble yourself. They’re all offshoots of the RepRap project, but the best-known and most commercial units are sold by MakerBot Industries. For less than $1500, you can have a personal fabrication facility in your dining room. A huge community of enthusiasts are exploring SketchUp (and other software) workflows online. These are exciting times, to be sure.

Image 8: The Thing-O-Matic from MakerBot industries costs all of $1299. Blue bunny not included.

 

For the less DIY-inclined among us, there are plenty of great 3D printing service providers who can handle the messy business of actual output. All you do is upload a 3D model and wait for your object to arrive in the mail. Ponoko (mentioned above in the CNC category) is an option; their SketchUp workflow is simple and straightforward.

Another great service provider is i.materialise. With equipment capable of 3D printing human-sized objects and years of experience rapid prototyping things like artificial heart valves, this company is very, very capable. Even better, their SketchUp plugin makes 3D printing as painless as possible.