DXF File in PHP

DXF, or Drawing Exchange Format, is an open sourced CAD data file format. It was developed by Autodesk in 1982 to enable data interoperability of 2D and 3D drawings between AutoCAD and other programs.

A DXF file is composed of several sections - in the following order:

1. Header contains general information about the drawing.

2. Classes contains application-defined information.

3. Tables contains item definitions.

4. Blocks contains descriptions of entities.

5. Entities contains drawing entities.

6. Objects contains data of non-graphical objects and

7. Thumb-Nail-Image contains preview of image.


Each section has a code that is associated with its value. The code begins with a 0 followed by a string, and ends with a 0 followed by ENDSEC. 


DXF Class 



Drawing Code


Output



DXF File in PHP DXF File in PHP Reviewed by Unknown on 04:07:00 Rating: 5

No comments: