Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
dime Documentation

Dime is a C++ class library for reading, constructing, manipulating, and writing DXF file data. The name is an acronym for DXF Import, Manipulation, and Export library.

The library is portable to any platform with a C++ compiler. It has no external dependencies. Dime is known to compile on Win32, Linux, IRIX, HP- UX, Solaris, BeOS and MacOS.


  • loading DXF files into a Dime object hierarchy containing the DXF data
  • building Dime object hierarchies from scratch
  • extracting geometry data from Dime object hierarchies
  • manipulating Dime object hierarchies
  • traversing the Dime object hierarchies while performing various tasks saving dime object hierarchies as files conforming to the DXF file format

Dime is designed to support all past and future versions of the DXF file format. Internally we have tested dime with DXF version 10 through 14, and we've had customers that have used the library to handle AutoCAD 2000 DXF files.

The intended purpose of Dime is to import and export DXF files. For this kind of usage, special memory management techniques have been implemented, that can be used to boost the performance significantly.

An example program is included to demonstrate how to use Dime. The program, dxf2vrml, converts DXF to VRML files.