DXF File Z Axis Deletion Program Download


For some reason, some 2D CAD drawings develop a spurious Z axis depth - a feature which can make measuring distances and creating intersections a little bit of a trial! This program takes a simple DXF file and collapses all Z dimensions to zero for re-reading the file back into the CAD program. The program is also useful for creating a 2D view of a 3D CAD model for import into a 2D only CAD package.

The program works by going through the ASCII DXF file, copying lines to the output file while looking for the markers that indicate a Z co-ordinate. When a Z co-ordinate marker is found, it skips both that line and the next line in the file and moves on to the next line in the file (thereby completely eradicating all depth in the drawing). In recent years the DXF specification has got so incredibly complex that I cannot guarantee it will work on all entities, however there should be no damage done to entities where the Z co-ordinate is not recognised.

Download the DXF File Z axis Deletion Program. (198 kb)

The program is a Windows program, and is known to run on Windows 95, 98, ME, 2000 and XP. It probably works on Vista and Windows 7, though I haven't tried it. The program is a single file .exe file and writes nothing to registry or anywhere else. It does not over-write the existing file. The Borland C++ Builder 4 source code is included so that you can check for yourself that the program does nothing unpleasant to your computer.

You will also need a program that can read DXF files, such as IntelliCAD.

Chestnut Pens Miscellaneous Pages Home
Chestnut Pens Home