DXF: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
Line 8: Line 8:
==ENTITIES==  
==ENTITIES==  
Currently, the following Autodesk CAD entity types are supported:  
Currently, the following Autodesk CAD entity types are supported:  
* LWPOLYLINES (2 dimensional line strings), including bulges.
* LWPOLYLINES (2 dimensional line strings), including bulges. See also [https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2022/ENU/AutoCAD-Core/files/GUID-392BF13C-D9E7-47A8-8E07-435296332279-htm.html AutoCAD Documentation].
* LINE (single lines).
* LINE (single lines). See also [https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2022/ENU/AutoCAD-Core/files/GUID-DB0FA734-8F5C-4000-92FF-89BA2D42CA21-htm.html AutoCAD Documentation].
* POLYLINE (3 dimensional line strings), currently only interpreted as 2 dimensional. The z-coordinate is ignored. See also [https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2022/ENU/AutoCAD-Core/files/GUID-392BF13C-D9E7-47A8-8E07-435296332279-htm.html AutoCAD Documentation].
* POLYLINE (3 dimensional line strings), currently only interpreted as 2 dimensional. The z-coordinate is ignored. See also [https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2022/ENU/AutoCAD-Core/files/GUID-392BF13C-D9E7-47A8-8E07-435296332279-htm.html AutoCAD Documentation].
* HATCH (polygonal data constructed using other boundary entities)
* HATCH (polygonal data constructed using other boundary entities). See also [AutoCAD Documentation].
* CIRCLE: full and partial circles, given a center point, radius and start and end angle.
* CIRCLE: full and partial circles, given a center point, radius and start and end angle. See also [https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2022/ENU/AutoCAD-Core/files/GUID-EDC69C38-6651-46DA-AFCC-56F2EB0A6AC6-htm.html AutoCAD Documentation].
* ELLIPSE: full and partial ellipses, given a center point, major and minor axis, rotation and start and end angle.
* ELLIPSE: full and partial ellipses, given a center point, major and minor axis, rotation and start and end angle. See also [https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2022/ENU/AutoCAD-Core/files/GUID-2461D382-B7E5-44B3-A34C-735CE0089C8D-htm.html AutoCAD Documentation].
* ARC: curved lines given a center point and a radius.
* ARC: curved lines given a center point and a radius. See also [https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2022/ENU/AutoCAD-Core/files/GUID-C78378FD-4704-4D0A-9D86-82FCBB118097-htm.html AutoCAD Documentation].
* VERTEX: 2 dimensional point.
* VERTEX: 2 dimensional point. See also [AutoCAD Documentation].
* POINT: Same as vertex, but 3 dimensional. Currently only interpreted as 2 dimensional. The z-coordinate is ignored.
* POINT: Same as vertex, but 3 dimensional. Currently only interpreted as 2 dimensional. The z-coordinate is ignored. See also [AutoCAD Documentation].
* SPLINE: 2 dimensional Control point splines are currently supported.
* SPLINE: 2 dimensional Control point splines are currently supported. See also [AutoCAD Documentation].
* INSERT: Predefined BLOCKS inserted at a point and with a rotation and a scale.
* INSERT: Predefined BLOCKS inserted at a point and with a rotation and a scale. See also [AutoCAD Documentation].


==BLOCKS==
==BLOCKS==
BLOCKS are parts in a CAD drawing that can be reused multiple times by inserting them at different locations with optional alternative rotations and scales. The usage of BLOCKS in a DXF is supported.
BLOCKS are parts in a CAD drawing that can be reused multiple times by inserting them at different locations with optional alternative rotations and scales. The usage of BLOCKS in a DXF is supported.

Revision as of 11:46, 23 August 2022

DXF is a file format to exchange CAD data from Autodesk. A DXF file is subdivided in several sections. The most important sections are:

  • HEADER
  • TABLES, containing definitions of layers
  • ENTITIES: containing 2 and 3 dimensional shapes
  • BLOCKS: containing 2 and 3 dimension shapes, reusable using INSERTS in ENTITIES.


ENTITIES

Currently, the following Autodesk CAD entity types are supported:

  • LWPOLYLINES (2 dimensional line strings), including bulges. See also AutoCAD Documentation.
  • LINE (single lines). See also AutoCAD Documentation.
  • POLYLINE (3 dimensional line strings), currently only interpreted as 2 dimensional. The z-coordinate is ignored. See also AutoCAD Documentation.
  • HATCH (polygonal data constructed using other boundary entities). See also [AutoCAD Documentation].
  • CIRCLE: full and partial circles, given a center point, radius and start and end angle. See also AutoCAD Documentation.
  • ELLIPSE: full and partial ellipses, given a center point, major and minor axis, rotation and start and end angle. See also AutoCAD Documentation.
  • ARC: curved lines given a center point and a radius. See also AutoCAD Documentation.
  • VERTEX: 2 dimensional point. See also [AutoCAD Documentation].
  • POINT: Same as vertex, but 3 dimensional. Currently only interpreted as 2 dimensional. The z-coordinate is ignored. See also [AutoCAD Documentation].
  • SPLINE: 2 dimensional Control point splines are currently supported. See also [AutoCAD Documentation].
  • INSERT: Predefined BLOCKS inserted at a point and with a rotation and a scale. See also [AutoCAD Documentation].

BLOCKS

BLOCKS are parts in a CAD drawing that can be reused multiple times by inserting them at different locations with optional alternative rotations and scales. The usage of BLOCKS in a DXF is supported.