TOC PREV NEXT INDEX

Read_DXF

Synopsis

reads in files in ASCII DXF format.

Input Port

ui_parent

user interface parent object

Parameters

Read Filename

UIfileSB

pick file to input

Output Port

field

Mesh + Cell_Data

Description

Read_DXF 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

ui_parent

A port to connect to a user interface object that contains the macro's widgets. By default, it is connected to the default user interface object in the application in which the macro is instanced. (This default connection is not drawn.).

Parameters

Read Filename

File browser. Selects the DXF file to read.

Output Port

field

The output is an unstructured mesh. If color information is in the DXF file, cell data will be added to the mesh

out_obj

A renderable version of the output field.

Example

Not available

File

v/modules.v

See also related modules


TOC PREV NEXT INDEX