Skip to content

NEWNine site drawings and models from one location: analysis sheet, context model, laser-cut layers and more. Try it free

ArchisheetArchisheet
Drawing sheets

DXF, DWG and SKP: what opens where

Why site tools export DXF instead of DWG or SKP, which programs open each format, and how to get a DWG when your office or school asks for one.

Archisheet Editorial Team 5 min read
A context model of central Rome with buildings and terrain, as it comes out of a layered DXF

Three file formats come up whenever drawings move between programs: DXF, DWG and SKP. People often treat them as interchangeable, but they are not, and the difference explains why many web tools, Archisheet included, export DXF and not the other two.

DWG

DWG is AutoCAD’s native format. It is the format most offices and schools ask for when they say “send me the CAD file”. It is a closed format, and writing it reliably needs a licensed library. The main commercial option is the Open Design Alliance’s software, which is paid. The free alternative, GNU LibreDWG, is licensed under the GPL version 3 or later, which brings conditions of its own for software that uses it. For a web app, neither is a simple yes.

DXF

DXF, the Drawing Exchange Format, was created by Autodesk for exactly this job: exchanging drawings between AutoCAD and other programs. Its structure is documented, so free libraries can write it. AutoCAD, Rhino, ArchiCAD and Revit all open DXF files. SketchUp’s help centre says SketchUp subscribers can import DWG and DXF files into their models. A DXF can hold layers, lines, polylines, text and 3D faces, which covers what a context model, a contour plan or a section needs.

Getting a DWG from a DXF

If someone needs a DWG, open the DXF in AutoCAD and save it as DWG. That is one step, and it keeps the layers. The ODA File Converter is another option for converting between the two; read its terms before you use it in your work.

SKP

SKP is SketchUp’s native format. Writing it requires SketchUp’s own developer kit and its terms. For getting a model into SketchUp, open formats work well:

  • DAE (COLLADA): an open 3D exchange format that SketchUp imports, with the model’s faces and groups.
  • OBJ: a simple, widely read mesh format.
  • DXF: on SketchUp’s paid plans, for 2D linework and 3D faces.

3D formats for printing and visualisation

For 3D printing, STL is the common format: a mesh of triangles that slicers read. For the web and real-time engines, GLB is a compact binary format. Rhino’s native 3DM can be written with McNeel’s own open source library, rhino3dm.

Which file for which job

Job Format Opens in
Context in CAD DXF AutoCAD, Rhino, ArchiCAD, Revit, SketchUp (paid plans)
Context in SketchUp DAE or OBJ SketchUp and most 3D programs
Context in Rhino 3DM or DXF Rhino
Laser cutting DXF or SVG Laser software, CAD and vector programs
3D printing STL or OBJ Slicers
Web and real-time GLB Browsers, game engines, viewers

Versions and units

DXF and DWG both come in versions named after AutoCAD releases, and an older program may not open a file saved in a newer version. Archisheet writes DXF in the R2007 version, which current CAD programs read. If a colleague works with an old release and cannot open a DWG you made from it, save the DWG again in an older version; AutoCAD offers the choice when you save.

Units cause more trouble than versions. Many programs ask for the unit when they import a DXF, and a wrong answer turns a 100 m street into 100 mm or 100 km. Archisheet lets you choose metres or feet before you export a context model, and writes laser-cut files in millimetres. After any import, measure one thing you know, such as the width of a street or the side of the area you drew, before you draw anything on top.

What survives the trip

Layer names, lines, polylines, text and 3D faces travel well in DXF. Fonts, hatch patterns and line weights depend on the receiving program and may look different. That is one reason Archisheet puts information in layer names. The context model, for example, has 12 fixed layers (BUILDINGS, BUILDINGS_ESTIMATED, RAIL, WATER, GREEN, CONTOURS, CONTOURS_INDEX, CONTOUR_LABELS, TERRAIN, AREA, INFO and ATTRIBUTION) plus one ROADS layer for each road class in the area. Blocks whose height was estimated from floors keep their own layer whichever program opens the file.

Meshes, units and credits in 3D files

  • STL stores triangles and nothing else: no unit, no colour, no text. Slicers commonly read the numbers as millimetres, which is why Archisheet writes print files in millimetres. A binary STL has no room for a credit line, so the data credit travels next to it in the zip as ATTRIBUTION.txt.
  • OBJ comes with a small MTL file that holds the materials. Keep the two files together.
  • GLB has a field for a copyright notice, and Archisheet writes the data credit there.
  • 3DM is also delivered in a zip with ATTRIBUTION.txt.
  • DXF carries the credit as comment lines in its header and as text on the ATTRIBUTION layer. On laser-cut files that text sits outside the sheet on a layer named ATTRIBUTION_DO_NOT_CUT.

File size

A dense city produces large files. In our own test on a dense synthetic site of 7.84 km² with 8,722 buildings, the context DXF came to 75 MB. If a file is slow to open, draw a smaller area, or switch off the layers you do not need in your CAD program once it has loaded.

A checklist before you send a file

  1. Ask which program and version the receiver uses.
  2. Send DXF for CAD, DAE or OBJ for SketchUp, 3DM for Rhino, STL for a printer and DXF or SVG for a laser cutter.
  3. Say which unit the file is in.
  4. Keep the credit layer or the ATTRIBUTION.txt file with the drawing.
  5. If a DWG is required, open the DXF in AutoCAD, save it as DWG and check the layers.

What Archisheet exports

Archisheet exports DXF (layered, 2D and 3D) for the context model on Plus, and OBJ, STL, GLB, 3DM and DAE on Pro. Laser-cut layers come as DXF or SVG, drawings as SVG, PDF and PNG, and 3D print terrain as STL or OBJ. It does not export DWG or SKP, and it does not claim to. Every file carries the data credits the licences require.

Sources: AutoCAD DXF (Wikipedia), SketchUp Help on importing and exporting CAD files, GNU LibreDWG, ODA File Converter, COLLADA (Wikipedia), STL (Wikipedia), rhino3dm.

Comments

No comments yet. Ask a question or share how you used it on your site.

Leave a comment

Comments are read before they appear. Be kind and stay on the topic of the post. How we handle your data

Keep reading

Drawing sheets

Choosing a scale for a site drawing

How big your site area appears on an A1 or A3 sheet at 1:500, 1:1000 or 1:2500, and how to pick a scale that…

5 min read
Site analysis

What to put on a site analysis sheet

A site analysis sheet answers a handful of questions about a place. Here is what to include, in what order, and how to keep…

6 min read

New guides, when they are out

Follow the blog in any feed reader: new planning guides appear there first.

RSS feed

Now make it for your own site.

Pick a place, draw the area and get the site analysis, figure-ground and data pack free, in your browser.

  • 3 outputs free
  • No card needed
  • Runs in your browser

Start free

Before you go: nine site drawings from one location

Pick a place on the map and see the analysis sheet, the context model and the laser-cut layers of your site. The analysis sheet and the figure-ground are free.

Pick a location

No card. The site analysis, figure-ground and data pack are free.