1
2News
3====
4
5Version 0.16.3 - 2021-05-22
6---------------------------
7
8- NEW: `ezdxf.tools.text.MTextEditor` class, extracted from the `MText` class
9- NEW: `MText.set_bg_color()`, new argument `text_frame` to add a text frame
10- CHANGE: move `MText` constants to `MTextEditor` class
11- CHANGE: move `MText.set_font()` to `MTextEditor.change_font()`
12- CHANGE: move `MText.set_color()` to `MTextEditor.change_color()`
13- CHANGE: move `MText.append_stacked_text()` to `MTextEditor.stacked_text()`
14- BUGFIX: DXF export of GROUP checks for deleted entities
15- BUGFIX: improved virtual DIMENSION handling
16- BUGFIX: DIMENSION transformation also transform the content of the
17  associated anonymous geometry block content
18- BUGFIX: `drawing` add-on, true color values always override ACI colors
19- BUGFIX: `drawing` add-on, handle SOLID as OCS entity like TRACE
20- BUGFIX/CHANGE: `Vec2/3.__eq__()` (`==` operator) compares
21  all components with the full floating point precision, use `Vec2/3.isclose()`
22  to take floating point imprecision into account.
23  **This is an annoying but necessary change!**
24- CHANGE: new signature for `Vec2/3.isclose(other, *, rel_tol=1e-9, abs_tol=1e-12)`,
25  new argument `rel_tol`, arguments `rel_tol` and `abs_tol` are keyword only
26
27Version 0.16.2 - 2021-04-21
28---------------------------
29
30- CHANGED: `ezdxf.path.add_bezier4p()`, add linear Bezier curve segments as LINE_TO commands
31- CHANGED: `ezdxf.path.add_bezier3p()`, add linear Bezier curve segments as LINE_TO commands
32- CHANGED: `$FINGERPRINTGUID` matches AutoCAD pattern `{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}`
33- CHANGED: `$VERSIONGUID` matches AutoCAD pattern `{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}`
34- BUGFIX: check for degenerated Bezier curves in `have_bezier_curves_g1_continuity()`
35- BUGFIX: delete and unlink support for DXFTagStorage (unsupported entities)
36
37Version 0.16.1 - 2021-04-10
38---------------------------
39
40- BUGFIX: `disassemble.recursive_decompose()` was not recursive
41- BUGFIX: `Frontend` font resolver uses XDATA if no regular font file is defined
42- BUGFIX: version specific group code for header variable `$XCLIPFRAME`
43- BUGFIX: `INSERT` (block reference) transformation
44
45Version 0.16 - 2021-03-27
46-------------------------
47
48- Release notes: https://ezdxf.mozman.at/release-v0-16.html
49- NEW: `ezdxf` command line launcher, supported commands:
50  - `pp` the previous `dxfpp` command, the DXF pretty printer
51  - `audit` DXF files
52  - `draw` and convert DXF files by the Matplotlib backend
53  - `view` DXF files by the PyQt viewer
54- NEW: `text2path` add-on to create `Path` objects from text strings and text
55  entities, see [docs](https://ezdxf.mozman.at/docs/addons/text2path.html)
56- NEW: `bbox` module to detect the extents (bounding boxes) of DXF entities,
57  see [docs](https://ezdxf.mozman.at/docs/bbox.html)
58- NEW: `zoom` module to reset the active viewport of layouts,
59  see [docs](https://ezdxf.mozman.at/docs/zoom.html)
60- NEW: `path` sub-package, an extended version of the previous `ezdxf.render.path`
61  module, see [docs](https://ezdxf.mozman.at/docs/path.html)
62- NEW: support module `disassemble`, see [docs](https://ezdxf.mozman.at/docs/disassemble.html)
63  1. deconstruct complex nested DXF entities into a flat sequence
64  2. create a "primitive" representation of DXF entities
65- NEW: Using the optional `Matplotlib` package by **default** for better font
66  metric calculation and font rendering if available.
67- NEW: Cached font metrics are loaded at startup, this can be disabled by the
68  environment variable `EZDXF_AUTO_LOAD_FONTS=False`, if this slows down the
69  interpreter startup too much.
70- NEW: `Layout.reset_extents()`, reset layout extents to the given values,
71  or the AutCAD default values
72- NEW: `Layout.reset_limits()`, reset layout limits to the given values,
73  or the AutCAD default values
74- NEW: `Paperspace.reset_main_viewport()`, reset the main viewport of a paper
75  space layout to custom- or default values
76- NEW: quadratic Bézier curve support for the `Path()` class
77- NEW: `ezdxf.entity.Text` getter/setter properties `is_backward` and
78  `is_upside_down`
79- NEW: `ezdxf.entity.TextStyle` getter/setter properties `is_backward`,
80  `is_upside_down` and `is_vertical_stacked`
81- NEW: `ezdxf.math.Bezier3P`, optimized quadratic Bézier curve construction tool
82- NEW: `ezdxf.math.quadratic_to_cubic_bezier()`, `Bezier3P` to `Bezier4P` converter
83- NEW: `ezdxf.math.bezier_to_bspline()`, Bézier curves to B-spline converter
84- NEW: `ezdxf.math.clip_polygon_2d()`, clip polygon by a convex clipping polygon
85- NEW: `ezdxf.math.basic_transformation()`, returns a combined transformation
86  matrix for translation, scaling and rotation about the z-axis
87- NEW: `ezdxf.math.best_fit_normal()`, returns the normal vector of flat spatial planes
88- NEW: `fit_points_to_cubic_bezier()` creates a visual equal SPLINE from fit
89  points without end tangents like BricsCAD, but only for short B-splines.
90- CHANGED: `fit_points_to_cad_cv()`, removed unused arguments `degree` and `method`
91- CHANGED: `ezdxf.render.nesting` content moved into the `ezdxf.path` package
92- CHANGED: renamed `MeshBuilder.render()` to `MeshBuilder.render_mesh()`
93- CHANGED: `ezdxf.math.BSpline` is immutable, all methods return a new `BSpline` object
94- CHANGED: replaced `BSplineU()` class by factory function `ezdxf.math.open_uniform_bspline()`
95- CHANGED: replaced `BSplineClosed()` class by factory function `ezdxf.math.closed_uniform_bspline()`
96- CHANGED: renamed `rational_spline_from_arc()` to `rational_bspline_from_arc()`
97- CHANGED: renamed `rational_spline_from_ellipse()` to `rational_bspline_from_ellipse()`
98- BUGFIX: fixed `ezdxf.math.rational_bspline_from_ellipse()` invalid parameter
99  conversion
100- DEPRECATED: `ezdxf.render.path` module, replaced by `ezdxf.path` package
101- DEPRECATED: `Path.from_lwpolyline()`, replaced by factory `path.make_path()`
102- DEPRECATED: `Path.from_polyline()`, replaced by factory `path.make_path()`
103- DEPRECATED: `Path.from_spline()`, replaced by factory `path.make_path()`
104- DEPRECATED: `Path.from_ellipse()`, replaced by factory `path.make_path()`
105- DEPRECATED: `Path.from_arc()`, replaced by factory `path.make_path()`
106- DEPRECATED: `Path.from_circle()`, replaced by factory `path.make_path()`
107- DEPRECATED: `Path.add_curve()`, replaced by function `path.add_bezier4p()`
108- DEPRECATED: `Path.add_ellipse()`, replaced by function `path.add_ellipse()`
109- DEPRECATED: `Path.add_spline()`, replaced by function `path.add_spline()`
110- DEPRECATED: `Path.from_vertices()`, replaced by factory `path.from_vertices()`
111- REMOVED: `Path.from_hatch_boundary_path()`, replaced by factory `path.from_hatch()`
112- REMOVED: `Path.from_hatch_polyline_path()`
113- REMOVED: `Path.from_hatch_edge_path()`
114- REMOVED: `BlocksSection.purge()`, unsafe operation
115- REMOVED: `dxfpp` command, replaced by `ezdxf pp ...`
116- REMOVED: `Layout.add_closed_spline()`, broken and nobody noticed it
117- REMOVED: `Layout.add_closed_rational_spline()`, broken and nobody noticed it
118
119Version 0.15.2 - 2021-02-07
120---------------------------
121
122- Active Python 3.6 support removed, no tests and no deployment of binary
123  wheels for Python 3.6
124- NEW: `BoundingBox()` intersection test, inside- and outside tests, union of
125  two bounding boxes.
126- NEW: `ezdxf.math.ellipse_param_span()`, works the same way as
127  `arc_angle_span_deg()` for special cases
128- NEW: `DXFEntity.uuid` property, returns an UUID on demand, which allows
129  distinguishing even virtual entities without a handle
130- CHANGE: extraction of many text utility functions into `ezdxf.tools.text`
131- CHANGE: `add_polyline2d()`, `add_polyline3d()`, `add_lwpolyline()` and
132  `add_mline()` got argument `close` to create a closed polygon and
133  dxfattrib `closed` is deprecated, `close` and `dxfattribs` for these factories
134  are keyword only arguments.
135- CHANGE: improved text alignment rendering in the drawing add-on
136- CHANGE: moved `ezdxf.addons.drawing.fonts.py` into `ezdxf.tools` and added a
137  font measurement cache.
138- BUGFIX: `FIT` and `ALIGNED` text rendering in the drawing add-on
139- BUGFIX: matplotlib backend uses linewidth=0 for solid filled polygons and
140  the scaled linewidth for polygons with pattern filling
141- BUGFIX: clipping path calculation for IMAGE and WIPEOUT
142- BUGFIX: transformation of a closed (360deg) arc preserves a closed arc
143- BUGFIX: bulge values near 0 but != 0 caused an exception in `Path.add_2d_polyline()`
144- BUGFIX: invalid polygon building in the `geo` add-on
145
146Version 0.15.1 - 2021-01-15
147---------------------------
148
149- NEW: `Spline.audit()` audit support for the SPLINE entity
150- NEW: The `recover` module tolerates malformed group codes and value tags.
151- Changed the `Matrix44.matrix` attribute in the Python implementation to a
152  "private" attribute `Matrix44._matrix`, because this attribute is not
153  available in the Cython implementation
154- BUGFIX: proxy graphic decoding error on big-endian systems
155- BUGFIX: invalid vertex subscript access in `dxf2code` add-on
156- BUGFIX: `cubic_bezier_from_ellipse()` recognizes full ellipses
157- BUGFIX: `cubic_bezier_from_arc()` recognizes full circles
158- BUGFIX: pickle support for C-extensions `Vec2`, `Vec3`, `Matrix44` and
159  `Bezier4P`
160- BUGFIX: attribute error when exporting matrices in the MATERIAL entity
161
162Version 0.15 - 2020-12-30
163-------------------------
164
165- Release notes: https://ezdxf.mozman.at/release-v0-15.html
166- NEW: linetype support for matplotlib- and pyqt drawing backend
167- NEW: HATCH island support for matplotlib- and pyqt drawing backend
168- NEW: basic HATCH pattern support for matplotlib- and pyqt drawing backend
169- NEW: Font support for matplotlib- and pyqt drawing backend
170- NEW: POINT mode support for matplotlib- and pyqt drawing backend, relative
171  point size is not supported
172- NEW: Proxy graphic support for the drawing add-on
173- NEW: recover misplaced tags of the `AcDbEntity` subclass (color, layer,
174  linetype, ...), supported by all loading modes
175- NEW: `ezdxf.addons.geo` module, support for the
176  [`__geo_interface__`](https://gist.github.com/sgillies/2217756),
177  see [docs](https://ezdxf.mozman.at/docs/addons/geo.html) and
178  [tutorial](https://ezdxf.mozman.at/docs/tutorials/geo.html)
179- NEW: `GeoData.setup_local_grid()` setup geo data for CRS similar to EPSG:3395
180  World Mercator
181- NEW: MLINE support but without line break and fill break (gaps) features
182- NEW: `Bezier.flattening()` adaptive recursive flattening (approximation)
183- NEW: `Bezier4P.flattening()` adaptive recursive flattening (approximation)
184- NEW: `Path.flattening()` adaptive recursive flattening (approximation)
185- NEW: `Circle.flattening()` approximation determined by a max. sagitta value
186- NEW: `Arc.flattening()` approximation determined by a max. sagitta value
187- NEW: `ConstructionArc.flattening()` approximation determined by a max. sagitta value
188- NEW: `ezdxf.math.distance_point_line_3d()`
189- NEW: `ConstructionEllipse.flattening()` adaptive recursive flattening (approximation)
190- NEW: `Ellipse.flattening()` adaptive recursive flattening (approximation)
191- NEW: `BSpline.flattening()` adaptive recursive flattening (approximation)
192- NEW: `Spline.flattening()` adaptive recursive flattening (approximation)
193- NEW: `matplotlib.qsave()`, `ltype` argument to switch between matplotlib dpi
194  based linetype rendering and AutoCAD like drawing units based linetype
195  rendering
196- NEW: `Solid.vertices()` returns OCS vertices in correct order (also `Trace`)
197- NEW: `Solid.wcs_vertices()` returns WCS vertices in correct order (also `Trace`)
198- NEW: `Face3D.wcs_vertices()` compatibility interface to SOLID and TRACE
199- NEW: `Hatch.paths.external_paths()` returns iterable of external boundary paths
200- NEW: `Hatch.paths.outermost_paths()` returns iterable of outer most boundary paths
201- NEW: `Hatch.paths.default_paths()` returns iterable of default boundary paths
202- NEW: `Hatch.paths.rendering_paths()` returns iterable of paths to process for rendering
203- NEW: `Drawing.units` property to get/set document/modelspace units
204- NEW: `ezdxf.new()` argument `units` to setup document and modelspace units and
205  $MEASUREMENT setting and the linetype setup is based on this $MEASUREMENT
206  setting.
207- NEW: `pattern.load(measurement, factor)` load scaled hatch pattern
208- NEW: `Path.from_hatch_boundary_path()`
209- NEW: `odafc.export_dwg()` new replace option to delete existing DWG files
210- NEW `Style` table entry supports extended font data
211- NEW: `Point.virtual_entities()`, yield POINT entities as DXF primitives
212- NEW: `ezdxf.render.point`, support module for `Point.virtual_entities()`
213- NEW: Optional Cython implementation of some low level math classes:
214  Vec2, Vec3, Matrix44, Bezier4P
215- NEW: support for complex linetypes for the Importer add-on
216- CHANGE: Optimized infrastructure for loading DXF attributes
217- CHANGE: `Hatch.set_pattern_fill()` uses HEADER variable $MEASUREMENT to
218  determine the default scaling of predefined hatch pattern.
219- CHANGE: fix invalid linetype setup - new linetype scaling like common CAD
220  applications
221- CHANGE: `ezdxf.colors` module will consolidate all color/transparency related
222  features
223- CHANGE: renamed `ezdxf.math.Vector` to `Vec3`, but `Vector` remains as synonym
224- DEPRECATED: `ezdxf.tools.rgb` module replaced by `ezdxf.colors`
225- REMOVED: deprecated `DXFEntity.transform_to_wcs()` interface,
226  use `DXFEntity.transform(ucs.matrix)`
227- REMOVED: deprecated `Hatch.edit_boundary()` context manager,
228  use `Hatch.paths` attribute
229- REMOVED: deprecated `Hatch.get_gradient()` method,
230  use `Hatch.gradient` attribute
231- REMOVED: deprecated `Hatch.edit_gradient()` context manager,
232  use `Hatch.gradient` attribute
233- REMOVED: deprecated `Hatch.edit_pattern()` context manager,
234  use `Hatch.pattern` attribute
235- REMOVED: deprecated `Hatch.get_seed_points()` method,
236  use `Hatch.seeds` attribute
237- REMOVED: unnecessary argument `non_uniform_scaling` from `Insert.explode()`
238- REMOVED: unnecessary argument `non_uniform_scaling` from
239  `Insert.virtual_entities()`
240- REMOVED: deprecated `Spline.edit_data()` context manager,
241  use `fit_points`, `control_points`, `knots`  and `weights` attributes
242- BUGFIX: `ezdxf.math.has_clockwise_orientation()` returns `True` for
243  counter-clock wise and vice versa
244- BUGFIX: default color for HATCH is 256 (by layer)
245- BUGFIX: fixed broken complex linetype setup
246- BUGFIX: validate loaded handle seed
247
248Version 0.14.2 - 2020-10-18
249---------------------------
250
251- Release notes: https://ezdxf.mozman.at/release-v0-14.html
252- BUGFIX: fix invalid attribute reference `self.drawing`
253
254Version 0.14.1 - 2020-09-19
255---------------------------
256
257- Release notes: https://ezdxf.mozman.at/release-v0-14.html
258- BUGFIX: MLEADER and MLEADERSTYLE min DXF version changed to R2000
259- BUGFIX: AutoCAD ignores not existing default objects in ACDBDICTIONARYWDFLT
260  and so ezdxf have to. `Auditor()` creates a place holder object as default
261  value.
262
263Version 0.14 - 2020-09-12
264-------------------------
265
266- Release notes: https://ezdxf.mozman.at/release-v0-14.html
267- NEW: DXF attribute setter validation, some special and undocumented Autodesk
268  table names may raise `ValueError()` exceptions, please report this table
269  names (layers, linetypes, styles, ...). DXF unicode notation "\U+xxxx" raises
270  a `ValueError()` if used as resource names like layer name or text style names,
271  such files can only be loaded by the new `recover` module.
272- NEW: `ezdxf.recover` module to load DXF Documents with structural flaws, see
273  [docs](https://ezdxf.mozman.at/docs/drawing/recover.html)
274- NEW: All DXF loading functions accept an unicode decoding error handler:
275  "surrogateescape", "ignore" or "strict", see [docs](https://ezdxf.mozman.at/docs/drawing/recover.html)
276  of the `recover` module for more information.
277- NEW: `addons.drawing.Frontend()` supports width attributes of LWPOLYLINE and
278  2D POLYLINE entities
279- NEW: `TraceBuilder()` a render tool to generate quadrilaterals (TRACE, SOLID
280  or 3DFACE), from LWPOLYLINE or 2D POLYLINE with width information,
281  see [docs](https://ezdxf.mozman.at/docs/render/trace.html)
282- NEW: `Path()` a render tool for paths build of lines and cubic Bezier curves,
283  used for faster rendering of LWPOLYLINE, POLYLINE and SPLINE entities for
284  render back-ends, see [docs](https://ezdxf.mozman.at/docs/render/path.html)
285- NEW: `drawing.matplotlib.qsave()` function, a simplified matplotlib export interface
286- NEW: `Arc.construction_tool()` returns the 2D `ConstructionArc()`
287- NEW: `Arc.apply_construction_tool()` apply parameters from `ConstructionArc()`
288- NEW: `Leader.virtual_entities()` yields 'virtual' DXF primitives
289- NEW: `Leader.explode()` explode LEADER as DXF primitives into target layout
290- NEW: `LWPolyline.has_width` property is `True` if any width attribute is set
291- NEW: `Polyline.has_width` property is `True` if any width attribute is set
292- NEW: `Polyline.audit()` extended verify and repair support
293- NEW: `Polyline.append_formatted_vertices()`, support for user defined point format
294- NEW: `DXFVertex.format()` support for user defined point format
295- NEW: `Drawing.blocks.purge()` delete all unused blocks but protect modelspace-
296  and paperspace layouts, special arrow blocks and DIMENSION and ACAD_TABLE
297  blocks in use, but see also warning in the
298  [docs](https://ezdxf.mozman.at/docs/sections/blocks.html)
299- NEW: `Insert.explode()` support for MINSERT (multi insert)
300- NEW: `Insert.virtual_entities()` support for MINSERT (multi insert)
301- NEW: `Insert.mcount` property returns multi insert count
302- NEW: `Insert.multi_insert()` yields a virtual INSERT entity for each grid
303  element of a MINSERT entity
304- NEW: `Layout.add_wipeout()` interface to create WIPEOUT entities
305- NEW: `Image.boundary_path_wcs()`, returns boundary path in WCS coordinates
306- NEW: `Wipeout.boundary_path_wcs()`, returns boundary path in WCS coordinates
307- NEW: `Wipeout.set_masking_area()`
308- NEW: `BSpline.is_clamped` property is `True` for a clamped (open) B-spline
309- NEW: `UCS.transform()` general transformation interface
310- NEW: `Bezier4P.transform()` general transformation interface
311- NEW: `Bezier4P.reverse()` returns object with reversed control point order
312- NEW: `Bezier.transform()` general transformation interface
313- NEW: `Bezier.reverse()` returns object with reversed control point order
314- NEW: `has_clockwise_orientation(vertices)` returns `True` if the closed
315  polygon of 2D vertices has clockwise orientation
316- NEW: `DXFEntity.new_extension_dict()`, create explicit a new extension dictionary
317- NEW: `ezdxf.reorder`, support module to implement modified entities redraw order
318- NEW: get DXF test file path from environment variable `EZDXF_TEST_FILES`,
319  imported automatically as `ezdxf.EZDXF_TEST_FILES`
320- NEW: `arc_chord_length()` and `arc_segment_count()` tool functions in
321  `ezdxf.math`
322- NEW: `Drawing.encode()` to encode unicode strings with correct encoding and
323  error handler
324- NEW: `ezdxf.has_dxf_unicode()` to detect "\U+xxxx" encoded chars
325- NEW: `ezdxf.decode_dxf_unicode()` to decode strings containing
326  "\U+xxxx" encoded chars, the new `recover` module decodes such strings
327  automatically.
328- CHANGE: `DXFEntity.get_extension_dict()`, raises `AttributeError` if entity
329  has no extension dictionary
330- CHANGE: `DXFEntity.has_extension_dict` is now a property not a method
331- CHANGE: `linspace()` uses `Decimal()` for precise calculations, but still
332  returns an iterable of `float`
333- CHANGE: `Drawing.blocks.delete_all_blocks()`, unsafe mode is disabled and
334  argument `safe` is deprecated, will be removed in v0.16
335- CHANGE: Dictionary raise `DXFValueError` for adding invalid handles
336- CHANGE: `BaseLayout.add_entity()` will bind entity automatically to doc/db if possible
337- CHANGE: handle all layout names as case insensitive strings: `Model == MODEL`
338- REMOVE: `option.check_entity_tag_structure`, entity check is done only in
339  recover mode
340- REMOVE: `legacy_mode` in `ezdxf.read()` and `ezdxf.readfile()`, use the
341  `ezdxf.recover` module to load DXF Documents with structural flaws
342- REMOVE: Alias `DXFEntity.drawing` use `DXFEntity.doc`
343- REMOVE: `DXFEntity.entitydb`
344- REMOVE: `DXFEntity.dxffactory`
345- REMOVE: `DXFInvalidLayerName`, replaced by `DXFValueError`
346- REMOVE: `Image.get_boundary_path()`, replaced by property `Image.boundary_path`
347- REMOVE: `Image.get_image_def()`, replaced by property `Image.image_def`
348- REMOVE: `filter_stack` argument in `ezdxf.read()` and `ezdxf.readfile()`
349- BUGFIX: Set `non-constant-attribs` flag (2) in BLOCK at DXF export if non
350  constant ATTDEF entities are present.
351- BUGFIX: DXF R2018 - `HATCH` extrusion vector (210) is mandatory?
352- BUGFIX: Layout names are case insensitive; "MODEL" == "Model"
353- BUGFIX: Using "surrogateescape" error handler to preserve binary data in
354  ASCII DXF files. Prior versions of ezdxf corrupted this data by using the
355  "ignore" error handler; Example file with binary data in XRECORD is not valid
356  for TrueView 2020 - so binary data is maybe not allowed.
357
358Version 0.13.1 - 2020-07-18
359---------------------------
360
361- Release notes: https://ezdxf.mozman.at/release-v0-13.html
362- BUGFIX: remove white space from structure tags like `"SECTION "`
363- BUGFIX: `MeshBuilder.from_polyface()` processing error of POLYMESH entities
364
365Version 0.13 - 2020-07-04
366-------------------------
367
368- Release notes: https://ezdxf.mozman.at/release-v0-13.html
369- NEW: general transformation interface: `DXFGraphic.transform(m)`,
370  transform entity by a transformation matrix `m` inplace
371- NEW: specialized entity transformation interfaces:
372    - `DXFGraphic.translate(dx, dy, dz)`
373    - `DXFGraphic.scale(sx, sy, sz)`
374    - `DXFGraphic.scale_uniform(s)`
375    - `DXFGraphic.rotate_axis(axis, angle)`
376    - `DXFGraphic.rotate_x(angle)`
377    - `DXFGraphic.rotate_y(angle)`
378    - `DXFGraphic.rotate_z(angle)`
379- NEW: [drawing](https://ezdxf.mozman.at/docs/addons/draw.html) add-on by Matt Broadway is a translation
380  layer to send DXF data to a render backend, supported backends for now:
381  [matplotlib](https://pypi.org/project/matplotlib/) and [PyQt5](https://pypi.org/project/PyQt5/), both packages
382  are optional and not required to install _ezdxf_.
383- NEW: `DXFGraphic.unlink_from_layout()` to unlink entity from associated layout
384- NEW: `Arc.angles(num)`, yields `num` angles from start- to end angle in counter clockwise order
385- NEW: `Circle.to_ellipse()`, convert CIRCLE/ARC to ELLIPSE entity
386- NEW: `Circle.to_spline()`, convert CIRCLE/ARC to SPLINE entity
387- NEW: `Ellipse.params(num)`, yields `num` params from start- to end param in counter clockwise order
388- NEW: `Ellipse.construction_tool()`, return ellipse data as `ConstructionEllipse()`
389- NEW: `Ellipse.apply_construction_tool()`, apply `ConstructionEllipse()` data
390- NEW: `Ellipse.to_spline()`, convert ELLIPSE to SPLINE entity
391- NEW: `Ellipse.from_arc()`, create a new ELLIPSE entity from CIRCLE or ARC entity (constructor)
392- NEW: `Spline.construction_tool()`, return spline data as `ezdxf.math.BSpline()`
393- NEW: `Spline.apply_construction_tool()`, apply `ezdxf.math.BSpline()` data
394- NEW: `Spline.from_arc()`, create a new SPLINE entity from CIRCLE, ARC or ELLIPSE entity (constructor)
395- NEW: `Hatch.set_pattern_scale()` to set scaling of pattern definition
396- NEW: `Hatch.set_pattern_angle()` to set rotation angle of pattern definition
397- NEW: `Hatch.paths.polyline_to_edge_path()` convert polyline paths with bulge values to edge paths with lines and arcs
398- NEW: `Hatch.paths.arc_edges_to_ellipse_edges()` convert arc edges to ellipse edges
399- NEW: `Hatch.paths.ellipse_edges_to_spline_edges()` convert ellipse edges to spline edges
400- NEW: `Hatch.paths.all_to_spline_edges()` convert all curves to approximated spline edges
401- NEW: `Hatch.paths.all_to_line_edges()` convert all curves to approximated line edges
402- NEW: `Text.plain_text()` returns text content without formatting codes
403- NEW: `ezdxf.math.ConstructionEllipse()`
404- NEW: `ezdxf.math.linspace()` like `numpy.linspace()`
405- NEW: `ezdxf.math.global_bspline_interpolation()` supports start- and end tangent constraints
406- NEW: `ezdxf.math.estimate_tangents()` curve tangent estimator for given fit points
407- NEW: `ezdxf.math.estimate_end_tangent_magnitude()` curve end tangent magnitude estimator for given fit points
408- NEW: `ezdxf.math.rational_bspline_from_arc()` returns a rational B-spline for a circular arc
409- NEW: `ezdxf.math.rational_bspline_from_ellipse()` returns a rational B-spline for an elliptic arc
410- NEW: `ezdxf.math.local_cubic_bspline_interpolation()`
411- NEW: `ezdxf.math.cubic_bezier_from_arc()` returns an approximation for a circular 2D arc by multiple cubic Bezier curves
412- NEW: `ezdxf.math.cubic_bezier_from_ellipse()` returns an approximation for an elliptic arc by multiple cubic Bezier curves
413- NEW: `ezdxf.math.cubic_bezier_interpolation()` returns an interpolation curve for arbitrary data points as multiple cubic Bezier curves
414- NEW: `ezdxf.math.LUDecomposition` linear equation solver, for more linear algebra tools see module `ezdxf.math.linalg`
415- NEW: `ezdxf.render.random_2d_path()` generate random 2D path for testing purpose
416- NEW: `ezdxf.render.random_3d_path()` generate random 3D path for testing purpose
417- NEW: `BSpline()` uses normalized knot vector for 'clamped' curves by default (open uniform knots)
418- NEW: `BSpline.points()` compute multiple points
419- NEW: `BSpline.derivative()` compute point and derivative up to n <= degree
420- NEW: `BSpline.derivatives()` compute multiple points and derivatives up to n <= degree
421- NEW: `BSpline.params()` return evenly spaced B-spline params from start- to end param
422- NEW: `BSpline.reverse()` returns a new reversed B-spline
423- NEW: `BSpline.from_arc()` B-spline from an arc, best approximation with a minimum number of control points
424- NEW: `BSpline.from_ellipse()` B-spline from an ellipse, best approximation with a minimum number of control points
425- NEW: `BSpline.from_fit_points()` B-spline from fit points
426- NEW: `BSpline.arc_approximation()` B-spline approximation from arc vertices as fit points
427- NEW: `BSpline.ellipse_approximation()` B-spline approximation from ellipse vertices as fit points
428- NEW: `BSpline.transform()` transform B-spline by transformation matrix inplace
429- NEW: `BSpline.transform()` transform B-spline by transformation matrix inplace
430- NEW: `BSpline.to_nurbs_python_curve()` and `BSpline.from_nurbs_python_curve()`, interface to
431  [NURBS-Python](https://github.com/orbingol/NURBS-Python), `NURBS-Python` is now a testing dependency
432- NEW: `BSpline.bezier_decomposition()` decompose a non-rational B-spline into multiple Bezier curves
433- NEW: `BSpline.cubic_bezier_approximation()` approximate any B-spline by multiple cubic Bezier curves
434- NEW: `Bezier.points()` compute multiple points
435- NEW: `Bezier.derivative()` compute point, 1st and 2nd derivative for one parameter
436- NEW: `Bezier.derivatives()` compute point and derivative for multiple parameters
437- CHANGE: `Hatch` full support for rotated patterns.
438- CHANGE: `Hatch.set_pattern_definition()` added argument `angle` for pattern rotation.
439- CHANGE: `Hatch.path.add_arc` renamed argument `is_counter_clockwise` to `ccw`, type `bool` and `True` by default
440- CHANGE: `Hatch.path.add_ellipse` renamed argument `is_counter_clockwise` to `ccw`, type `bool` and `True` by default
441- CHANGE: renamed 2D `ConstructionXXX.move()` methods to `translate()`
442- CHANGE: renamed old `Insert.scale()` to `Insert.set_scale()`, name conflict with transformation interface
443- CHANGE: renamed `Spline.set_periodic()` to `Spline.set_closed()`
444- CHANGE: renamed `Spline.set_periodic_rational()` to `Spline.set_closed_rational()`
445- CHANGE: renamed `ezdxf.math.bspline_control_frame()` to `ezdxf.math.global_bspline_interpolation()`
446- REMOVED: `ezdxf.math.Matrix33` class, `UCS` and `OCS` uses `Matrix44`for transformations
447- REMOVED: `ezdxf.math.BRCS` class and `Insert.brcs()`
448- REMOVED: `ezdxf.math.ConstructionTool` base class
449- REMOVED: `ezdxf.math.normalize_angle(angle)`, replace call by expression: `angle % math.tau`
450- REMOVED: `ezdxf.math.DBSpline`, integrated as `BSpline.derivatives()`
451- REMOVED: `ezdxf.math.DBSplineU`, integrated as `BSplineU.derivatives()`
452- REMOVED: `ezdxf.math.DBSplineClosed`, integrated as `BSplineClosed.derivatives()`
453- REMOVED: `ezdxf.math.DBezier`, integrated as `Bezier.derivatives()`
454- REMOVED: `BaseLayout.add_spline_approx()`, incorrect and nobody noticed it - so it's not really needed, if required
455  use the `geomdl.fitting.approximate_curve()` function from the package
456  [NURBS-Python](https://github.com/orbingol/NURBS-Python), see example `using_nurbs_python.py`
457- REMOVED: `ezdxf.math.bspline_control_frame_approx()`, incorrect and nobody noticed it - so it's not really needed
458- DEPRECATED: `DXFGraphic.transform_to_wcs(ucs)`, replace call by `DXFGraphic.transform(ucs.matrix)`
459- DEPRECATED: `non_uniform_scaling` argument for `Insert.explode()`
460- DEPRECATED: `non_uniform_scaling` argument for `Insert.virtual_entities()`
461- DEPRECATED: getter and edit methods in `Hatch` for attributes `paths`, `gradient`, `pattern` and `seeds`
462- DEPRECATED: `Spline.edit_data()` all attributes accessible by properties
463- BUGFIX: `ezdxf.math.intersection_ray_ray_3d()`
464- BUGFIX: `Spline.set_periodic()` created invalid data for BricsCAD - misleading information by Autodesk
465
466Version 0.12.5 - 2020-06-05
467---------------------------
468
469- BUGFIX: DXF export error for hatches with rational spline edges
470
471Version 0.12.4 - 2020-05-22
472---------------------------
473
474- BUGFIX: structure validator for XRECORD
475
476Version 0.12.3 - 2020-05-16
477---------------------------
478
479- BUGFIX: DXF R2010+ requires zero length tag 97 for HATCH/SplineEdge if no fit points exist (vshu3000)
480- BUGFIX: Export order of XDATA and embedded objects (vshu3000)
481- BUGFIX: ATTRIB and ATTDEF did not load basic DXF attributes
482- NEW: `BlockLayout()` properties `can_explode` and `scale_uniformly`
483- NEW: `Hatch.remove_association()`
484
485Version 0.12.2 - 2020-05-03
486---------------------------
487
488- BUGFIX: `XData.get()` now raises `DXFValueError` for not existing appids, like all other methods of the `XData()` class
489- BUGFIX: `Layer.description` returns an empty string for unknown XDATA structure in `AcAecLayerStandard`
490- BUGFIX: Initialize/Load `Hatch` edge coordinates as `Vec2()` objects
491- BUGFIX: typo in 3 point angular dimension subclass marker (vshu3000)
492- BUGFIX: HATCH/SplineEdge did export length tag 97 if no fit points exist, creates invalid DXF for AutoCAD/BricsCAD (vshu3000)
493- BUGFIX: Ellipse handling in `virtual_block_reference_entities()` (Matt Broadway)
494
495Version 0.12.1 - 2020-04-25
496---------------------------
497
498- BUGFIX: fixed uniform scaled ellipse handling in `explode.virtual_block_reference_entities()`
499- BUGFIX: fixed crash caused by floating point inaccuracy in `Vector.angle_between()` (Matt Broadway)
500- BUGFIX: fixed crash for axis transformation of nearly perpendicular ellipse axis
501- BUGFIX: fixed `Hatch.has_critical_elements()`
502
503
504Version 0.12 - 2020-04-12
505-------------------------
506
507- Release notes: https://ezdxf.mozman.at/release-v0-12.html
508- NEW: `Insert.block()` returns associated `BlockLayout()` or `None` if block not exist or is an XREF
509- NEW: `Insert.has_scaling` returns `True` if any axis scaling is applied
510- NEW: `Insert.has_uniform_scaling` returns `True` if scaling is uniform in x-, y- and z-axis.
511- NEW: `Insert.scale(factor)` set uniform scaling.
512- NEW: `Insert.virtual_entities()` yields 'virtual' entities of a block reference (experimental)
513- NEW: `Insert.explode()` explode block reference entities into target layout (experimental)
514- NEW: `Insert.add_auto_attribs()` add ATTRIB entities defined as ATTDEF in the block layout and fill tags
515        with values defined by a `dict` (experimental)
516- NEW: `LWPolyline.virtual_entities()` yields 'virtual' LINE and ARC entities
517- NEW: `LWPolyline.explode()` explode LWPOLYLINE as LINE and ARC entities into target layout
518- NEW: `Polyline.virtual_entities()` yields 'virtual' LINE, ARC or 3DFACE entities
519- NEW: `Polyline.explode()` explode POLYLINE as LINE, ARC or 3DFACE entities into target layout
520- NEW: `Dimension.virtual_entities()` yields 'virtual' DXF entities
521- NEW: `Dimension.explode()` explode DIMENSION as basic DXF entities into target layout
522- NEW: `Dimension.transform_to_wcs()` support for UCS based entity transformation
523- NEW: `Dimension.override()` returns `DimStyleOverride()` object
524- NEW: `Dimension.render()` render graphical representation as anonymous block
525- NEW: `Block()` properties `is_anonymous`, `is_xref` and `is_xref_overlay`
526- NEW: `R12FastStreamWriter.add_polyline_2d()`, add 2D POLYLINE with start width, end width and bulge value support
527- NEW: `Ellipse.minor_axis` property returns minor axis as `Vector`
528- NEW: Option `ezdxf.options.write_fixed_meta_data_for_testing`, writes always same timestamps and GUID
529- NEW: Support for loading and exporting proxy graphic encoded as binary data, by default disabled
530- NEW: `ezdxf.proxygraphic.ProxyGraphic()` class to examine binary encoded proxy graphic (Need more example data
531        for testing!)
532- NEW: Get/set hyperlink for graphic entities
533- NEW: `odafc` add-on to use an installed ODA File Converter for reading and writing DWG files
534- NEW: Support for reading and writing Binary DXF files
535- NEW: Binary DXF support for `r12writer` add-on
536- CHANGE: `R12FastStreamWriter.add_polyline()`, add 3D POLYLINE only, closed flag support
537- CHANGE: renamed `Insert.ucs()` to `Insert.brcs()` which now returns a `BRCS()` object
538- CHANGE: `Polyline.close()`, `Polyline.m_close()` and `Polyline.n_close()` can set and **clear** closed state.
539- BUGFIX: `Dimension.destroy()` should not not destroy associated anonymous block, because if DIMENSION is used in a
540          block, the anonymous block may be used by several block references
541- BUGFIX: floating point precision error in `intersection_line_line_2d()`
542- BUGFIX: attribute error in `Polyline.transform_to_wcs()` for 2d polylines
543- BUGFIX: LWPOLYLINE was always exported with `const_width=0`
544- BUGFIX: `Face3d.set_edge_visibility()` set inverted state (visible <-> invisible)
545- BUGFIX: Load `AcDbEntity` group codes from base class
546
547Version 0.11.2 - 2020-04-03
548---------------------------
549
550- BUGFIX: upgrade error from DXF R13/14 to R2000
551
552Version 0.11.1 - 2020-02-29
553---------------------------
554
555- NEW: `Meshbuilder.from_polyface()` to interface to `POLYFACE` and `POLYMESH`
556- NEW: `Meshbuilder.render_polyface()` create `POLYFACE` objects
557- NEW: `MeshAverageVertexMerger()` an extended version of `MeshVertexMerger()`, location of merged vertices
558  is the average location of all vertices with the same key
559- NEW: `ezdxf.addons.iterdxf` iterate over modelspace entities of really big DXF files (>1 GB) without loading
560  them into memory
561- NEW: `ezdxf.addons.r12writer` supports `POLYFACE` and `POLYMESH` entities
562- NEW: `Layout.add_foreign_entity()` copy/move **simple** entities from another DXF document or add unassigned
563  DXF entities to a layout
564- NEW: `MText.plain_text()` returns text content without formatting codes
565- CHANGE: refactor Auditor() into a DXF document fixer, fixes will be applied automatically (work in progress)
566- CHANGE: moved `r12writer` into `addons` subpackage
567- CHANGE: moved `acadctb` into `addons` subpackage
568
569Version 0.11 - 2020-02-15
570-------------------------
571
572- Release notes: https://ezdxf.mozman.at/release-v0-11.html
573- Using standard git branches:
574  - `master`: development state
575  - `stable`: latest stable release
576- Requires Python 3.6
577- NEW: `Dimension.get_measurement()` supports angular, angular3p and ordinate dimensions
578- NEW: `Layout.add_radius_dim()` implemented
579- NEW: shortcut calls `Layout.add_radius_dim_2p()` and `Layout.add_radius_dim_cra()`
580- NEW: `Layout.add_diameter_dim()` implemented
581- NEW: shortcut `Layout.add_diameter_dim_2p()`
582- NEW: `Circle.vertices(angles)` yields vertices for iterable angles in WCS
583- NEW: `Ellipse.vertices(params)` yields vertices for iterable params in WCS
584- NEW: Arc properties `start_point` and `end_point` returns start- and end point of arc in WCS
585- NEW: Ellipse properties `start_point` and `end_point` returns start- and end point of ellipse in WCS
586- NEW: user defined point format support for 2d POLYLINE entities:
587  `add_polyline2d([(1, 2, 0.5), (3, 4, 0)], format='xyb')`
588- NEW: `Polyline.append_formatted_points()` with user defined point format support
589- NEW: `Drawing.set_modelspace_vport(height, center)` set initial view/zoom location for the modelspace
590- NEW: support for associating HATCH boundary paths to geometry entities
591- NEW: `Drawing.output_encoding` returns required output encoding
592- NEW: User Coordinate System (UCS) based entity transformation, allows to work with UCS coordinates, which are
593  simpler if the UCS is chosen wisely, and transform them later into WCS coordinates. Entities which have a
594  `transform_to_wcs(ucs)` method, automatically take advantage of the new UCS transformation methods, but not all entity
595  types are supported, embedded ACIS entities like 3DSOLID, REGION, SURFACE and so on, do not expose their geometry.
596- NEW: `transform_to_wcs(ucs)` implemented for: 3DFACE, ARC, ATTDEF, ATTRIB, CIRCLE, ELLIPSE, HATCH, IMAGE, INSERT,
597  LEADER, LINE, LWPOLYLINE, MESH, MTEXT, POINT, POLYLINE, RAY, SHAPE, SOLID, SPLINE, TEXT, TRACE, XLINE
598- NEW: `UCS.rotate(axis, angle)` returns a new UCS rotated around WCS vector `axis`
599- NEW: `UCS.rotate_local_x(angle)` returns a new UCS rotated around local x-axis
600- NEW: `UCS.rotate_local_y(angle)` returns a new UCS rotated around local y-axis
601- NEW: `UCS.rotate_local_z(angle)` returns a new UCS rotated around local z-axis
602- NEW: `UCS.copy()` returns a new copy of UCS
603- NEW: `UCS.shift(delta)` shifts UCS inplace by vector `delta`
604- NEW: `UCS.moveto(location)` set new UCS origin to `location` inplace
605- NEW: `size` and `center` properties for bounding box classes
606- NEW: `Insert.ucs()` returns an UCS placed in block reference `insert` location, UCS axis aligned to the block axis.
607- NEW: `Insert.reset_transformation()` reset block reference location, rotation and extrusion vector.
608- CHANGE: renamed `ezdxf.math.left_of_line` to `ezdxf.math.is_point_left_of_line`
609- NEW: `ezdxf.math.point_to_line_relation()` 2D function returns `-1` for left oft line, `+1` for right oif line , `0` on the line
610- NEW: `ezdxf.math.is_point_on_line_2d()` test if 2D point is on 2D line
611- NEW: `ezdxf.math.distance_point_line_2d()` distance of 2D point from 2D line
612- NEW: `ezdxf.math.is_point_in_polygon_2d()` test if 2D point is inside of a 2D polygon
613- NEW: `ezdxf.math.intersection_line_line_2d()` calculate intersection for 2D lines
614- NEW: `ezdxf.math.offset_vertices_2d()` calculate 2D offset vertices for a 2D polygon
615- NEW: `ezdxf.math.normal_vector_3p()` returns normal vector for 3 points
616- NEW: `ezdxf.math.is_planar_face()` test if 3D face is planar
617- NEW: `ezdxf.math.subdivide_face()` linear subdivision for 2D/3D faces/polygons
618- NEW: `ezdxf.math.intersection_ray_ray_3d()` calculate intersection for 3D rays
619- NEW: `ezdxf.math.Plane()` 3D plane construction tool
620- NEW: `ezdxf.render.MeshTransformer()` inplace mesh transformation class, subclass of `MeshBuilder()`
621- NEW: `MeshBuilder.render()` added UCS support
622- NEW: `MeshBuilder.render_normals()` render face normals as LINE entities, useful to check face orientation
623- NEW: `ezdxf.render.forms.cone_2p()` create 3D cone mesh from two points
624- NEW: `ezdxf.render.forms.cylinder_2p()` create 3D cylinder mesh from two points
625- NEW: `ezdxf.render.forms.sphere()` create 3D sphere mesh
626- NEW: `pycsg` add-on, a simple Constructive Solid Geometry (CSG) kernel created by Evan Wallace (Javascript) and
627  Tim Knip (Python)
628- CHANGE: Changed predefined pattern scaling to BricsCAD and AutoCAD standard, set global option
629  `ezdxf.options.use_old_predefined_pattern_scaling` to True, to use the old pattern scaling before v0.11
630- CHANGE: removed `ezdxf.PATTERN` constant, use `PATTERN = ezdxf.pattern.load()` instead, set argument
631  `old_pattern=True` to use the old pattern scaling before v0.11
632- CHANGE: `Table.key()` accepts only strings, therefore tables check `in` accepts also only strings
633  like `entity.dxf.name`
634- NEW: load DXF comments from file (`ezdxf.comments.from_file`) or stream (`ezdxf.comments.from_stream`)
635- BUGFIX: fixed incorrect HATCH pattern scaling
636- BUGFIX: fixed base point calculation of aligned dimensions
637- BUGFIX: fixed length extension line support for linear dimensions
638- BUGFIX: `UCS.to_ocs_angle_deg()` and `UCS.to_ocs_angle_rad()`
639- BUGFIX: check for unsupported DXF versions at `new()`
640- BUGFIX: fixed dxf2src error for the HATCH entity
641- BUGFIX: `is_point_left_of_line()` algorithm was incorrect
642- BUGFIX: default `dimtxsty` is `Standard` if `options.default_dimension_text_style` is not defined
643- BUGFIX: default arrows for minimal defined dimstyles are closed filled arrows
644- BUGFIX: use `Standard` as default for undefined dimension styles, e.g. `EZDXF` without setup
645
646Version 0.10.4 - 2020-01-31
647---------------------------
648
649- BUGFIX: height group code (40) for TEXT, ATTRIB and ATTDEF is mandatory
650
651Version 0.10.3 - 2020-01-29
652---------------------------
653
654- BUGFIX: min DXF version for VISUALSTYLE object is R2000
655
656Version 0.10.2 - 2019-10-05
657---------------------------
658
659- NEW: `Dimension.get_measurement()` returns the actual dimension measurement in WCS units, no scaling applied; angular
660  and ordinate dimension are not supported yet.
661- BUGFIX: ordinate dimension exports wrong feature location
662- BUGFIX: `Hatch.set_pattern_fill()` did not set pattern scale, angle and double values
663
664Version 0.10.1 - 2019-09-07
665---------------------------
666
667- BUGFIX: group code for header var $ACADMAINTVER is 90 for DXF R2018+ and 70 for previous DXF versions. This is a
668  critical bug because AutoCAD 2012/2013 (and possibly earlier versions) will not open DXF files with the new group
669  code 90 for header variable $ACADMAINTVER.
670
671Version 0.10 - 2019-09-01
672-------------------------
673
674- Release notes: https://ezdxf.mozman.at/release-v0-10.html
675- unified entity system for all DXF versions
676- saving as later DXF version than the source DXF version is possible, but maybe data loss if saving as an older DXF
677  version than source DXF version (_ezdxf_ is not a DXF converter)
678- templates no more needed and removed from package
679- CHANGE: `DXFEntity`
680    - renamed `DXFEntity.drawing` to `DXFEntity.doc`
681    - `DXFEntity.get_xdata()` keyword `xdata_tag` renamed to `tags`
682    - `DXFEntity.set_xdata()` keyword `xdata_tag` renamed to `tags`
683    - renamed `DXFEntity.remove_reactor_handle()` renamed to `DXFEntity.discard_reactor_handle()`
684    - `DXFEntity.get_extension_dict()` returns `ExtensionDict` object instead of the raw DICTIONARY object
685    - renamed `DXFEntity.supports_dxf_attrib()` to `DXFEntity.is_supported_dxf_attrib()`
686    - renamed `DXFEntity.dxf_attrib_exists()` to `DXFEntity.has_dxf_attrib()`
687- CHANGE: `Layer` entity
688    - removed `Layer.dxf.line_weight` as synonym for `Layer.dxf.lineweight`
689    - renamed `Layer.dxf.plot_style_name` to `Layer.dxf.plotstyle_handle`
690    - renamed `Layer.dxf.material` to `Layer.dxf.material_handle`
691- CHANGE: same treatment of `Viewport` entity for all DXF versions
692- CHANGE: `Polyline.vertices()` is now an attribute `Polyline.vertices`, implemented as regular Python list.
693- CHANGE: `Insert.attribs()` is now an attribute `Insert.attribs`, implemented as regular Python list.
694- CHANGE: renamed `Viewport.dxf.center_point` to `Viewport.dxf.center`
695- CHANGE: renamed `Viewport.dxf.target_point` to `Viewport.dxf.target`
696- CHANGE: direct access to hatch paths (`Hatch.paths`), pattern (`Hatch.pattern`) and gradient (`Hatch.gradient`),
697          context manager to edit this data is not needed anymore, but still available for backward compatibility
698- CHANGE: Options
699    - removed `template_dir`, no more needed
700    - new `log_unprocessed_tags` to log unprocessed (unknown) DXF tags
701- CHANGE: `Dimension()` removes associated anonymous dimension block at deletion
702- CHANGE: safe block deletion protects not explicit referenced blocks like anonymous dimension blocks and arrow blocks
703- CHANGE: `Importer` add-on rewritten, API incompatible to previous ezdxf versions, but previous implementation was
704          already broken
705- CHANGE: moved `add_attdef()` to generic layout interface, adding ATTDEF to model- and paperspace is possible
706- CHANGE: entity query - exclude DXF types from `'*'` search, by appending type name with a preceding '!' e.g. query for
707  all entities except LINE = `"* !LINE"`
708- CHANGE: entity query - removed regular expression support for type name match
709- CHANGE: integration of `MTextData` methods into `MText`
710- CHANGE: removed  `edit_data`, `get_text`, `set_text` methods from `MText`
711- restructured package, module and test file organization
712- NEW: support for `Layer.dxf.true_color` and `Layer.dxf.transparency` attributes (DXF R2004+, undocumented)
713- NEW: `Layer.rgb`, `Layer.color`, `Layer.description` and `Layer.transparency` properties
714- NEW: renaming a `Layer` also renames references to this layer, but use with care
715- NEW: support for adding LEADER entities
716- NEW: `Dimension.get_geometry_block()`, returns the associated anonymous dimension block or `None`
717- NEW: `EntityQuery()` got `first` and `last` properties, to get first or last entity or `None` if query result is empty
718- NEW: added `ngon()`, `star()` and `gear()` to `ezdxf.render.forms`
719- NEW: Source code generator to create Python source code from DXF entities, to recreate this entities by _ezdxf_.
720  This tool creates only simple structures as a useful starting point for parametric DXF entity creation from existing
721  DXF files. Not all DXF entities are supported!
722- NEW: support for named plot style files (STB)
723- NEW: can open converted Gerber DXF files tagged as "Version 1.0, Gerber Technology."
724- BUGFIX: fixed MTEXT and GEODATA text splitting errors (do not split at '^')
725- BUGFIX: fixed some subclass errors, mostly DXF reference errors
726- BUGFIX: VERTEX entity inherit `owner` and `linetype` attribute from POLYLINE entity
727- BUGFIX: MTEXT - replacement of `\n` by `\P` at DXF export to avoid invalid DXF files.
728- tested with CPython 3.8
729- removed batch files (.bat) for testing, use `tox` command instead
730
731Version 0.9 - 2019-02-24
732------------------------
733
734- Release notes: https://ezdxf.mozman.at/release-v0-9.html
735- IMPORTANT: Python 2 support REMOVED, if Python 2 support needed: add `ezdxf<0.9` to your `requirements.txt`
736- NEW: testing on Manjaro Linux in a VM by tox
737- CHANGE: converted NEWS.rst to NEWS.md and README.rst to README.md
738- CHANGE: moved `Importer()` from `ezdxf.tools` to `ezdxf.addons` - internal structures of modern DXF files are too complex
739  and too undocumented to support importing data in a reliable way - using `Importer()` may corrupt your DXF files or just
740  don't work!
741- NEW: type annotations to core package and add-ons.
742- NEW: argument `setup` in `ezdxf.new('R12', setup=True)` to setup default line types, text styles and dimension styles,
743  this feature is disabled by default.
744- NEW: Duplicate table entries: `dwg.styles.duplicate_entry('OpenSans', new_name='OpenSansNew')`, this works for
745  all tables, but is intended to duplicate STYLES and DIMSTYLES.
746- CHANGED: replaced proprietary fonts in style declarations by open source fonts
747- NEW: open source fonts to download https://github.com/mozman/ezdxf/tree/master/fonts
748- __OpenSansCondensed-Light__ font used for default dimension styles
749- NEW: subpackage `ezdxf.render`, because of DIMENSION rendering
750- NEW: support for AutoCAD standard arrows
751- NEW: support for creating linear DIMENSION entities
752- NEW: background color support for MTEXT
753- CHANGE: DXF template cleanup, removed non standard text styles, dimension styles, layers and blocks
754- CHANGE: text style STANDARD uses `txt` font
755- CHANGE: renamed subpackage `ezdxf.algebra` to `ezdxf.math`
756- CHANGE: moved `addons.curves` to `render.curves`
757- CHANGE: moved `addons.mesh` to `render.mesh`
758- CHANGE: moved `addons.r12spline` to `render.r12spline`
759- CHANGE: moved `addons.forms` to `render.forms`
760- CHANGE: renamed construction helper classes into Construction...()
761  - `Ray2D()` renamed to `ConstructionRay()`
762  - `Circle()` renamed to `ConstructionCircle()`
763  - `Arc()` renamed to `ConstructionArc()`
764- NEW: construction tools `ConstructionLine()` and `ConstructionBox()`
765- REMOVED: `almost_equal` use `math.isclose`
766- REMOVED: `almost_equal_points` use `ezdxf.math.is_close_points`
767- BUGFIX: closed LWPOLYLINE did not work in AutoCAD (tag order matters), introduced with v0.8.9 packed data structure
768- BUGFIX: `UCS.to_ocs_angle_deg()` corrected
769
770Version 0.8.9 - 2018-11-28
771--------------------------
772
773- Release notes: https://ezdxf.mozman.at/release-v0-8-9.html
774- IMPORTANT: Python 2 support will be dropped in ezdxf v0.9.0, because Python 2 support get more and more annoying.
775- CHANGE: refactoring of internal tag representation for a smaller memory footprint, but with some speed penalty
776- NEW: packed data for LWPOLYLINE points, faster `__getitem__`;  added `__setitem__`, `__delitem__`, `insert()` and
777  `append()` methods; renamed `discard_points()` in `clear()`; removed `get_rstrip_points()` and ctx manager
778  `rstrip_points()`; user defined point format;
779- NEW: packed data for SPLINE, knots, weights, fit- and control points are stored as `array.array()`;
780  `Spline.get_knot_values()`, `Spline.get_weights()`, `Spline.get_control_points()` and `Spline.get_fit_points()` are
781  deprecated, direct access to this attributes by `Spline.knot_values`, `Spline.weights`, `Spline.control_points` and
782  `Spline.fit_points`, all attributes with a list-like interface. Knot, control point and fit point counter updated
783  automatically, therefore counters are read only now.
784- NEW: packed data for MESH, vertices, faces, edges and edge crease values stored as `array.array()`, high level interface unchanged
785- NEW: `Drawing.layouts_and_blocks()`, iterate over all layouts (mode space and paper space) and all block definitions.
786- NEW: `Drawing.chain_layouts_and_blocks()`, chain entity spaces of all layouts and blocks. Yields an iterator for all
787  entities in all layouts and blocks
788- NEW: `Drawing.query()`, entity query over all layouts and blocks
789- NEW: `Drawing.groupby()`, groups DXF entities of all layouts and blocks by an DXF attribute or a key function
790- NEW: `Layout.set_redraw_order()` and `Layout.get_redraw_order()`, to change redraw order of entities in model space and
791  paper space layouts
792- NEW: `BlockLayout.is_layout_block`, `True` if block is a model space or paper space block definition
793- NEW: `ezdxf.algebra.Arc` helper class to create arcs from 2 points and an angle or radius, or from 3 points
794- NEW: `ezdxf.algebra.Arc.add_to_layout()` with UCS support to create 3D arcs
795- NEW: rename paper space layouts by `Drawing.layouts.rename(old_name, new_name)`
796- NEW: Basic support for embedded objects (new in AutoCAD 2018), ezdxf reads and writes the embedded data as it is,
797  no interpretation no modification, just enough to not break DXF files with embedded objects at saving.
798- CHANGE: `Drawing.blocks.delete_block(name, safe=True)`, new parameter save, check if block is still referenced
799  (raises `DXFValueError`)
800- CHANGE: `Drawing.blocks.delete_all_blocks(safe=True)`, if parameter safe is `True`, do not delete blocks that are still referenced
801- BUGFIX: invalid CLASS definition for DXF version R2000 (AC1015) fixed, bug was only triggered at upgrading from R13/R14 to R2000
802- BUGFIX: fixed broken `Viewport.AcDbViewport` property
803- __BASIC__ read support for many missing DXF entities/objects
804
805    - ACAD_PROXY_GRAPHIC
806    - HELIX
807    - LEADER
808    - LIGHT
809    - MLEADER (incomplete)
810    - MLINE (incomplete)
811    - OLEFRAME
812    - OLE2FRAME
813    - SECTION
814    - TABLE (incomplete)
815    - TOLERANCE
816    - WIPEOUT
817    - ACAD_PROXY_OBJECT
818    - DATATABLE
819    - DICTIONARYVAR
820    - DIMASSOC
821    - FIELD (incomplete)
822    - FIELDLIST (not documented by Autodesk)
823    - IDBUFFER
824    - LAYER_FILTER
825    - MATERIAL
826    - MLEADERSTYLE
827    - MLINESTYLE
828    - SORTENTSTABLE
829    - SUN
830    - SUNSTUDY (incomplete) (no real world DXF files with SUNSTUDY for testing available)
831    - TABLESTYLE (incomplete)
832    - VBA_PROJECT (no real world DXF files with embedded VBA for testing available)
833    - VISUALSTYLE
834    - WIPEOUTVARIABLES
835    - for all unsupported entities/objects exist only raw DXF tag support
836
837Version 0.8.8 - 2018-04-02
838--------------------------
839
840- Release notes: https://ezdxf.mozman.at/release-v0-8-8.html
841- NEW: read/write support for GEODATA entity
842- NEW: read/(limited)write support for SURFACE, EXTRUDEDSURFACE, REVOLVEDSURFACE, LOFTEDSURFACE and SWEPTSURFACE entity
843- NEW: support for extension dictionaries
844- NEW: `add_spline_control_frame()`, create and add B-spline control frame from fit points
845- NEW: `add_spline_approx()`, approximate B-spline by a reduced count of control points
846- NEW: `ezdxf.setup_linetypes(dwg)`, setup standard line types
847- NEW: `ezdxf.setup_styles(dwg)`, setup standard text styles
848- NEW: `LWPolyline.vertices()` yields all points as `(x, y)` tuples in OCS, `LWPolyline.dxf.elevation` is the z-axis value
849- NEW: `LWPolyline.vertices_in_wcs()` yields all points as `(x, y, z)` tuples in WCS
850- NEW: basic `__str__()`  and `__repr__()` support for DXF entities, returns just DXF type and handle
851- NEW: bulge related function in module `ezdxf.algebra.bulge`
852- NEW: Object Coordinate System support by `DXFEntity.ocs()` and `OCS()` class in module ezdxf.algebra
853- NEW: User Coordinate System support by `UCS()` class in module `ezdxf.algebra`
854- CHANGE: `DXFEntity.set_app_data()` and `Entity.set_xdata` accept also list of tuples as tags, `DXFTag()` is not required
855- BUGFIX: entity structure validator excepts group code >= 1000 before XDATA section (used in AutoCAD Civil 3D and AutoCAD Map 3D)
856
857Version 0.8.7 - 2018-03-04
858--------------------------
859
860- Release notes: https://ezdxf.mozman.at/release-v0-8-7.html
861- NEW: entity.get_layout() returns layout in which entity resides or None if unassigned
862- NEW: copy any DXF entity by entity.copy() without associated layout, add copy to any layout you want, by
863  layout.add_entity().
864- NEW: copy entity to another layout by entity.copy_to_layout(layout)
865- NEW: move entity from actual layout to another layout by entity.move_to_layout(layout)
866- NEW: support for splines by control points: add_open_spline(), add_closed_spline(), add_rational_spline(),
867  add_closed_rational_spline()
868- NEW: bspline_control_frame() calculates B-spline control points from fit points, but not the same as AutoCAD
869- NEW: R12Spline add-on, 2d B-spline with control frame support by AutoCAD, but curve is just an approximated POLYLINE
870- NEW: added entity.get_flag_state() and entity.set_flag_state() for easy access to binary coded flags
871- NEW: set new $FINGERPRINTGUID for new drawings
872- NEW: set new $VERSIONGUID on saving a drawing
873- NEW: improved IMAGE support, by adding RASTERVARIABLES entity, use Drawing.set_raster_variables(frame, quality, units)
874- BUGFIX: closing user defined image boundary path automatically, else AutoCAD crashes
875
876Version 0.8.6 - 2018-02-17
877--------------------------
878
879- Release notes: https://ezdxf.mozman.at/release-v0-8-6.html
880- NEW: ezdxf project website: https://ezdxf.mozman.at/
881- CHANGE: create all missing tables of the TABLES sections for DXF R12
882- BUGFIX: entities on new layouts will be saved
883- NEW: Layout.page_setup() and correct 'main' viewport for DXF R2000+; For DXF R12 page_setup() exists, but does not
884  provide useful results. Page setup for DXF R12 is still a mystery to me.
885- NEW: Table(), MText(), Ellipse(), Spline(), Bezier(), Clothoid(), LinearDimension(), RadialDimension(),
886  ArcDimension() and AngularDimension() composite objects from dxfwrite as add-ons, these add-ons support DXF R12
887- NEW: geometry builder as add-ons: MeshBuilder(), MeshVertexMerger(), MengerSponge(), SierpinskyPyramid(), these
888  add-ons require DXF R2000+ (MESH entity)
889- BUGFIX: fixed invalid implementation of context manager for r12writer
890
891Version 0.8.5 - 2018-01-28
892--------------------------
893
894- Release notes: https://ezdxf.mozman.at/release-v0-8-5.html
895- CHANGE: block names are case insensitive 'TEST' == 'Test' (like AutoCAD)
896- CHANGE: table entry (layer, linetype, style, dimstyle, ...) names are case insensitive 'TEST' == 'Test' (like AutoCAD)
897- CHANGE: raises DXFInvalidLayerName() for invalid characters in layer names: <>/\":;?*|=`
898- CHANGE: audit process rewritten
899- CHANGE: skip all comments, group code 999
900- CHANGE: removed compression for unused sections (THUMBNAILSECTION, ACDSDATA)
901- NEW: write DXF R12 files without handles: set dwg.header['$HANDLING']=0, default value is 1
902- added subclass marker filter for R12 and prior files in legacy_mode=True (required for malformed DXF files)
903- removed special check for Leica Disto Unit files, use readfile(filename, legacy_mode=True) (malformed DXF R12 file,
904  see previous point)
905
906Version 0.8.4 - 2018-01-14
907--------------------------
908
909- Release notes: https://ezdxf.mozman.at/release-v0-8-4.html
910- NEW: Support for complex line types with text or shapes
911- NEW: DXF file structure validator at SECTION level, tags outside of sections will be removed
912- NEW: Basic read support for DIMENSION
913- CHANGE: improved exception management, in the future ezdxf should only raise exceptions inherited from DXFError for
914  DXF related errors, previous exception classes still work
915
916    - DXFValueError(DXFError, ValueError)
917    - DXFKeyError(DXFError, KeyError)
918    - DXFAttributeError(DXFError, AttributeError)
919    - DXFIndexError(DXFError, IndexError)
920    - DXFTableEntryError(DXFValueError)
921
922- speedup low level tag reader around 5%, and speedup tag compiler around 5%
923
924Version 0.8.3 - 2018-01-02
925--------------------------
926
927- CHANGE: Lwpolyline - suppress yielding z coordinates if they exists (DXFStructureError: z coordinates are not defined in the DXF standard)
928- NEW: setup creates a script called 'dxfpp' (DXF Pretty Printer) in the Python script folder
929- NEW: basic support for DXF format AC1032 introduced by AutoCAD 2018
930- NEW: ezdxf use logging and writes all logs to a logger called 'ezdxf'. Logging setup is the domain of the application!
931- NEW: warns about multiple block definitions with the same name in a DXF file. (DXFStructureError)
932- NEW: legacy_mode parameter in ezdxf.read() and ezdxf.readfile(): tries do fix coordinate order in LINE
933  entities (10, 11, 20, 21) by the cost of around 5% overall speed penalty at DXF file loading
934
935Version 0.8.2 - 2017-05-01
936--------------------------
937
938- NEW: Insert.delete_attrib(tag) - delete ATTRIB entities from the INSERT entity
939- NEW: Insert.delete_all_attribs() - delete all ATTRIB entities from the INSERT entity
940- BUGFIX: setting attribs_follow=1 at INSERT entity before adding an attribute entity works
941
942Version 0.8.1 - 2017-04-06
943--------------------------
944
945- NEW: added support for constant ATTRIB/ATTDEF to the INSERT (block reference) entity
946- NEW: added ATTDEF management methods to BlockLayout (has_attdef, get_attdef, get_attdef_text)
947- NEW: added (read/write) properties to ATTDEF/ATTRIB for setting flags (is_const, is_invisible, is_verify, is_preset)
948
949Version 0.8.0 - 2017-03-28
950--------------------------
951
952- added groupby(dxfattrib='', key=None) entity query function, it is supported by all layouts and the query result
953  container: Returns a dict, where entities are grouped by a dxfattrib or the result of a key function.
954- added ezdxf.audit() for DXF error checking for drawings created by ezdxf - but not very capable yet
955- dxfattribs in factory functions like add_line(dxfattribs=...), now are copied internally and stay unchanged, so they
956  can be reused multiple times without getting modified by ezdxf.
957- removed deprecated Drawing.create_layout() -> Drawing.new_layout()
958- removed deprecated Layouts.create() -> Layout.new()
959- removed deprecated Table.create() -> Table.new()
960- removed deprecated DXFGroupTable.add() -> DXFGroupTable.new()
961- BUGFIX in EntityQuery.extend()
962
963Version 0.7.9 - 2017-01-31
964--------------------------
965
966- BUGFIX: lost data if model space and active layout are called \*MODEL_SPACE and \*PAPER_SPACE
967
968Version 0.7.8 - 2017-01-22
969--------------------------
970
971- BUGFIX: HATCH accepts SplineEdges without defined fit points
972- BUGFIX: fixed universal line ending problem in ZipReader()
973- Moved repository to GitHub: https://github.com/mozman/ezdxf.git
974
975Version 0.7.7 - 2016-10-22
976--------------------------
977
978- NEW: repairs malformed Leica Disto DXF R12 files, ezdxf saves a valid DXF R12 file.
979- NEW: added Layout.unlink(entity) method: unlinks an entity from layout but does not delete entity from the drawing database.
980- NEW: added Drawing.add_xref_def(filename, name) for adding external reference definitions
981- CHANGE: renamed parameters for EdgePath.add_ellipse() - major_axis_vector -> major_axis; minor_axis_length -> ratio
982  to be consistent to the ELLIPSE entity
983- UPDATE: Entity.tags.new_xdata() and Entity.tags.set_xdata() accept tuples as tags, no import of DXFTag required
984- UPDATE: EntityQuery to support both 'single' and "double" quoted strings - Harrison Katz <harrison@neadwerx.com>
985- improved DXF R13/R14 compatibility
986
987Version 0.7.6 - 2016-04-16
988--------------------------
989
990* NEW: r12writer.py - a fast and simple DXF R12 file/stream writer. Supports only LINE, CIRCLE, ARC, TEXT, POINT,
991  SOLID, 3DFACE and POLYLINE. The module can be used without ezdxf.
992* NEW: Get/Set extended data on DXF entity level, add and retrieve your own data to DXF entities
993* NEW: Get/Set app data on DXF entity level (not important for high level users)
994* NEW: Get/Set/Append/Remove reactors on DXF entity level (not important for high level users)
995* CHANGE: using reactors in PdfDefinition for well defined UNDERLAY entities
996* CHANGE: using reactors and IMAGEDEF_REACTOR for well defined IMAGE entities
997* BUGFIX: default name=None in add_image_def()
998
999Version 0.7.5 - 2016-04-03
1000--------------------------
1001
1002* NEW: Drawing.acad_release property - AutoCAD release number for the drawing DXF version like 'R12' or 'R2000'
1003* NEW: support for PDFUNDERLAY, DWFUNDERLAY and DGNUNDERLAY entities
1004* BUGFIX: fixed broken layout setup in repair routine
1005* BUGFIX: support for utf-8 encoding on saving, DXF R2007 and later is saved with UTF-8 encoding
1006* CHANGE: Drawing.add_image_def(filename, size_in_pixel, name=None), renamed key to name and set name=None for auto-generated internal image name
1007* CHANGE: argument order of Layout.add_image(image_def, insert, size_in_units, rotation=0., dxfattribs=None)
1008
1009Version 0.7.4 - 2016-03-13
1010--------------------------
1011
1012* NEW: support for DXF entity IMAGE (work in progress)
1013* NEW: preserve leading file comments (tag code 999)
1014* NEW: writes saving and upgrading comments when saving DXF files; avoid this behavior by setting options.store_comments = False
1015* NEW: ezdxf.new() accepts the AutoCAD release name as DXF version string e.g. ezdxf.new('R12') or R2000, R2004, R2007, ...
1016* NEW: integrated acadctb.py module from my dxfwrite package to read/write AutoCAD .ctb config files; no docs so far
1017* CHANGE: renamed Drawing.groups.add() to new() for consistent name schema for adding new items to tables (public interface)
1018* CHANGE: renamed Drawing.<tablename>.create() to new() for consistent name schema for adding new items to tables,
1019  this applies to all tables: layers, styles, dimstyles, appids, views, viewports, ucs, block_records. (public interface)
1020* CHANGE: renamed Layouts.create() to new() for consistent name schema for adding new items to tables (internal interface)
1021* CHANGE: renamed Drawing.create_layout() to new_layout() for consistent name schema for adding new items (public interface)
1022* CHANGE: renamed factory method <layout>.add_3Dface() to add_3dface()
1023* REMOVED: logging and debugging options
1024* BUGFIX: fixed attribute definition for align_point in DXF entity ATTRIB (AC1015 and newer)
1025* Cleanup DXF template files AC1015 - AC1027, file size goes down from >60kb to ~20kb
1026
1027Version 0.7.3 - 2016-03-06
1028--------------------------
1029
1030* Quick bugfix release, because ezdxf 0.7.2 can damage DXF R12 files when saving!!!
1031* NEW: improved DXF R13/R14 compatibility
1032* BUGFIX: create CLASSES section only for DXF versions newer than R12 (AC1009)
1033* TEST: converted a bunch of R8 (AC1003) files to R12 (AC1009), AutoCAD didn't complain
1034* TEST: converted a bunch of R13 (AC1012) files to R2000 (AC1015), AutoCAD did not complain
1035* TEST: converted a bunch of R14 (AC1014) files to R2000 (AC1015), AutoCAD did not complain
1036
1037Version 0.7.2 - 2016-03-05
1038--------------------------
1039
1040* NEW: reads DXF R13/R14 and saves content as R2000 (AC1015) - experimental feature, because of the lack of test data
1041* NEW: added support for common DXF attribute line weight
1042* NEW: POLYLINE, POLYMESH - added properties is_closed, is_m_closed, is_n_closed
1043* BUGFIX: MeshData.optimize() - corrected wrong vertex optimization
1044* BUGFIX: can open DXF files without existing layout management table
1045* BUGFIX: restore module structure ezdxf.const
1046
1047Version 0.7.1 - 2016-02-21
1048--------------------------
1049
1050* Supported/Tested Python versions: CPython 2.7, 3.4, 3.5, pypy 4.0.1 and pypy3 2.4.0
1051* NEW: read legacy DXF versions older than AC1009 (DXF R12) and saves it as DXF version AC1009.
1052* NEW: added methods is_frozen(), freeze(), thaw() to class Layer()
1053* NEW: full support for DXF entity ELLIPSE (added add_ellipse() method)
1054* NEW: MESH data editor - implemented add_face(vertices), add_edge(vertices), optimize(precision=6) methods
1055* BUGFIX: creating entities on layouts works
1056* BUGFIX: entity ATTRIB - fixed halign attribute definition
1057* CHANGE: POLYLINE (POLYFACE, POLYMESH) - on layer change also change layer of associated VERTEX entities
1058
1059Version 0.7.0 - 2015-11-26
1060--------------------------
1061
1062* Supported Python versions: CPython 2.7, 3.4, pypy 2.6.1 and pypy3 2.4.0
1063* NEW: support for DXF entity HATCH (solid fill, gradient fill and pattern fill), pattern fill with background color supported
1064* NEW: support for DXF entity GROUP
1065* NEW: VIEWPORT entity, but creating new viewports does not work as expected - just for reading purpose.
1066* NEW: support for new common DXF attributes in AC1018 (AutoCAD 2004): true_color, color_name, transparency
1067* NEW: support for new common DXF attributes in AC1021 (AutoCAD 2007): shadow_mode
1068* NEW: extended custom vars interface
1069* NEW: dxf2html - added support for custom properties in the header section
1070* NEW: query() supports case insensitive attribute queries by appending an 'i' to the query string, e.g. '\*[layer=="construction"]i'
1071* NEW: Drawing.cleanup() - call before saving the drawing but only if necessary, the process could take a while.
1072* BUGFIX: query parser couldn't handle attribute names containing '_'
1073* CHANGE: renamed dxf2html to pp (pretty printer), usage: py -m ezdxf.pp yourfile.dxf (generates yourfile.html in the same folder)
1074* CHANGE: cleanup file structure
1075
1076Version 0.6.5 - 2015-02-27
1077--------------------------
1078
1079* BUGFIX: custom properties in header section written after $LASTSAVEDBY tag - the only way AutoCAD accepts custom tags
1080
1081Version 0.6.4 - 2015-02-27
1082--------------------------
1083
1084* NEW: Support for custom properties in the header section - Drawing.header.custom_vars - but so far AutoCAD ignores
1085  new created custom properties by ezdxf- I don't know why.
1086* BUGFIX: wrong DXF subclass for Arc.extrusion (error in DXF Standard)
1087* BUGFIX: added missing support files for dxf2html
1088
1089Version 0.6.3 - 2014-09-10
1090--------------------------
1091
1092* Beta status
1093* BUGFIX: Text.get_pos() - dxf attribute error "alignpoint"
1094
1095Version 0.6.2 - 2014-05-09
1096--------------------------
1097
1098* Beta status
1099* NEW: set ``ezdxf.options.compress_default_chunks = True`` to compress unnecessary Sections (like THUMBNAILIMAGE) in
1100  memory with zlib
1101* NEW: Drawing.compress_binary_data() - compresses binary data (mostly code 310) in memory with zlib or set
1102  ``ezdxf.options.compress_binary_data = True`` to compress binary data of every drawing you open.
1103* NEW: support for MESH entity
1104* NEW: support for BODY, 3DSOLID and REGION entity, you get the ACIS data
1105* CHANGE: Spline() - removed context managers fit_points(), control_points(), knot_values() and weights() and added a
1106  general context_manager edit_data(), similar to Mesh.edit_data() - unified API
1107* CHANGE: MText.buffer() -> MText.edit_data() - unified API (MText.buffer() still exists as alias)
1108* CHANGE: refactored internal structure - only two DXF factories remaining:
1109    - LegacyDXFFactory() for AC1009 (DXF12) drawings
1110    - ModernDXFFactory() for newer DXF versions except DXF13/14.
1111* BUGFIX: LWPolyline.get_rstrip_point() removed also x- and y-coords if zero
1112* BUGFIX: opens DXF12 files without handles again
1113* BUGFIX: opens DXF12 files with HEADER section but without $ACADVER set
1114
1115Version 0.6.1 - 2014-05-02
1116--------------------------
1117
1118* Beta status
1119* NEW: create new layouts - Drawing.create_layout(name, dxfattribs=None)
1120* NEW: delete layouts - Drawing.delete_layout(name)
1121* NEW: delete blocks - Drawing.blocks.delete_block(name)
1122* NEW: read DXF files from zip archives (its slow).
1123* CHANGE: LWPolyline returns always 5-tuples (x, y, start_width, end_width, bulge). start_width, end_width and bulge
1124  is 0 if not present.
1125* NEW: LWPolyline.get_rstrip_points() -> generates points without appending zeros.
1126* NEW: LWPolyline.rstrip_points() -> context manager for points without appending zeros.
1127* BUGFIX: fixed handle creation bug for DXF12 files without handles, a code 5/105 issue
1128* BUGFIX: accept floats as int (thanks to ProE)
1129* BUGFIX: accept entities without owner tag (thanks to ProE)
1130* improved dxf2html; creates a more readable HTML file; usage: python -m ezdxf.dxf2html filename.dxf
1131
1132Version 0.6.0 - 2014-04-25
1133--------------------------
1134
1135* Beta status
1136* Supported Python versions: CPython 2.7, 3.4 and pypy 2.2.1
1137* Refactoring of internal structures
1138* CHANGE: appended entities like VERTEX for POLYLINE and ATTRIB for INSERT are linked to the main entity and do
1139  not appear in layouts, model space or blocks (modelspace.query('VERTEX') is always an empty list).
1140* CHANGE: refactoring of the internal 2D/3D point representation for reduced memory footprint
1141* faster unittests
1142* BUGFIX: opens minimalistic DXF12 files
1143* BUGFIX: support for POLYLINE new (but undocumented) subclass names: AcDbPolyFaceMesh, AcDbPolygonMesh
1144* BUGFIX: support for VERTEX new (but undocumented) subclass names: AcDbFaceRecord, AcDbPolyFaceMeshVertex,
1145  AcDbPolygonMeshVertex, AcDb3dPolylineVertex
1146* CHANGE: Polyline.get_mode() returns new names: AcDb2dPolyline, AcDb3dPolyline, AcDbPolyFaceMesh, AcDbPolygonMesh
1147* CHANGE: separated layout spaces - each layout has its own entity space
1148
1149Version 0.5.2 - 2014-04-15
1150--------------------------
1151
1152* Beta status
1153* Supported Python versions: CPython 2.7, 3.3, 3.4 and pypy 2.2.1
1154* BUGFIX: ATTRIB definition error for AC1015 and later (error in DXF specs)
1155* BUGFIX: entity.dxf_attrib_exists() returned True for unset attribs with defined DXF default values
1156* BUGFIX: layout.delete_entity() didn't delete following data entities for INSERT (ATTRIB) & POLYLINE (VERTEX)
1157* NEW: delete all entities from layout/block/entities section
1158* cleanup DXF template files
1159
1160Version 0.5.1 - 2014-04-14
1161--------------------------
1162
1163* Beta status
1164* Supported Python versions: CPython 2.7, 3.3, 3.4 and pypy 2.2.1
1165* BUGFIX: restore Python 2 compatibility (has no list.clear() method);
1166  test launcher did not run tests in sub-folders, because of missing
1167  __init__.py files
1168
1169Version 0.5.0 - 2014-04-13
1170--------------------------
1171
1172* Beta status
1173* BUGFIX: Drawing.get_layout_setter() - did not work with entities without DXF attribute *paperspace*
1174* NEW: default values for DXF attributes as defined in the DXF standard, this allows usage of optional DXF attributes
1175  (with defined default values) without check of presence, like *entity.dxf.paperspace*.
1176* NEW: DXF entities SHAPE, RAY, XLINE, SPLINE
1177* NEW: delete entities from layout/block
1178* CHANGE: entity 3DFACE requires 3D coordinates (created by add_3Dface())
1179* CHANGE: LWPolyline all methods return points as (x, y, [start_width, [end_width, [bulge]]]) tuples
1180* updated docs
1181
1182Version 0.4.2 - 2014-04-02
1183--------------------------
1184
1185* Beta status
1186* Supported Python versions: CPython 2.7, 3.3, 3.4 and pypy 2.1
1187* NEW: DXF entities LWPOLYLINE, MTEXT
1188* NEW: convenience methods place(), grid(), get_attrib_text() and has_attrib() for the Insert entity
1189* CHANGE: pyparsing as external dependency
1190* BUGFIX: iteration over drawing.entities yields full functional entities (correct layout attribute)
1191* BUGFIX: install error with pip and missing DXF template files of versions 0.4.0 & 0.4.1
1192
1193Version 0.3.0 - 2013-07-20
1194--------------------------
1195
1196* Alpha status
1197* Supported Python versions: CPython 2.7, 3.3 and pypy 2.0
1198* NEW: Entity Query Language
1199* NEW: Import data from other DXF files
1200* CHANGE: License changed to MIT License
1201
1202Version 0.1.0 - 2010-03-14
1203--------------------------
1204
1205* Alpha status
1206* Initial release
1207