The models on the 3D Warehouse are created by experts and novices alike. As such, the precision and care with which the components have been created varies widely. Among the most common issues with content downloaded from the Warehouse is the size of the file, both in terms of the object's relative size in the model, and also the byte size of the file. You won't run into very many problems with relative size or byte size if you stick to searching for manufacturer catalogs and Geo content, but you don't want to miss out on the other 95 percent of the content in the 3D Warehouse. So search away, and see what you come up with. If you end up importing a 3-foot-long car, all is not lost. You've got some options.
Scaling Your Components
The Scale tool: The Scale tool is probably the first tool that comes to mind when you need to scale an object that comes in at the wrong size.
In this example we'll use a model of a car that you can download from the 3D Warehouse. Using the Get Models command , search for and download the model "Car Model (Not to Scale)" in the Real World Google SketchUp Chapter 4 collection.
When using the Scale tool to size a component, you can eyeball it, enter a specific scale factor in the Measurements box in the bottom-right corner, or enter an exact size in the direction of the axis about which you are scaling.
For example, click the center-front scale handle. While scaling the model out along the green axis, press and hold the Shift key to constrain on center the proportions of the model, and then click to initially scale the model up to an arbitrary size. Then type 182.5" and press Enter to scale the car to its exact, proper length (Figure 4.24).
Figure 4.24 The Scale tool can be used to scale an object based on a known exact overall dimension along the red, green, or blue axis.
The Tape Measure tool: Among the Tape Measure tool's many uses is its ability to scale components within the model based on a known exact dimension. For example:
- Re-import the same car model that we used in the previous example.
- Right-click the component and choose Edit Component (Figure 4.25).
Figure 4.25 Edit Component.
- Use the Tape Measure tool to measure lengthwise from one endpoint to another endpoint (Figure 4.26). Tip: Click an endpoint on the frontmost part of the model, then press the left arrow key to lock the green axis, and then orbit around and click an endpoint on the backmost part of the model.
Figure 4.26 Using the Tape Measure tool.
- In the Measurements dialog you'll see where SketchUp is telling you that the model is ~4' 71/16. At this point you can tell SketchUp what that distance should be. Type in 182.5" and press Enter (Figure 4.27).
Figure 4.27 Enter a new value for the length.
- When SketchUp asks if you want to change the size of the active component, click Yes (Figure 4.27).
- Zoom out using the Zoom Extents tool .
- The last step is to close up the component wrapper. The easiest way is to take the Select tool (press the spacebar as a shortcut) and then press the Esc (escape) key.
Reducing File Size
Polygon count and image-based texture maps are two of the most significant contributing factors to file size. A model's polygon count can also tax your computer's graphics card and potentially bog down SketchUp's performance. It doesn't make sense to let imported components hog your system resources if they're just in your project as window dressing. It does make sense to choose models that are just detailed enough for your purpose.
Take the car model that you just resized, for example. It's a beautiful model, but the amount of detail would likely be overkill for most situations.
The 3D Warehouse shows that the model is about a 7 MB file. With the model already downloaded, go to Window > Components > In Model Library. Then select the car component in the list, click the Statistics tab, and then choose the Expand check box. In the Statistics pane for the components you'll see that there are over 130,000 entities contained in just this one model (Figure 4.28). That's not so great unless you're working on an ad and the model of this car is the only thing you'll be working on.
Figure 4.28 The 7 MB file of this car model contains over 130,000 entities.
Compare those statistics against a model of a Ford Escape that you can find in the Real World Google SketchUp 7 Chapter 4 collection in the 3D Warehouse, which comes in at 1 MB, and contains about 11,000 entities (Figure 4.29). Even though the model of the Escape is textured, it is still a significantly smaller file. For projects where it would be necessary to place a few cars around—either in a garage, curbside, or in a small parking lot—I'd much rather go with the lower-poly, textured model of the Escape.
Figure 4.29 The textured model of this Ford Escape contains over 11,000 entities and weighs in at around 1 MB.
If you had to put cars all over the place to depict a busy road, intersection, or large parking lot, your best bet would be something from Google's collection of low-poly vehicles, which include cars like the sedan in Figure 4.30 (also in the collection for this chapter, or you can search for "Sedan author:google"), which comes in at a mere 64 Kb and has been modeled with just over 1200 entities.
Figure 4.30 The sedan model is optimized for use in projects where you might need to put a lot of cars in your project.
One of the best file-size savers is to use low-poly, 2D components in lieu of high-poly 3D components. You'll most often find this to be an acceptable option when adding landscape components (such as trees, bushes, etc.) and people to your models. Add "2D" to your search phrase for these types of components and you'll be off to a good start. Some of the best trees I've ever used can be found by searching for "SetTree3D author:pepe." These tree models use an exceptional blend of low-poly, textured, "face-me" components (see Chapter 8, "Mastering Components") while adding depth to the various elements of the tree to lend more realism.
Too Much Junk in the Trunk
Polygon count issues are one thing, and downloading a component that simply has more elements than you need is another common problem. Paste in Place is a command you can use to quickly extract the parts you need to keep, and dump the rest.
- Open a new file and then choose Get Models . Search for the "Kraftmaid Extreme Makeover Home Edition" and download the model of the Riojas family's accessible kitchen by Kraftmaid.
- Right-click the component and choose Edit Component (Figure 4.31).
Figure 4.31 Edit Component.
- Select the kitchen island, and then press Command+X to cut the island and place it on to the Clipboard (Figure 4.32).
Figure 4.32 Cut the island.
- Press the Esc key to close the component.
- Choose Edit > Paste in Place (my recommended custom shortcut is Option+ Shift+V) to paste the island back into the model—outside of the component that contains the rest of the kitchen (Figure 4.33).
Figure 4.33 Paste in Place.
- Take the Eraser tool (keyboard shortcut E) and click the kitchen to leave the island unto itself (Figure 4.34).
Figure 4.34 Erase the kitchen.
- To remove the other components that would otherwise still be embedded in the file, choose Window > Model Info > Statistics > Purge Unused.