Skip to main content

Command: Import from DXF File

Function: The command opens the default dialog. After selecting the file, the Import DXF file dialog opens for configuring the import of a DXF file into the CNC editor.

Call: CNC menu

Requirement: A CNC object is open in the editor.

. Restrictions of the DXF standard at file import
  • SPLINE elements are not imported exactly. Only the control points are read and positioned by these cardinal splines.

  • External references are not supported. (These are references to other DXF files in a BLOCK element.)

  • Ellipses are supported only insofar as they exist in the X/Y-plane.

  • Arcs (element ARC) and circles (element CIRCLE) are supported only when the scaling is equal in all spatial axes (parameters 41, 42, and 43 of the element INSERT). This also affects the elements POLYLINE and LWPOLYLINE which include arcs (parameter bulge not equal to 0).

  • Block references (element INSERT) are supported only when the scaling matrix is not a mirror. (The product of the scaling factors has to be positive.)

  • Area elements, polygon meshes, and polyface meshes are not supported. Solid elements (SOLID, …) are also not supported.

  • The elements MLINE (multiline), RAY, XLINE, and LEADER (leader line) are not supported.

  • The elements TEXT, MTEXT, and DIMENSION are not supported.

  • Line width, color, and style are ignored, as well as information about element visibility.

  • Binary DXF files (file extension DXB) are not supported.

Unsupported elements are ignored (implicitly) at import.

Dialog: Import DXF File

Layers

All layers of the technical drawing; determined from the data in the DXF file

standard icon: The layer will be imported.

Maximum gap size

Distance between the end points of the geometric elements until where the points are seen as interconnected. Determined from the data in the DXF file.

Example: 0.001

Preview on CNC path

The data of the selected DXF file is displayed in the way that they are imported into the CNC editor. The layer selected for viewing is also taken into consideration.

Example:

_sm_img_preview_cnc.png

View

To switch the layer that is considered in the preview window.

_sm_icon_view_xy.png

x/y-plane; selected for viewing

_sm_icon_view_xz.png

x/z-plane

_sm_icon_view_zy.png

y/z-plane

Button 'Import'

The data is loaded into the CNC editor and the existing CNC program is replaced. The block numbers are assigned automatically.

The CNC object retains its name.