SketchUp subscribers can import DWG and DXF CAD files into their models and export models for use in other software. These common CAD formats are proprietary and are associated with Autodesk, AutoCAD and other programs.
Importing CAD files
SketchUp attempts to convert CAD entities into SketchUp entities during import. It supports these CAD entities:
- Arcs
- Circles
- Faces
- 3D Faces
- Layers/Tags
- Lines and Line Styles
- Materials
- Polyline-based Solids
- Nested Blocks
- AutoCAD regions
- Point
- Ellipse
- Spline
- Raster Images
- Solid Hatches
Preparing your file
Prepare your CAD file before importing it so SketchUp receives the data you need:
- Create a Copy. Import a copy of your CAD file to protect the original details and data.
- Change unsupported elements. If you need unsupported CAD elements, try exploding them in your CAD software and converting them into supported elements.
- Delete unnecessary layers. SketchUp discards entities with no 3D relevance but keeps their layers as empty tags. Purge unused layers before importing to avoid empty tags.
- Move geometry close to the origin. Geometry far from the axis origin can cause performance issues. Check its position in your CAD file before importing into SketchUp.
- Reduce the file size as needed. Smaller CAD files import faster and more easily. Files larger than 15MB may cause performance issues. Include only the geometry you need, or split your CAD file into smaller files.
- Save your CAD file in a SketchUp-compatible format. SketchUp reduces imported CAD data to basic geometry. Older CAD formats may not work well, so save files created in older versions in a more recent format before importing.
Importing a CAD file
After preparing your CAD file, import it into SketchUp:
- Select File > Import.
- Find the CAD file you want to import.
- Select AutoCAD Files as the file type.
- Click Options and adjust the settings as needed. The settings are explained below.
- Click OK.
- Click Import.
CAD import options
The Options dialogue has these settings:
- Under Position, select Preserve Drawing Origin to use the origin defined in the .dwg or .dxf file. Leave it unselected to place imported geometry near the SketchUp origin.
- Under Preferences, choose from these options:
- Import Layers as Groups creates groups that match the CAD file's layers. Each imported layer keeps its tag and matching grouped geometry.
- Import Linework Flattened sets the Z-value of all imported geometry to 0 to remove differences in vertical alignment.
- Merge Coplanar Faces removes interior triangulation lines from flat surfaces.
- Orient Faces Consistently checks imported faces and aligns their orientation.
- Import Materials imports material definitions into your model. Deselect it to exclude materials from the CAD file.
- Import Metadata organises entity attributes to match the relevant IFC classification standards.
- Under Tessellation Quality, adjust these options:
- Angular Deviation (°) controls how smooth curved geometry looks. Smaller angles create more triangles and smoother curves. Larger values create simpler, coarser shapes.
- Chordal Tolerance sets the maximum gap between imported mesh faces and the original CAD surfaces. Lower values give more accurate surfaces. Higher values reduce processing time but create a coarser mesh.
- Max Edge Length sets the maximum length of each polygon edge. Smaller limits create more detail across broad surfaces. Larger limits reduce the entity count.
- Under Annotation, choose how to import each annotation type:
- For Text, choose Contours Only, Filled Meshes, Native SketchUp Text or None.
- For Dimensions, choose Contours Only or Native SketchUp Dimensions.
- For Hatch, choose Linework or None.
- Under Scale, choose the units for the imported file. The options are Model Units, Inches, Feet, Yards, Miles, Millimeters, Centimeters, Meters and Kilometers.
After importing
You may encounter these known issues after importing:
- The size or scale may be inconsistent with the original file. You may need to scale the geometry in SketchUp if you did not know the CAD file's units or did not adjust Scale in Options before importing.
- Lines may not connect to form faces. Small gaps can be difficult to find.
Before modelling, check and prepare the imported geometry:
- Check the imported CAD geometry's size and scale it to correct any measurements.
- Make sure the CAD geometry is a single group. SketchUp groups imported CAD geometry automatically if your model already contains grouped geometry.
- Align the floor plan with SketchUp's drawing axes.
- Delete extra tags and give the CAD group its own tag.
- Adjust the edge styles as needed.
Exporting to a CAD format
Before exporting, use a Standard Camera view with Parallel projection enabled to help preserve your model's scale. See Viewing a Model for details.
Exporting to a 2D CAD format
SketchUp converts model data to CAD formats as follows:
- SketchUp exports faces as a triangulated polyface mesh with hidden interior lines to represent the SketchUp geometry.
- SketchUp uses the current measurement units when converting to a .dwg or .dxf file.
- SketchUp does not create duplicate line entities on top of a p-line entity.
To export your model as a 2D CAD file:
- Before exporting, make sure your model uses a Standard Camera View with Parallel projection enabled in Camera > Standard Views.
- Select File > Export > 2D Graphic.
- Choose where to save the exported file.
- Select AutoCAD DWG or AutoCAD DXF as the format.
- Click Options and adjust these settings as needed:
- AutoCAD Version. Choose the AutoCAD version to export to.
- Drawing Scale & Size. Use Full Scale or enter a custom value to scale your drawing.
- Profile Lines. Choose how profile lines appear in the exported file.
- Select None to export profile lines at the standard width.
- Select Polylines with Width to export profile lines as AutoCAD polylines.
- Select Wide Line Entities to export profile lines as AutoCAD wide line entities.
- Separate on a Layer creates a layer for profile edges. It is selected by default.
- Section Lines options are available when you export section lines or a section slice. See Creating and Using Section Planes for how they work.
- Extension Lines. Some CAD applications may not recognise line endpoints and intersections when your model uses SketchUp line extensions. Deselect Show Extensions to turn them off in the exported file. To set an exact length, leave Show Extensions selected, deselect Automatic and enter a value in the Length box.
- Click OK to return to the export dialogue.
- Click Export.
Exporting a SketchUp model as a 3D CAD file
Follow these steps to export your SketchUp model as a 3D CAD file. You can include the entire model or selected entity types.
- Select File > Export > 3D Model.
- Go to the folder where you want to save the exported file.
- Select .dwg or .dxf as the file format.
- Click Options.
- Select the AutoCAD Version to export to.
- Under Geometry, choose a mesh type:
- Smooth (SubD) uses subdivision surface meshes. These work best for organic forms or rendering engines that support subdivision. This option requires AutoCAD versions newer than 2010.
- Flat-faceted (Polyface) uses standard faceted meshes, which suit direct polygonal editing.
- Select each entity type you want to include:
- Faces
- Edges
- Construction Geometry
- Dimensions
- Text
- Materials
- Click OK.
- Click Export.