From the course: SketchUp Tips
Clean up CAD drawings with extensions - SketchUp Tutorial
From the course: SketchUp Tips
Clean up CAD drawings with extensions
- [Lecturer] When you're working with imported CAD drawings, there's typically a lot of cleanup that is necessary before you can use the information directly to create a 3D model in SketchUp. For example, in this model I've already cleaned it up to some degree by toggling off certain layers and eliminating unneeded objects, but also over here I notice if I orbit around that some of the edges don't appear to be on the ground plane. This is something that would be quite tedious to fix manually because each vertex seems to be a different height and elevation. Fortunately there's a global way to fix this using an extension. I'd like to show you that now. This particularly extension that I have in mind is accessible through SketchUcation's plug in library. And you can access that from this URL. First register for a free account, and you can just click Download Now and you'll download thinking rbz file. Once it's downloaded, go back into SketchUp and choose Window, Extension Manager. And click install Extension. So elect the rbz file and open it. And close the extension manager. Now up here we have a new menu that says Extensions and we can choose SketchUcation, ExtensionStore. And you can sort this list in different ways. There are numerous extensions that you can explore. But what I'm interested in is a specific extension, so I'll search for it by name. It is called drop vertices, and it's by TIG. You can download that and install it just by clicking that red button. Be warned that you're giving this access to your file system so you want to be sure to trust this author. I'll choose Yes, and then it tells me where it was installed, and I'll click OK. Then I can close the Extension store and we have a new item in the menu up here. This particular extension works with a selection, so what I need to do is orbit, make that selection and then choose Drop Vertices, in this case, to Z equals question mark. And we'll set that to zero and click OK, that's it. All those vertices are dropped down to the ground plane. Another thing that we need to do is generate surfaces in every enclosed boundary. So for example, over here I could do that by drawing a line and tracing over an existing edge, and that would generate a surface, but this would incredibly tedious to do manually, to trace over each edge, so fortunately this is something that's better solved with an extension. To do this let's go ahead and access this extension, not through the SketchUcaton Store, but this time through the builtin Extension Warehouse. First register for a free account, and now in this case I'll type in make faces, enter. And it's this one here, s4u Make Face. And it's this top item here, I'll click on it, and then install. I'll say Yes, and OK, and then close the Extension Warehouse. Up here we have a new item in the menu, Make Face. Again, it needs a selection, so I'll make a selection including everything in the model, and I'll choose Make Face. It generates surfaces in each enclosed boundary. So it worked really well, but it also subdivided the floor into these different sections where we have furniture, and that's not really what I intended, so I'm going to undo, and then go to Window, Layers and toggle off the furniture layer, and then select everything again and use Make Face. Because it works on the selection, it generates the surface, filling up the whole floor area. I'd like to draw in a line here, to cut off the outside and separate it from the inside. We also need, it looks like I'll go in the top view and it looks like we need another line right over here to generate a surface in the garage. So we have different surfaces in each enclosed boundary area. I'll turn the furniture layer back on and observe that the furniture is now shown in bold because these are considered to be stray edges that do not define surfaces. We can clean all of this up, globally, using another script. And this script will cleanup your line work. It will take care of things like stray edges and cases where we have multiple colinear lines, it will join them together. To access this last extension, go back to the Warehouse and type in cleanup, enter. We're looking for cleanup cubed, which is a script by TomTom, here it is I'll click on it and then install. Yes, and OK. Now another window pops up in this case and it informs us that TT Lib squared is not installed. This is a script library that's required in many of TomTom's extensions, so I'm going to scroll down here and click on the requirement like, TT Lib squared and then install that as well. Yes, and OK. Because of this two-part nature of the library being separate from the cleanup script we do not see it up here in the menu. What we'll have to do is save this file and I'll call it CADImport2, and then quit SketchUp, relaunch SketchUp and then you'll see a new item in the Extensions menu right here. cleanUp cubed, Clean. You don't need a selection in this case is your scope is set to the entire model. Local would be in the case where you want to run this inside of the group or a component, and the scope Selected would just apply to the selection. I wanna apply it the entire Model. I want to Show Statistics at the end. I'll Purge anything that's unused, including components, materials, styles and layers. I'll Erase any Hidden Geometry. I don't need to Erase Duplicate Faces, very slow. And we shouldn't really have any duplicates because we just generated these faces. I'll move all the Gemetry to Layer0, thereby eliminating all these CAD layers. I'll Merge any Identical Materials knowing their attributes. I don't need to Merge Coplanar Faces. If I did, I'd end up with just a single face, 'cause all of the faces in the model right now are coplanar, namely they're on the ground plane. Down here Repair Split Edges is what we'll join any colinear lines together. Erase Stray Edges will erase any edges that are shown in bold such as the furniture in here. And I'll go ahead and click Cleanup. It gives us a listing of what it did. It reduced over 3,000 edges, it got rid of one component, 10 layers, seven materials. And let's take a look at Model Info. On Statistics you'll see that we're down to just over 1100 edges, we have 100 faces, we have no materials, just the default layer, and just the default style. So I think we've reduced this probably as much as is possible here and we're in a good place now to begin a 3D modeling project using this CAD data.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
Best practices for importing CAD drawings12m
-
Clean up CAD drawings with extensions8m 44s
-
Model walls with outer shell11m 1s
-
(Locked)
Use math to model precise forms12m 8s
-
(Locked)
Control softening and smoothing8m 21s
-
(Locked)
Composite SketchUp 2D graphics9m 11s
-
(Locked)
Make photographic entourage11m 31s
-
Create depth-of-field effects with fog5m
-
(Locked)
Animate section planes4m 16s
-
(Locked)
Master arrays10m 59s
-
(Locked)
Use the tape measure and protractor10m 19s
-
(Locked)
Create flights of stairs for any rise and run9m 38s
-
(Locked)
Work with drawing axes8m 18s
-
(Locked)
Add functionality to SketchUp13m 14s
-
Explore Fredo6's Bezier Spline tools11m 31s
-
(Locked)
Model pottery with a Bezier spline7m 48s
-
Loft a handle with Curviloft12m 34s
-
(Locked)
Cycle materials in dynamic components10m 9s
-
(Locked)
Control object visibility12m 40s
-
(Locked)
Keyboard shortcut strategy4m 28s
-
(Locked)
Animate a door as a dynamic component8m 46s
-
(Locked)
Prepare and save dynamic components6m 37s
-
(Locked)
Work in interiors8m 14s
-
(Locked)
Mirror options6m 35s
-
(Locked)
Frame artwork9m 44s
-
(Locked)
Best practices with layers7m 44s
-
(Locked)
Explore sketchy styles7m 7s
-
(Locked)
Explore linetype4m
-
(Locked)
Walk-through and flyover animations11m 35s
-
(Locked)
Render with Twilight11m 6s
-
(Locked)
See through ceilings and walls6m 28s
-
(Locked)
Urban context6m 21s
-
(Locked)
Work with stereograms8m 3s
-
(Locked)
Generate tensile membranes6m 55s
-
(Locked)
Cloth simulation7m 7s
-
(Locked)
Using SketchUp and Revit together via IFC9m 2s
-
(Locked)
Reporting on advanced attributes in components7m 43s
-
(Locked)
Using the Sandbox tools15m 3s
-
(Locked)
Bonus Sandbox tools8m 17s
-
(Locked)
Architectural moldings12m 12s
-
(Locked)
Rounded countertop edges7m 41s
-
(Locked)
Upholstery and pillows7m 49s
-
(Locked)
Using FredoScale9m 1s
-
(Locked)
Intersect Faces with Model8m 11s
-
(Locked)
Using Section Plane to slice geometry5m 16s
-
(Locked)
AmbientOcclusion8m 30s
-
(Locked)
Artistic renderings with SketchFX8m 39s
-
(Locked)
Advanced camera tools8m 39s
-
(Locked)
Making woodworking joints with solids12m 32s
-
(Locked)
Creating grungy surfaces for realism10m 33s
-
(Locked)
Using watermarks with scenes7m 9s
-
(Locked)