File: introduction.rst

package info (click to toggle)
ezdxf 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 104,528 kB
  • sloc: python: 182,341; makefile: 116; lisp: 20; ansic: 4
file content (94 lines) | stat: -rw-r--r-- 3,542 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
============
Introduction
============

What is ezdxf
-------------

`Ezdxf`  is a `Python`_ interface to the :term:`DXF` (drawing interchange file)
format developed by `Autodesk`_, `ezdxf` allows developers to read and modify
existing DXF documents or create new DXF documents.

The main objective in the development of `ezdxf` was to hide complex DXF details
from the programmer but still support most capabilities of the :term:`DXF`
format. Nevertheless, a basic understanding of the DXF format is required, also
to understand which tasks and goals are possible to accomplish by using the
DXF format.

Not all DXF features are supported yet, but additional features will be added in
the future gradually.

`Ezdxf` is also a replacement for the outdated `dxfwrite`_ and `dxfgrabber`_
packages but with different APIs, for more information see also: :ref:`faq001`

What ezdxf can't do
-------------------

- `ezdxf` is not a DXF converter: `ezdxf` can not convert between different
  DXF versions, if you are looking for an appropriate application, try the
  free `ODAFileConverter`_ from the `Open Design Alliance`_, which converts
  between different DXF version and also between the DXF and the DWG file format.
- `ezdxf` is not a CAD file format converter: `ezdxf` can not convert DXF files
  to other CAD formats such as DWG
- `ezdxf` is not a CAD kernel and does not provide high level functionality for
  construction work, it is just an interface to the DXF file format. If you are
  looking for a CAD kernel with `Python`_ scripting support, look at `FreeCAD`_.


Supported Python Versions
-------------------------

`Ezdxf` requires at least Python 3.9 (determined by `numpy`) and will be tested with the
latest stable CPython version and the latest stable release of pypy3 during development.

`Ezdxf` is written in pure Python with optional Cython implementations of some
low level math classes and requires `pyparsing`, `numpy`, `fontTools` and
`typing_extensions` as additional library beside the Python Standard Library.
`Pytest` is required to run the unit and integration tests. Data to run the
stress and audit test can not be provided, because I don't have the rights for
publishing these DXF files.

Supported Operating Systems
---------------------------

`Ezdxf` is OS independent and runs on all platforms which provide an appropriate
Python interpreter (>=3.9).

Supported DXF Versions
----------------------

.. include:: dxfversion.inc

`Ezdxf` also reads older DXF versions but saves it as DXF R12.

Embedded DXF Information of 3rd Party Applications
--------------------------------------------------

The DXF format allows third-party applications to embed application-specific
information. `Ezdxf` manages DXF data in a structure-preserving form, but for
the price of large memory requirement. Because of this, processing of DXF
information of third-party applications is possible and will retained on
rewriting.

License
-------

`Ezdxf` is licensed under the very liberal MIT-License_.

.. _Autodesk: http://usa.autodesk.com/

.. _Open Design Alliance: https://www.opendesign.com/

.. _ODAFileConverter: https://www.opendesign.com/guestfiles/oda_file_converter

.. _DXF: http://help.autodesk.com/view/OARX/2018/ENU/?guid=GUID-235B22E0-A567-4CF6-92D3-38A2306D73F3

.. _Python: http://www.python.org

.. _FreeCAD: https://www.freecadweb.org/

.. _MIT-License: http://opensource.org/licenses/mit-license.php

.. _dxfwrite: https://pypi.org/project/dxfwrite/

.. _dxfgrabber: https://pypi.org/project/dxfgrabber/