![]() |
![]() |
![]() |
![]() |
DVread_dfx
Synopsis
reads in files in ASCII DXF format.
module DVread_dxf {
string+Iparam filename;
// cell data sometimes ... depends on file.
// Could be Point, Line, Tri, Quad.
Mesh+Cell_Data+Space3+Oparam outFld;
omethod+notify_val+notify_inst update<status=1> =
"DVread_dxf_update";
};Description
DVread_dfx reads in ASCII DXF formatted files and outputs an unstructured mesh. There may be cell data depending on the contents of the DFX file. DFX is an AutoCAD Drawing Interchange File format, created by AutoCAD developers to represent 2D and 3D models.DXF Only a subset of the DXF is supported. This subset includes LINE, 3DLINE, 3DFACE, POINT, and POLYLINE/VERTEX. The reader does support polymeshes and polyfaces, however, closed polymeshes are not handled correctly. There is limited color handling - it knows about only the predefined colors 0 - 9. There is no support for BLOCK, INSERT or LAYER.
Note that the DXF reader at the IAC accepts a larger subset of the DXF format.
Input
Output
Example
File
See also
![]() |
![]() |
![]() |
![]() |